[MPlayer-users] encode to dvd useing nicos patch produce null size mpeg file!

Nico Sabbi nsabbi at tiscali.it
Wed Dec 8 20:51:32 CET 2004


Heine Laursen wrote:

> Hi.
>
> I'm trying to make a dvd valid mpeg file from an avifile encoded with 
> xvid video and ac3 sound.
>
> I'm running mencoder like this:
> ~/cvsmplayer/main/mencoder -noskip -of mpeg -mpegopts format=dvd -ovc 
> lavc -oac copy -lavcopts vcodec=mpeg2video:vbitrate=3968 -o cd1.mpeg 
> xvid.avi > log 2>&1
>
> and get the following output:
> MEncoder dev-CVS-041206-00:28-3.3.4 (C) 2000-2004 MPlayer Team
> CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, 
> Stepping: 0)
> Detected cache-line size is 64 bytes
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
>
> File not found: 'frameno.avi'
> Failed to open frameno.avi
> success: format: 0  data: 0x0 - 0x2bc06000
> AVI file format detected.
> VIDEO:  [XVID]  416x320  12bpp  25,000 fps  1107,8 kbps (135,2 kbyte/s)
> [V] filefmt:3  fourcc:0x44495658  size:416x320  fps:25,00  ftime:=0,0400
> INITIAL A/V DELAY: 0,000
> Opening video filter: [expand osd=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)
> ========================================================================== 
>
> audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=0 bps=56000 
> sample-1)
> Writing AVI header...
> Increasing audio density to 4
> VDec: vo config request - 416 x 320 (preferred csp: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1,30:1 - prescaling to correct movie aspect.
> videocodec: libavcodec (416x320 fourcc=3267706d [mpg2])
> Pos:   0,0s      4f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,008 [0:0]
> Pos:   0,0s      8f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,024 [0:0]
> Pos:   0,0s     11f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,040 [0:0]
> Pos:   0,0s     15f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,052 [0:0]
> Pos:   0,0s     19f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,068 [0:0]
> Pos:   0,0s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 0]
> 1 duplicate frame(s)!
> Pos:   0,0s     26f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s     30f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s     32f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s     36f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s     40f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s     42f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s     46f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s     50f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s     52f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s     56f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s     60f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s     62f ( 0%)   0fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1
>
> <cut lots os the same as abow!>
>
> 1 duplicate frame(s)!
> Pos:   0,0s  93896f (99%) 138fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s  93900f (99%) 138fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s  93902f (99%) 138fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s  93906f (99%) 138fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s  93910f (99%) 138fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s  93912f (99%) 138fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s  93916f (99%) 138fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s  93920f (99%) 138fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s  93922f (99%) 138fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s  93926f (99%) 138fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s  93930f (99%) 138fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Pos:   0,0s  93932f (99%) 138fps Trem:   0min   0mb  A-V:-0,084 [0:0]
> 1 duplicate frame(s)!
> Pos:   0,0s  93936f (99%) 138fps Trem:   0min   0mb  A-V:-0,056 [0:0]
> Pos:   0,0s  93939f (99%) 138fps Trem:   0min   0mb  A-V:-0,072 [0:0]
> Flushing video frames
>
> Writing AVI index...
>
> Overhead: nan% (0 / 0)
> Fixing AVI header...
>
> Video stream:      nan kbit/s  (-2147483648 bps)  size: 0 bytes  0,000 
> secs  93939 frames
>
> Audio stream:      nan kbit/s  (-2147483648 bps)  size: 0 bytes  0,000 
> secs
>
>
> And then the file is empty!
> du cd1.mpeg
> 0       cd1.mpeg
>
> Is it just me who are douing somthing stupid, ore what's going on?
>
> Sincerley
> Heine Laursen


not you,  *I* did something stupid.
The correct patch is attached, but obviously you have to reverse the 
previous one with
patch -R -p0 < muxer.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: muxer2.diff
Type: text/x-patch
Size: 72328 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20041208/1fe64ce1/attachment.bin>


More information about the MPlayer-users mailing list