[MEncoder-users] file information
Tobias Brockamp
tobiasbrockamp at gmx.de
Wed Mar 28 18:13:58 CEST 2007
Am 28.03.2007 um 12:58 schrieb Nico Sabbi:
> Tobias Brockamp wrote:
>
>> Hi,
>>
>> how can i can get information from a videofile with mencoder. I
>> need infos about the length from
>> the video- and audiostream.
>
>
> -identify, but it's not always accurate
Hmm, -identtify only works with mplayer not mencoder, and the infos
does not contain the info i need.
When encoding a file with mencoder, the last two lines shows up infos
about the video- and audiostream
(see below marked red). how can i get this info without making an
encode?
tobias-macbook-pro:~ macbook$ ./mencoder 264_4.avi -ovc xvid -oac
mp3lame -xvidencopts bitrate=300 -mc 0 -ofps 25 -o _mencoder_info_02.avi
MEncoder dev-CVS-060307-04:23-4.0.1 (C) 2000-2006 MPlayer Team
Mac OSX static build for ffmpegX
CPU: Intel (Family: 6, Stepping: 8)
FIXME:Hardenabling SSE and SSE2 without detection
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
success: format: 0 data: 0x0 - 0x1d08c
AVI file format detected.
VIDEO: [XVID] 320x240 24bpp 25.000 fps 91.3 kbps (11.1 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:320x240 fps:25.00 ftime:=0.0400
========================================================================
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 80.0 kbit/5.67% (ratio: 10000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
========================================================================
==
xvid: using library version 1.2.-127 (build xvid-1.2.0-dev)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
========================================================================
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
========================================================================
==
MP3 audio selected
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: XviD (320x240 fourcc=44495658 [XVID])
xvid: par=0/0 (vga11), displayed=320x240, sampled=320x240
xvid: CBR Rate Control -- bitrate=300kbit/s
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.026s
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.026s
Pos: 4.7s 120f (104%) 0.00fps Trem: 0min 0mb A-V:0.000
[75:132]
Flushing video frames
Writing index...
Writing header...
ODML: vprp aspect is 4:3.
Setting audio delay to 0.026s
Video stream: 74.545 kbit/s (9318 B/s) size: 44727 bytes 4.800
secs 120 frames
Audio stream: 132.870 kbit/s (16608 B/s) size: 75492 bytes 4.545
secs
> --
> Email.it, the professional e-mail, gratis per te: http://
> www.email.it/f
> Sponsor:
> Vuoi fare business con la Cina? Videocorso pratico con utili
> suggerimenti per chi vuole fare import-export con la Cina
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6201&d=28-3
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
More information about the MEncoder-users
mailing list