[mythtv] mythmkmovie frames per second.
Martin Moeller
martin at martinm-76.dk
Mon May 5 18:10:49 EDT 2003
Not only did Netscape mail blow up on me, I forgot to configure webmail
correctly.. Grr.. Well, the message I meant to send follows:
Well, Netscape mail blew up on me, so I'll keep it short this time.
Here are the data requested, crossreferenced with -ovc copy -oac copy:
martin at monsterpc:/Multimedia/TV> mencoder -ovc lavc -lavcopts vcodec=mpeg4:
vhq:vbitrate=1500 -oac mp3lame -lameopts cbr:cbr=128:padding=0 -ss 0 -endpos
0.1 -o testing.avi 11_20030430014000_20030430020500.nuv
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MEncoder 0.90rc5-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /home/martin/.mplayer/codecs.conf: can't open '/home/martin/.
mplayer/codecs.conf': Ingen sådan fil eller filkatalog
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/martin/.mplayer/mencoder: Ingen sådan fil eller
filkatalog
success: format: 0 data: 0x0 - 0xC28D3E1
NuppelVideo file format detected.
Detected MythTV stream, reading extended format information
FOURCC: XVID
[V] filefmt:13 fourcc:0x58564944 size:384x288 fps:25,00 ftime:=0,0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Writing AVI header...
This file was encoded with libavcodec build 4666
VDec: vo config request - 384 x 288 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (384x288 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos: 0,0s 1f ( 0%) 0fps Trem: 2min 18mb A-V:0,000 [0:0]
CBR audio: 16000 bytes/sec, 418 bytes/block
Writing AVI index...
Fixing AVI header...
Video stream: 3678,200 kbit/s (459775 bps) size: 18391 bytes 0,040 secs 1
frames
Audio stream: 127,997 kbit/s (15999 bps) size: 8359 bytes 0,522 secs
martin at monsterpc:/Multimedia/TV> ls -lh testing.avi
-rw-r--r-- 1 martin users 29K 2003-05-05 08:05 testing.avi
martin at monsterpc:/Multimedia/TV> mencoder -ovc copy -oac copy -ss 0 -endpos 0.
1 -o testing2.avi 11_20030430014000_20030430020500.nuv
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MEncoder 0.90rc5-3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Reading /home/martin/.mplayer/codecs.conf: can't open '/home/martin/.
mplayer/codecs.conf': Ingen sådan fil eller filkatalog
Reading /etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/martin/.mplayer/mencoder: Ingen sådan fil eller
filkatalog
success: format: 0 data: 0x0 - 0xC28D3E1
NuppelVideo file format detected.
Detected MythTV stream, reading extended format information
FOURCC: XVID
[V] filefmt:13 fourcc:0x58564944 size:384x288 fps:25,00 ftime:=0,0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
videocodec: framecopy (384x288 24bpp fourcc=58564944)
audiocodec: framecopy (format=55 chans=2 rate=44100 bits=16 bps=16036
sample=4)
Writing AVI header...
Pos: 0,0s 1f ( 0%) 0fps Trem: 0min 13mb A-V:0,000 [0:0]
Writing AVI index...
Fixing AVI header...
Video stream: 2060,400 kbit/s (257550 bps) size: 10302 bytes 0,040 secs 1
frames
Audio stream: 128,288 kbit/s (16036 bps) size: 16032 bytes 1,000 secs
martin at monsterpc:/Multimedia/TV> ls -lh testing2.avi
-rw-r--r-- 1 martin users 28K 2003-05-05 08:12 testing2.avi
--
Open WebMail Project (http://openwebmail.org)
---------- Original Message -----------
From: "Michael J. Pedersen" <michael.j.pedersen at verizon.net>
To: Development of mythtv <mythtv-dev at snowman.net>
Sent: Sun, 4 May 2003 22:56:03 -0400
Subject: Re: [mythtv] mythmkmovie frames per second.
> On Mon, May 05, 2003 at 12:25:03AM +0200, Martin Moeller wrote:
> > Hi Michael and others,
> >
> > The latest mythmkmovie is pretty great, but I currently have to make
> > changes to it to get the correct cutlist:
> >
> > I think in most European countries the recorded files are 25 fps (mine
> > certainly are), so could you make this an option? Perhaps a binary
> > toggle (29.97/25) if no other framerates are reported..?
>
> This is a weakness that I knew of, and didn't address properly. Thank
> you for pointing it out to me again, I'm adding it as a higher priority
> to-do item, since (to me) it's a bug.
>
> One thing I will ask of you, if you don't mind? Pick a recording (any
> recording), and give me the output of the following command:
>
> mencoder -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1500 -oac mp3lame
> -lameopts cbr:cbr=128:padding=0 -ss 0 -endpos 0.1 -o testing.avi
> recordingfilename.nuv
>
> I've found (what I feel) is a bug, either in mencoder or in the encoder
> for MythTV which actually gives extra data. I need to adjust genBFrames
> to account for PAL framerates.
>
> > I also usually make a mkcopy file where I take out most of your hard
> > work with optimiziing the files because the files end up *larger* than
> > my previous MPEG4 files (even after cutlist removals) and thus cannot
> > fit onto CD at all.. It seems to work pretty well with a few nags from
> > mplayer (I don't plan on using them with any other player).
>
> My bet on this is that it's turning the 25fps from PAL into the 29.97
> for NTSC, and thus growing the files. Fixing for PAL should fix this
> problem.
>
> > It's simply '-ovc copy -oac copy' in stead. It works for me (and much
> > better in 0.7 than the last version I tried, one of the very first
> > ones). The Curses interface is functional, but a bit of polish/colours
> > might be nice. Not a priority, of course :)
> > Perhaps you would output the output named below the other information of
> > the recording in question? Again, not super important, but I'm sure the
> > less poweruserlike would prefer more feedback than 'O'.
>
> I can definitely do that. My sole concern for it, though, is that the
> screen is starting to get a bit full. Any suggestions on things I can
> remove to allow for the output filename (mind you, I agree with putting
> it in, I just need to shrink things a bit, somehow).
>
> As for the colors: I've never given that much though. And I'm not
> sure what I could do to improve things there. Simple monochrome
> seems almost best for this particular script.
>
> And yes, 0.7 is much better. If I were to show you what I actually
> started this whole script with, you wouldn't believe the changes.
> Basically, my original script was a set of mencoder command lines to
> test out the question: Can this script be written? And would it be
> useful (even to me)? The current revision came from about 4 lines of
> mencoder commands stuck in a scripted file.
>
> > Any particular reason than special characters like ' []{}' cannot be
> > used, even if escaped? Convenience codewise?
>
> Well, as to the why: The actual reason? My pattern was meant to include
> simple, standard filesystem legal names. Adding in any non-normal
> characters would easily create some ugly commands being executed by
> perl, and I don't know that they would work, not without some extra
> work.
>
> Perhaps someday I'll revisit that, but for now, unless somebody
> sends in a patch to allow it, I'm going to leave it as is. It keeps things
> simpler.
>
> > That's it from me for now. Great work so far ;)
>
> Thank you very much. Glad to have something people can use out there
> :)
>
> --
> Michael J. Pedersen
> My GnuPG KeyID: 4E724A60 My Public Key Available At: wwwkeys.pgp.net
> My GnuPG Key Fingerprint: C31C 7E90 5992 9E5E 9A02 233D D8DD 985E
> 4E72 4A60 GnuPG available at http://www.gnupg.org/
------- End of Original Message -------
More information about the mythtv-dev
mailing list