[MPlayer-users] MP4 files sreenshot failed with rc2(not present in rc1)

wen linfu linfuwen at live.com
Thu Oct 18 05:26:16 CEST 2007


 
 It seems that mplayer can't take srceenshots correctly with MP4 files. Pictures are always empty (completly black or partly black). My mplayer's 
version: MPlayer 1.0rc2-3.2, using following command line:mplayer -msglevel all=6 -ao null  -vo jpeg:outdir=$dir -ss 00:00:01 -sstep 5 -frames 20 $1  But rc1 will take sreenshot with MP4  without any problems using the some command line.   
message from rc2 as follow:
MPlayer 1.0rc2-3.2 (C) 2000-2007 MPlayer TeamCPU: Intel(R) Xeon(TM) CPU 3.00GHz (Family: 15, Model: 4, Stepping: 3)CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
''''''''''''''''''''''''
Playing mp4/zhuzhige.mp4.get_path('sub/') -> '/home/forum/.mplayer/sub/'[file] File size is 5561484 bytesSTREAM: [file] mp4/zhuzhige.mp4STREAM: Description: FileSTREAM: Author: AlbeuSTREAM: Comment: based on the code from ??? (probably Arpi)LAVF_check: QuickTime/MPEG4/Motion JPEG 2000 formatChecking for YUV4MPEG2ASF_check: not ASF guid!Checking for NuppelVideoChecking for REALChecking for SMJPEGSearching demuxer type for filename mp4/zhuzhige.mp4 ext: .mp4Trying demuxer 7 based on filename extensionChecking for MOVISO: File Type Major Brand: ISO Base MediaISO: File Type Minor Version: 512ISO: File Type Compatible Brand #0: mp41MOV: Movie DATA found!MOV: Movie header found!Quicktime/MOV file format detected.MOV: Movie header (100 bytes): tscale=90000  dur=17789220--------------MOV: Track #0:MOV:  Track header!tkhd len=84 ver=0 flags=0x0 id=1 dur=17789220 lay=0 vol=0MOV:  Media stream!MOV:   Media header!MOV:   Handler header: /vide () VideoHandlerMOV: unknown handler class: 0x0 ()MOV:   Media info!MOV:    Video header!MOV: unknown chunk: dinf 28MOV:    Sample info!MOV:     Description list! (cnt:1)MOV:      desc #0: mp4v  (137 bytes)MOV:     Sample duration table! (1 blocks)MOV:     Syncing samples (keyframes) table! (414 entries) (ver:0,flags:0)MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)MOV:     Sample size table! (entries=4740 ss=0) (ver:0,flags:0)MOV:     Chunk offset table! (4740 chunks)MOV track #0: 4740 chunks, 4740 samplespts=17789220  scale=90000  time=197.658==> Found video stream: 0[mov] Video stream found, -vid 0MOV: Found MPEG4 movie Elementary Stream Descriptor atom (67)!ESDS MPEG4 version: 0  flags: 0x000000ESDS MPEG4 ES Descriptor (53Bytes): -> ESId: 1 -> streamPriority: 0ESDS MPEG4 Decoder Config Descriptor (45Bytes): -> objectTypeId: 32 -> streamType: 0x11 -> bufferSizeDB: 0x000000 -> maxBitrate: 128.000kbit/s -> avgBitrate: 128.000kbit/sESDS MPEG4 Decoder Specific Descriptor (30Bytes)ESDS MPEG4 Sync Layer Config Descriptor (1Bytes) -> predefined: 2Image size: 160 x 120 (24 bpp)Display size: 160 x 120Fourcc: mp4v  Codec: 'xvid'--------------MOV: Track #1:MOV:  Track header!tkhd len=84 ver=0 flags=0x0 id=2 dur=17719680 lay=0 vol=256MOV:  Media stream!MOV:   Media header!MOV:   Handler header: /soun () SoundHandlerMOV: unknown handler class: 0x0 ()MOV:   Media info!MOV:    Sound header!MOV: unknown chunk: dinf 28MOV:    Sample info!MOV:     Description list! (cnt:1)MOV:      desc #0: mp4a  (59 bytes)MOV:     Sample duration table! (1 blocks)MOV:     Sample->Chunk mapping table!  (1 blocks) (ver:0,flags:0)MOV:     Sample size table! (entries=9229 ss=0) (ver:0,flags:0)MOV:     Chunk offset table! (9229 chunks)MOV track #1: 9229 chunks, 9229 samplespts=9450496  scale=48000  time=196.885==> Found audio stream: 1[mov] Audio stream found, -aid 1Audio bits: 16  chans: 2  rate: 48000MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!ESDS MPEG4 version: 0  flags: 0x000000ESDS MPEG4 ES Descriptor (25Bytes): -> ESId: 2 -> streamPriority: 0ESDS MPEG4 Decoder Config Descriptor (17Bytes): -> objectTypeId: 64 -> streamType: 0x15 -> bufferSizeDB: 0x000000 -> maxBitrate: 64.000kbit/s -> avgBitrate: 64.000kbit/sESDS MPEG4 Decoder Specific Descriptor (2Bytes)ESDS MPEG4 Sync Layer Config Descriptor (1Bytes) -> predefined: 2Fourcc: mp4a--------------Quicktime Clip Info: Requirements: QuickTime 6.0 or greaterMOV: longest streams: A: #1 (9229 samples)  V: #0 (4740 samples)VIDEO:  [mp4v]  160x120  24bpp  23.981 fps    0.0 kbps ( 0.0 kbyte/s)[V] filefmt:7  fourcc:0x7634706D  size:160x120  fps:23.98  ftime:=0.0417get_path('sub/') -> '/home/forum/.mplayer/sub/'jpeg: Parsing suboptions.jpeg: Progressive JPEG disabled.jpeg: Baseline JPEG enabled.jpeg: optimize --> 100jpeg: smooth --> 0jpeg: quality --> 75jpeg: dpi --> 72jpeg: outdir --> /home/forum/wenlf/jpeg/mp4/zhuzhigejpeg: Suboptions parsed OK.==========================================================================Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec familyINFO: libavcodec init OK!Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)====================================================================================================================================================Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)dec_audio: Allocating 4608 bytes for input buffer.dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.FAAD: Decoder init done (0Bytes)!FAAD: Negotiated samplerate: 48000Hz  channels: 2FAAD: got 64kbit/s bitrate from MP4 header!AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8000->192000)Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)==========================================================================Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...[libaf] Adding filter dummy [dummy] Was reinitialized: 48000Hz/2ch/s16le[dummy] Was reinitialized: 48000Hz/2ch/s16leAO: [null] 48000Hz 2ch s16le (2 bytes per sample)AO: Description: Null audio outputAO: Author: Tobias Diedrich <ranma+mplayer at tdiedrich.de>Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...[dummy] Was reinitialized: 48000Hz/2ch/s16le[dummy] Was reinitialized: 48000Hz/2ch/s16leStarting playback...[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 9 bits ;)[mpeg4 @ 0x887cd94]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag[ffmpeg] aspect_ratio: 0.000000VDec: vo config request - 160 x 120 (preferred colorspace: Planar YV12)Trying filter chain: voCould not find matching colorspace - retrying with -vf scale...Opening video filter: [scale]SwScale params: -1 x -1 (-1=no scaling)Trying filter chain: scale voVDec: using Planar YV12 as output csp (no 0)Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.VO Config (160x120->160x120,flags=0,'MPlayer',0x32315659)[swscaler @ 0x8878630]No accelerated colorspace conversion found[swscaler @ 0x8878630]SwScaler: using unscaled yuv420p -> rgb24 special converterREQ: flags=0x3  req=0x0  VO: [jpeg] 160x120 => 160x120 RGB 24-bit VO: Description: JPEG fileVO: Author: Zoltan Ponekker (pontscho at makacs.poliod.hu)jpeg: /home/forum/wenlf/jpeg/mp4/zhuzhige - Output directory already exists and is writable.*** [vo] Allocating mp_image_t, 160x120x24bpp RGB packed, 57600 bytes*** [scale] Allocating (slices) mp_image_t, 160x128x12bpp YUV planar, 30720 bytes[mpeg4 @ 0x887cd94]Error at MB: 0[mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 7 bits ;)[mpeg4 @ 0x887cd94]Error, header damaged or not MPEG4 header (qscale=0)[mpeg4 @ 0x887cd94]header damagedError while decoding frame![mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 6 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 1 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 3 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 2 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 3 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 2 bits ;)*** [scale] Allocating (slices) mp_image_t, 160x128x12bpp YUV planar, 30720 bytes[mpeg4 @ 0x887cd94]I cbpy damaged at 4 0[mpeg4 @ 0x887cd94]Error at MB: 4[mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 1 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 3 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 2 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 1 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 2 bits ;)[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 3 bits ;)[mpeg4 @ 0x887cd94]Error at MB: 18 0.006  26/ 26 ??% ??% ??,?% 0 0 [mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]I cbpc damaged at 7 0  29/ 29 ??% ??% ??,?% 0 0 [mpeg4 @ 0x887cd94]Error at MB: 7[mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]Error at MB: 8  0.005  30/ 30 ??% ??% ??,?% 0 0 [mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]Error at MB: 30 0.005  31/ 31 ??% ??% ??,?% 0 0 [mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 1 bits ;)[mpeg4 @ 0x887cd94]Error at MB: 5[mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]1. marker bit missing in 3. esc?% ??% ??,?% 0 0 [mpeg4 @ 0x887cd94]Error at MB: 22[mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errors[mpeg4 @ 0x887cd94]hmm, seems the headers are not complete, trying to guess time_increment_bits[mpeg4 @ 0x887cd94]my guess is 2 bits ;)[mpeg4 @ 0x887cd94]Error at MB: 8  0.005  37/ 37 ??% ??% ??,?% 0 0 [mpeg4 @ 0x887cd94]concealing 80 DC, 80 AC, 80 MV errorsds_fill_buffer: EOF reached (stream: video)   39 ??% ??% ??,?% 0 0 EOF code: 1  -1.0 A-V:  6.015 ct:  0.100  39/ 39 ??% ??% ??,?% 0 0 
Uninit audio filters...[libaf] Removing filter dummy Uninit audio: faadFAAD: Closing decoder!Uninit video: ffmpeg
Exiting... (End of file)
 
 
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx


More information about the MPlayer-users mailing list