[MEncoder-users] No video problem with Mencoder
Henry Narh
henry.narh at value7media.com
Wed Oct 28 09:11:16 CET 2009
Hi all,
I'm trying to convert videos to flv using mencoder but I keep getting a
video file with sound but no video. I'm a newbie with mencoder so not sure
if it's to do with my command options. I'm using mencoder svn r29355 and
running on windows xp.
Here's my command to create a 5 sec flv video ripped from a dvd using vp6
encoder.
mencoder -dvd-device S:\ -chapter 10-10 dvd://1 -of lavf -oac
mp3lame -lameopts abr:br=56 -srate 22050 -ovc vfw -xvfwopts
codec=vp6vfw.dll:compdata=onepass.mcf -ofps 25 -vf
harddup,flip,scale=500:280 -mc 0 -noskip -endpos 5 -o test.flv
Output:
MEncoder Sherpya-SVN-r29355-4.5.0 (C) 2000-2009 MPlayer Team
There are 2 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: lpcm (stereo) language: aid: 160.
number of audio channels on disk: 1.
number of subtitles on disk: 0
success: format: 2 data: 0x0 - 0xb51f8800
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7500.0 kbps (937.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [dvdpcm] Uncompressed DVD/VOB LPCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16be, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dvdpcm] afm: dvdpcm (Uncompressed DVD/VOB LPCM)
==========================================================================
OK, exit.
Loading codec DLL: 'vp6vfw.dll'
Loaded DLL driver vp6vfw.dll at 10000000
HIC: 1b6a9e0
568 - 568 - 568
Compressor type: 63646976
Compressor subtype: 32365056
Compressor flags: 40, version 65536, ICM version: 260
Flags:
ICSetState ret: 2056
ICCompressGetFormatSize ret: 40
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=500 h=280]
Opening video filter: [flip]
Opening video filter: [harddup]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
MP3 audio selected.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Opening video filter: [flip]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 00DF6D14]BICUBIC scaler, from yuv420p to bgr24 using MMX2
Opening video filter: [expand]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 0.000000, round: 1
Starting compression:
Input format:
biSize 40
biWidth 500
biHeight 280
biPlanes 1
biBitCount 24
biCompression 0x0 ('')
biSizeImage 420000
Output format:
biSize 40
biWidth 500
biHeight 280
biPlanes 1
biBitCount 24
biCompression 0x32365056 ('VP62')
biSizeImage 284096
Output format after query/begin:
biSize 40
biWidth 500
biHeight 280
biPlanes 1
biBitCount 24
biCompression 0x32365056 ('VP62')
biSizeImage 284096
Pos: 0.0s 1f (74%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
VIDEO CODEC ID: 94
AUDIO CODEC ID: 15001, TAG: 0
Writing header...
[flv @ 00D3A818]Codec for stream 0 does not use global headers but container
for
mat requires global headers
[flv @ 00D3A818]Codec for stream 1 does not use global headers but container
for
mat requires global headers
Pos: 5.0s 127f (74%) 17.78fps Trem: 0min 0mb A-V:0.000 [552:58]
Flushing video frames.
Writing index...
Video stream: 552.256 kbit/s (69031 B/s) size: 347921 bytes 5.040 secs
127
frames
Audio stream: 58.007 kbit/s (7250 B/s) size: 36367 bytes 5.016 secs
I've also tried converting a mov file and x264 codec but same result. The
funny thing is this did work at one time but the results were rubbish so I
was going to come back to it. Now every time I try I get no video. Anyone
have any ideas cause' its driving me crazy.
Many thanks
Henry
More information about the MEncoder-users
mailing list