[MEncoder-users] problem with low fps cell phone video

Nitin Jain nitinj1981 at gmail.com
Fri Apr 21 14:04:59 CEST 2006


Ummh.... guess you can't use lame to encode (-oac mp3lame, I mean)
here... that's because, the input to lame does not come as either raw
pcm or wav, in this case
I'd a similar problem once, but mine was an audio-only file (in mov
format, of course)...
You can dump audio separately, using mplayer with -dumpaudio and
-dumpfile... then lame to encode the pcm and then use some kind of
mux-ing capabilities of mencoder...(assuming it has any... sorry but
am kind of still learning about it)...
Ugh... but then for av sync, you would need timestamps... hmm, maybe
some veteran can throw some light on this! :)

-nj

On 4/19/06, Jon Drukman <jsd at cluttered.com> wrote:
> a friend gave me a video from his cell phone, here's what -identify says
> about it:
>
> MPlayer 1.0pre7try2-3.4.3 (C) 2000-2005 MPlayer Team
> CPU: Advanced Micro Devices Opteron Sledgehammer (Family: 8, Stepping: 1)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
>
> Playing 805522797_ORIG.mov.
> QuickTime/MOV file format detected.
> --------------
> MOV track #0: 5 chunks, 54 samples
> ID_VIDEO_ID=0
> MOV: Found MPEG4 movie Elementary Stream Descriptor atom (77)!
> Image size: 320 x 240 (24 bpp)
> Display size: 320 x 240
> Fourcc: mp4v  Codec: ''
> --------------
> MOV track #1: 5 chunks, 0 samples
> ID_AUDIO_ID=1
> MOV: unable to determine audio samplerate, assuming 44.1kHz (got 5512)
> Audio bits: 16  chans: 1  rate: 44100
> Fourcc: sowt
> --------------
> MOV: longest streams: A: #1 (5 samples)  V: #0 (54 samples)
> VIDEO:  [mp4v]  320x240  24bpp  2.732 fps    0.0 kbps ( 0.0 kbyte/s)
> ID_FILENAME=805522797_ORIG.mov
> ID_VIDEO_FORMAT=mp4v
> ID_VIDEO_BITRATE=0
> ID_VIDEO_WIDTH=320
> ID_VIDEO_HEIGHT=240
> ID_VIDEO_FPS=2.732
> ID_VIDEO_ASPECT=0.0000
> ID_LENGTH=5
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> Audio: no sound
> Starting playback...
> VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [null] 320x240 => 320x240 Planar YV12
>
>
> i need to convert this, ultimately to flv, but right now i'm just doing
> avi to keep things simple.  here's the command line:
>
> /opt/mplayer64/mencoder 805522797_ORIG.mov -o treo.avi -oac mp3lame -ovc
> lavc
>
> the resulting file video plays ok, but the audio is a high speed blur
> that ends almost immediately.  probably related to this, output at the
> end of the mencoder process:
>
> Video stream:  217.510 kbit/s  (27188 B/s)  size: 139315 bytes  5.124
> secs  54 frames
>
> Audio stream:  133.609 kbit/s  (16701 B/s)  size: 9598 bytes  0.575 secs
>
> i notice audio 0.575 secs, which sounds about right.  i've tried setting
> -ofps, using combos of -mc 0 and -noskip, -srate, but nothing seems to
> get the audio to play properly.  what am i missing?
>
> thanks
> -jsd-
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
>




More information about the MEncoder-users mailing list