Date: Sat, 16 Jan 2010 11:13:34 -0800 (PST) From: Neil Short <neshort@yahoo.com> To: freebsd-questions@freebsd.org Subject: need a Mencoder expert Message-ID: <267304.99050.qm@web56508.mail.re3.yahoo.com>
next in thread | raw e-mail | index | archive | help
I have a VOB file that I need to convert to something playable on a Sony Walkman NWZ-E344. The walkman wants an ASF container, resolution of 320x240 (or less), wmv9 codec, wma 2 codec, 30 frames per second, video bitrate of less than or equal to 768k. I cannot seem to get a mencoder (nor ffmpeg) encoding line to work. Here's some data on a video that works: $ ffmpeg -i Butterfly.wmv .... [wmv3 @ 0x29707c10]Extra data: 8 bits left, value: 0 Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001) Input #0, asf, from 'Butterfly.wmv': Duration: 00:00:08.21, start: 5.000000, bitrate: 1126 kb/s Stream #0.0: Audio: wmav2, 44100 Hz, stereo, s16, 96 kb/s Stream #0.1: Video: wmv3, yuv420p, 320x208, 768 kb/s, 29.97 tbr, 1k tbn, 1k tbc mplayer -identify Butterfly.wmv .... Playing Butterfly.wmv. ASF file format detected. ID_AUDIO_ID=1 [asfheader] Audio stream found, -aid 1 ID_VIDEO_ID=2 [asfheader] Video stream found, -vid 2 VIDEO: [WMV3] 320x208 24bpp 1000.000 fps 768.0 kbps (93.8 kbyte/s) ID_FILENAME=Butterfly.wmv ID_DEMUXER=asf ID_VIDEO_FORMAT=WMV3 ID_VIDEO_BITRATE=768000 ID_VIDEO_WIDTH=320 ID_VIDEO_HEIGHT=208 ID_VIDEO_FPS=1000.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=353 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_LENGTH=15.00 Opening video filter: [screenshot=yes] ========================================================================== Requested video codec family [wmv9dmo] (vfm=dmo) not available. Enable it at compilation. Requested video codec family [wmvdmo] (vfm=dmo) not available. Enable it at compilation. Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [wmv3 @ 0x882b6f0]Extra data: 8 bits left, value: 0 Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9) ========================================================================== ID_VIDEO_CODEC=ffwmv3 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.81% (ratio: 12005->176400) ID_AUDIO_BITRATE=96040 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=ffwmav2 Starting playback... VDec: vo config request - 320 x 208 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. [swscaler @ 0x8827710]SwScaler: using unscaled yuv420p -> bgr24 special converter VO: [xv] 320x208 => 320x208 Planar YV12 New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. .... ====== "What did you do?" the man holding the flashlight asked. "I put down a spider," he said, wondering why the man didn't see; in the beam of yellow light the spider bloated up larger than life. "So it could get away."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?267304.99050.qm>