[MEncoder-users] How to transcode a .asf to .mpg?
Nico Sabbi
nsabbi at tiscali.it
Sat May 21 09:37:46 CEST 2005
Bo Xie wrote:
>Hi,
>
> I have a .asf file (uploaded in
>ftp://ftp.mplayerhq.hu/MPlayer/incoming/FFMPEG_SS_SEEK_FAILED.asf) and
>want to transcode it to .mpg. Following is log:
>---------
>1.download latest cvs (MPlayer-20050521) and compile it by mingw.
>2.mencoder c:\a.asf -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg1video
>-of mpeg -mpegopts format=mpeg1 -ofps 24
>MEncoder dev-CVS-050521-14:34-3.2.3 (C) 2000-2005 MPlayer Team
>CPU: Intel (Family: 6, Stepping: 6)
>Detected cache-line size is 64 bytes
>CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
>Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>
>File not found: 'frameno.avi'
>Failed to open frameno.avi
>success: format: 0 data: 0x0 - 0x71dbd9f
>ASF file format detected.
>VIDEO: [MP43] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
>[V] filefmt:6 fourcc:0x3334504D size:320x240 fps:1000.00 ftime:=0.0010
>==========================================================================
>Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4005->88200)
>Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
>==========================================================================
>PACKET SIZE: 2048 bytes
>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: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
>==========================================================================
>MP3 audio selected
>Building audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le...
>Writing AVI header...
>Limiting audio preload to 0.4s
>Increasing audio density to 4
>AUDIO FRAME SIZE: 626, CODEC: 55, DELTA_PTS: 2403840 (-2859954570814199700000000
>00000000000000000000000000000000000000000000000000000000000000000000000000000000
>0000000000000000000000000000000000000000000.000)
>VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
>VDec: using Planar YV12 as output csp (no 0)
>Movie-Aspect is undefined - no prescaling applied.
>videocodec: libavcodec (320x240 fourcc=3167706d [mpg1])
>Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 0mb A-V:0.007 [0:0]
>1 duplicate frame(s)!
>Pos: 0.2s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.010 [0:0]
>2 duplicate frame(s)!
>Pos: 0.3s 4f ( 0%) 0fps Trem: 0min 0mb A-V:0.020 [0:0]
>1 duplicate frame(s)!
>Pos: 0.4s 6f ( 0%) 0fps Trem: 0min 0mb A-V:0.040 [0:0]
>Skipping frame!
>Pos: 0.6s 11f ( 0%) 0fps Trem: 0min 0mb A-V:0.038 [0:0]
>9 duplicate frame(s)!
>Pos: 1.0s 13f ( 0%) 0fps Trem: 0min 0mb A-V:0.065 [66:127]
>8 duplicate frame(s)!
>Pos: 1.9s 26f ( 0%) 0fps Trem: 0min 0mb A-V:0.086 [135:127]
>Skipping frame!
>Pos: 1.9s 27f ( 0%) 0fps Trem: 0min 0mb A-V:0.048 [135:127]
>Skipping frame!
>Pos: 2.1s 32f ( 0%) 0fps Trem: 0min 0mb A-V:0.064 [162:127]
>Skipping frame!
>Pos: 2.3s 37f ( 0%) 0fps Trem: 0min 0mb A-V:0.081 [183:127]
>...
>Pos: 202.7s 5400f ( 5%) 170fps Trem: 9min 107mb A-V:-0.021 [167:127]
>Skipping frame!
>Pos: 202.7s 5401f ( 5%) 170fps Trem: 9min 107mb A-V:-0.017 [167:127]
>---------
> The .asf file's time length is 01:02:11 but mencoder can only
>transcode 202.7s, then pops up a error message saying mencoder.exe has
>error and will be closed. I don't know why. Would you give me some
>suggestions?
>
> Thank you!
>
>Best Regards,
>Xie Bo
>
>
please, run mencoder in gdb (after having compiled mencoder with debug
symbols in) and when
mencoder faults post the backtrace (the output of bt).
More information about the MEncoder-users
mailing list