Activity › Forums › Compression Techniques › 4CIF H263 video fails to decode
-
4CIF H263 video fails to decode
Posted by Ankuj Gupta on April 8, 2011 at 3:45 amHi,
I am trying to decode a H263 4CIF(704×576) resolution file with ffmpeg, but it is detected as mp3 file and fails to get decoded. I tried with lower resolution H263 files they get decoded easily. I am using ffmpeg version 0.6.1
Michael Rampe replied 15 years, 3 months ago 2 Members · 3 Replies -
3 Replies
-
Michael Rampe
April 9, 2011 at 10:09 pm[Ankuj Gupta] “I am trying to decode a H263 4CIF(704×576) resolution file with ffmpeg, but it is detected as mp3 file and fails to get decoded. I tried with lower resolution H263 files they get decoded easily. I am using ffmpeg version 0.6.1”
I created a file to replicate your issue and it decoded properly:
Stream #0.0(eng): Video: h263, yuv420p, 704×576 [PAR 12:11 DAR 4:3], 780 kb/s, 25 fps, 25 tbr, 25 tbn, 29.97 tbc
Can you give me some more information. What container are you using, framerate and can you post the ffmpeg command line and output?
Michael
-
Ankuj Gupta
April 13, 2011 at 3:38 amHi Michael
The command I am giving is
ffmpeg -i h263_704x576_15fps_3370kbps.263 4cif.yuv
The untrimmed output of the command is
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Apr 8 2011 14:08:35 with gcc 4.1.2 20080704 (Red Hat 4.1.2-46)
configuration: –disable-demuxer=v4l –disable-demuxer=v4l2 –disable-indevs
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f9163c
Returning from fn av_probe_input_format2() fmt=0, score_max=70f9163c, scor=0
No. of chunks = 512
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=0, score_max=70f911bc, scor=0
Inside fn av_probe_input_format2(), first_iformat=b61680, score_max=70f911bc
Returning from fn av_probe_input_format2() fmt=b60360, score_max=70f911bc, scor=0
[NULL @ 0x5115420]Format detected only with low score of 24, misdetection possible!
[mp3 @ 0x51166d0]Header missing
Last message repeated 17 times
[mp3 @ 0x51166d0]big_values too big
[mp3 @ 0x5115420]max_analyze_duration reached
[mp3 @ 0x5115420]Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from ‘h263_704x576_15fps_3370kbps.263’:
Duration: 01:45:31.25, start: 0.000000, bitrate: 96 kb/s
Stream #0.0: Audio: mp2, 44100 Hz, 2 channels, s16, 96 kb/s
Output #0, rawvideo, to ‘4cif.yuv’:
Output file #0 does not contain any streambitrate is 3370kbps
frame rate is 15fps
It is Video elementary stream of H263 -
Michael Rampe
April 27, 2011 at 4:43 am[Ankuj Gupta] “[NULL @ 0x5115420]Format detected only with low score of 24, misdetection possible!”
This shows that it cannot determine the format itself.
Have you tried to force the format by putting -f h263 BEFORE the -i flag?
Michael
Reply to this Discussion! Login or Sign Up