[issue2533] Unrecognized pixel format
New submission from Michael N. Pritula : $ ffmpeg -i v3542_truncated -y out.mpg FFmpeg version SVN-r26307, Copyright (c) 2000-2011 the FFmpeg developers built on Jan 11 2011 15:15:59 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-yasm --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-librtmp --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50.36. 0 / 50.36. 0 libavcore 0.16. 0 / 0.16. 0 libavcodec52.108. 0 / 52.108. 0 libavformat 52.92. 0 / 52.92. 0 libavdevice 52. 2. 3 / 52. 2. 3 libavfilter1.72. 0 / 1.72. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [avi @ 0x806a4c0] max_analyze_duration reached Input #0, avi, from 'v3542_truncated': Duration: 00:02:03.40, start: 0.00, bitrate: 679 kb/s Stream #0.0: Video: dvvideo, 720x576, 25 tbr, 25 tbn, 25 tbc Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s swScaler: Unknown format is not supported as input pixel format Cannot get resampling context File 'v3542_truncated' not attached - you can download it from https://roundup.ffmpeg.org/file1299. -- files: v3542_truncated messages: 13365 priority: normal status: new substatus: new title: Unrecognized pixel format type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2533>
[issue2334] mpeg1video/mp2 decoding regression
New submission from Michael N. Pritula : I have file (attached) with mpeg1video and MPEG-1 Layer 2 audio. It plays well by VLC 1.1.4. It decoded well by FFmpeg svn revision 18021, but using r23285, r25413 and latest r25603 FFmpeg misinterprets input as psxstr with adpcm_xa audio stream, after transcoding there is only noise. $ ffmpeg -i mpeg1_mp2_regres FFmpeg version SVN-r25603, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 29 2010 19:47:30 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-yasm --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50.32. 3 / 50.32. 3 libavcore 0. 9. 1 / 0. 9. 1 libavcodec52.93. 0 / 52.93. 0 libavformat 52.84. 0 / 52.84. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.53. 0 / 1.53. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [psxstr @ 0x8069560] Invalid parameters 33 1 -1157562368 [psxstr @ 0x8069560] Invalid parameters 33 2305 -1157562368 [psxstr @ 0x8069560] Invalid parameters 33 4609 -1107230720 [psxstr @ 0x8069560] Invalid parameters 33 7169 -1107230720 ... a lot of similar messages ... [psxstr @ 0x8069560] Invalid parameters 289 12103 -536805376 [psxstr @ 0x8069560] Invalid parameters 289 14407 -536805376 [psxstr @ 0x8069560] Estimating duration from bitrate, this may be inaccurate Input #0, psxstr, from 'mpeg1_mp2_regres': Duration: N/A, bitrate: N/A Stream #0.0: Audio: adpcm_xa, 18900 Hz, 2 channels, s16 At least one output file must be specified File 'mpeg1_mp2_regres' not attached - you can download it from https://roundup.ffmpeg.org/file1147. -- files: mpeg1_mp2_regres messages: 12416 priority: normal status: new substatus: new title: mpeg1video/mp2 decoding regression type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2334>
[issue2316] Unrecognized MPEG2 stream
Michael N. Pritula added the comment: Sorry, I have not recognised that it is the same problem. FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2316>
[issue2316] Unrecognized MPEG2 stream
New submission from Michael N. Pritula : I have file with mpeg2, by r20544 it decoded well. Now it is not recognizeable. $ ffmpeg -i unrecogn_mpeg2_10 FFmpeg version SVN-r25529, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 20 2010 12:36:26 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-yasm --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50.32. 3 / 50.32. 3 libavcore 0. 9. 1 / 0. 9. 1 libavcodec52.92. 0 / 52.92. 0 libavformat 52.84. 0 / 52.84. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.53. 0 / 1.53. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x8069470] max_analyze_duration reached Seems stream 0 codec frame rate differs from container frame rate: inf (1/0) -> 9.00 (9/1) Input #0, mpeg, from 'unrecogn_mpeg2_10': Duration: 00:00:19.53, start: 43997.411511, bitrate: 4293 kb/s Stream #0.0[0x1e0]: Video: [0][0][0][0] / 0x, 90k tbr, 90k tbn Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s At least one output file must be specified File 'unrecogn_mpeg2_10' not attached - you can download it from https://roundup.ffmpeg.org/file1137. -- files: unrecogn_mpeg2_10 messages: 12326 priority: normal status: new substatus: new title: Unrecognized MPEG2 stream type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2316>
[issue2312] mpeg2+mp3 regression
New submission from Michael N. Pritula : Hi to all. I have video file with mpeg2 and mp3. It decoded well by r20544. r23285 refuses to decode this file at all. r25413 falls with floating point exception. Latest r25526 decodes only video. Also some revision, I lost information about what revision exactly, decoded only sound but without any video. ffmpeg -i mpeg2_mp3_regres -y out.mpg FFmpeg version SVN-r25526, Copyright (c) 2000-2010 the FFmpeg developers built on Oct 19 2010 10:25:29 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-yasm --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50.32. 3 / 50.32. 3 libavcore 0. 9. 1 / 0. 9. 1 libavcodec52.92. 0 / 52.92. 0 libavformat 52.83. 0 / 52.83. 0 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.53. 0 / 1.53. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg2video @ 0x806e1e0] mpeg_decode_postinit() failure Last message repeated 10 times [mp3 @ 0x8070020] Header missing Last message repeated 45 times [mp3 @ 0x8070020] incomplete frame [mp3 @ 0x8070020] Header missing Last message repeated 90 times [mp3 @ 0x8070020] incomplete frame [mp3 @ 0x8070020] Header missing Last message repeated 9 times [mpegts @ 0x8069470] max_analyze_duration reached Input #0, mpegts, from 'mpeg2_mp3_regres': Duration: 00:00:20.97, start: 28031.152622, bitrate: 4000 kb/s Stream #0.0[0x7e1]: Video: mpeg2video, yuv420p, 704x576 [PAR 12:11 DAR 4:3], 15000 kb/s, 26.80 fps, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x7e4]: Audio: mp3, 2 channels, s16, 128 kb/s Stream #0.2[0x7e5]: Data: [0][0][0][0] / 0x [NULL @ 0x80709a0] Requested sampling rate unsupported using closest supported (16000) [buffer @ 0x806ce00] w:704 h:576 pixfmt:yuv420p [mpeg @ 0x8070e90] VBV buffer size not set, muxing may fail Output #0, mpeg, to 'out.mpg': Metadata: encoder : Lavf52.83.0 Stream #0.0: Video: mpeg1video, yuv420p, 704x576 [PAR 12:11 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: mp2, 16000 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [mp3 @ 0x8070020] Header missing Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Last message repeated 3 times [mpeg2video @ 0x806e1e0] warning: first frame is no keyframe [mp3 @ 0x8070020] Header missing Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 .. Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Last message repeated 27 times [mp3 @ 0x8070020] incomplete frame Error while decoding stream #0.1 [mp3 @ 0x8070020] Header missing Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Error while decoding stream #0.1 Last message repeated 90 times [mp3 @ 0x8070020] incomplete frame Error while decoding stream #0.1 [mp3 @ 0x8070020] Header missing Error while decoding stream #0.1 Error while decoding stream #0.1 Last message repeated 1 times [mpeg2video @ 0x806e1e0] ac-tex damaged at 43 4 [mpeg2video @ 0x806e1e0] Warning MVs not available [mpeg2video @ 0x806e1e0] concealing 1408 DC, 1408 AC, 1408 MV errors frame= 527 fps=118 q=31.0 Lsize=1980kB time=21.04 bitrate= 770.9kbits/s dup=10 drop=0 video:1963kB audio:0kB global headers:0kB muxing overhead 0.847107% File 'mpeg2_mp3_regres' not attached - you can download it from https://roundup.ffmpeg.org/file1135. -- files: mpeg2_mp3_regres messages: 12313
[issue2258] MP3 with PCM inside decode error
Michael N. Pritula added the comment: > prepending a ID3 header to a WAV file and calling it a "MP3" > is a very questionable practice, as such I don't really consider > it a good thing that FFmpeg now "supports" that insanity, > particularly since it currently does so without even warning. Completely agree, but reality is that kind of files are used and we want to handle them too. Thanks! FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2258>
[issue2258] MP3 with PCM inside decode error
Michael N. Pritula added the comment: ffmpeg -f s16le -ac 2 -i mp3_pcm.mp3 is bad way - there is probability of switching left/right channels or even getting trash instead of sound in case of odd-count not waveform data FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2258>
[issue1612] Add Display Aspect Ration on dvvideo
Michael N. Pritula added the comment: Thank you very much! FFmpeg issue tracker <https://roundup.ffmpeg.org/issue1612>
[issue2258] MP3 with PCM inside decode error
New submission from Michael N. Pritula : $ ffmpeg -i mp3_pcm out1.wav FFmpeg version SVN-r25270, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 30 2010 19:57:17 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-yasm --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50.31. 0 / 50.31. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec52.91. 1 / 52.91. 1 libavformat 52.78. 5 / 52.78. 5 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.48. 0 / 1.48. 0 libswscale 0.12. 0 / 0.12. 0 libpostproc 51. 2. 0 / 51. 2. 0 [NULL @ 0x807b470] Format detected only with low score of 24, misdetection possible! [mp3 @ 0x807c660] Header missing Last message repeated 894 times [mp3 @ 0x807b470] max_analyze_duration reached [mp3 @ 0x807b470] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from 'mp3_pcm': Metadata: TPE2: Rossomahaar TRCK: 15 TIT2: ÑâÿùåГГГ Гї âîéГГ TPE1: Rossomahaar TALB: ГЊГ» ïîáåäèëè TCON: Rock Duration: 00:08:44.28, start: 0.00, bitrate: 160 kb/s Stream #0.0: Audio: mp1, 32000 Hz, 1 channels, s16, 160 kb/s Output #0, wav, to 'out.wav': Metadata: encoder : Lavf52.78.5 Stream #0.0: Audio: pcm_s16le, 32000 Hz, 1 channels, s16, 512 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding [mp1 @ 0x807c660] Header missing Error while decoding stream #0.0 Error while decoding stream #0.0 Error while decoding stream #0.0 Error while decoding stream #0.0 Error while decoding stream #0.0 Error while decoding stream #0.0 {message repeats thousands times} Error while decoding stream #0.0 Error while decoding stream #0.0 Error while decoding stream #0.0 Last message repeated 4673 times size= 6kB time=0.10 bitrate= 515.6kbits/s video:0kB audio:6kB global headers:0kB muxing overhead 0.702875% Media Player Classic 1.3.1405.0, Winamp 5.56 and Windows Media 9.00.00.4503 refuse to play this file. VLC 1.1.4 plays it very well. File 'mp3_pcm.mp3' not attached - you can download it from https://roundup.ffmpeg.org/file1105. -- files: mp3_pcm.mp3 messages: 12088 priority: normal status: new substatus: new title: MP3 with PCM inside decode error type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2258>
[issue2225] MPEG2 transcoding drops a lot of frames
New submission from Michael N. Pritula : Attached file, when transcoded, gets audio/video desync. I guess this happens because of frame drops which are logged by FFmpeg: $ ./ffmpeg-new.sh -i mpeg2_drops_10M -ar 22050 -y out.flv FFmpeg version SVN-r25095, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 10 2010 21:14:04 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-yasm --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50.26. 0 / 50.26. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec52.88. 0 / 52.88. 0 libavformat 52.78. 4 / 52.78. 4 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter1.38. 3 / 1.38. 3 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x807b470] max_analyze_duration reached Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 12.50 (25/2) Input #0, mpeg, from 'mpeg2_drops_10M': Duration: 00:00:25.61, start: 0.797033, bitrate: 3274 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 3300 kb/s, 25 fps, 12.50 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 224 kb/s [buffer @ 0x82cf510] w:720 h:576 pixfmt:yuv420p Output #0, flv, to 'out.flv': Metadata: encoder : Lavf52.78.4 Stream #0.0: Video: flv, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 12.50 tbc Stream #0.1: Audio: libmp3lame, 22050 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 30 fps= 0 q=31.0 size= 286kB time=2.30 bitrate=1020.2kbits/s dup=0 drop=28 frame= 57 fps= 51 q=31.0 size= 380kB time=4.36 bitrate= 714.5kbits/s dup=0 drop=55 frame= 90 fps= 56 q=31.0 size= 489kB time=7.00 bitrate= 571.8kbits/s dup=0 drop=88 frame= 122 fps= 57 q=31.0 size= 615kB time=9.66 bitrate= 521.6kbits/s dup=0 drop=120 frame= 139 fps= 53 q=31.0 size= 724kB time=11.02 bitrate= 538.0kbits/s dup=0 drop=138 frame= 170 fps= 54 q=31.0 size= 847kB time=13.48 bitrate= 514.8kbits/s dup=0 drop=169 frame= 201 fps= 55 q=31.0 size= 982kB time=15.99 bitrate= 503.1kbits/s dup=0 drop=201 frame= 233 fps= 56 q=31.0 size=1158kB time=18.47 bitrate= 513.7kbits/s dup=0 drop=230 frame= 264 fps= 57 q=31.0 size=1319kB time=20.87 bitrate= 517.5kbits/s dup=0 drop=260 frame= 292 fps= 57 q=24.8 size=1427kB time=23.12 bitrate= 505.6kbits/s dup=0 drop=288 [mpeg2video @ 0x807c7a0] 00 motion_type at 38 15 [mpeg2video @ 0x807c7a0] ac-tex damaged at 7 13 [mpeg2video @ 0x807c7a0] Warning MVs not available [mpeg2video @ 0x807c7a0] concealing 990 DC, 990 AC, 990 MV errors frame= 321 fps= 57 q=31.0 size=1541kB time=25.39 bitrate= 497.1kbits/s dup=0 drop=318 [mp2 @ 0x807ddc0] incomplete frame Error while decoding stream #0.1 frame= 321 fps= 57 q=31.0 Lsize=1552kB time=25.57 bitrate= 497.3kbits/s dup=0 drop=319 video:1332kB audio:200kB global headers:0kB muxing overhead 1.344876% File 'mpeg2_drops_10M' not attached - you can download it from https://roundup.ffmpeg.org/file1082. -- files: mpeg2_drops_10M messages: 11912 priority: normal status: new substatus: new title: MPEG2 transcoding drops a lot of frames type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/issue2225>
[issue1612] Add Display Aspect Ration on dvvideo
Michael N. Pritula added the comment: For example, player Media Player Classic - Home Cinema Here is information in "About" window: Build number: 1.3.1405.0 MPC Compiler: VS 2008 FFmpeg Compiler: GCC 4.4.1 FFmpeg issue tracker <https://roundup.ffmpeg.org/issue1612>
[issue1612] Add Display Aspect Ration on dvvideo
Michael N. Pritula added the comment: MediaInfo 0.7.23BETA _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1612> _
[issue1645] WMV3 decoding fail
New submission from Michael N. Pritula : There is a file with wmv3 stream, that couldn't be decoded by latest FFmpeg. $ ffmpeg -i wmv3-wmav2.trunc -vcodec huffyuv wmv3-wmav2.avi FFmpeg version SVN-r20918, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 24 2009 16:11:30 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 7. 0 / 50. 7. 0 libavcodec52.45. 0 / 52.45. 0 libavformat 52.44. 0 / 52.44. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.12. 0 / 1.12. 0 libswscale 0. 7. 2 / 0. 7. 2 libpostproc 51. 2. 0 / 51. 2. 0 [wmv3 @ 0x8078970]Reserved RES_SM=2 is forbidden Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (3/1001) Input #0, asf, from 'wmv3-wmav2.trunc': Metadata: ToolName: TMPGEnc 4.0 XPress Version. 4.2.3.193 WMFSDKVersion : 9.00.00.3268 WMFSDKNeeded: 0.0.0. IsVBR : 0 Duration: 00:04:47.05, start: 3.00, bitrate: 285 kb/s Stream #0.0(rus): Audio: wmav2, 48000 Hz, 2 channels, s16, 192 kb/s Stream #0.1(rus): Video: wmv3, yuv420p, 720x480, 1000 kb/s, 29.97 tbr, 1k tbn, 1k tbc [huffyuv @ 0x807a070]using huffyuv 2.2.0 or newer interlacing flag [wmv3 @ 0x8078970]Reserved RES_SM=2 is forbidden Output #0, avi, to 'wmv3-wmav2.avi': Stream #0.0(rus): Video: huffyuv, yuv422p, 720x480, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream #0.1(rus): Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Error while opening decoder for input stream #0.1 When using -vn option all is ok (sounds well): $ ffmpeg -i wmv3-wmav2.trunc -vn wmv3-wmav2.avi FFmpeg version SVN-r20918, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 24 2009 16:11:30 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 7. 0 / 50. 7. 0 libavcodec52.45. 0 / 52.45. 0 libavformat 52.44. 0 / 52.44. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.12. 0 / 1.12. 0 libswscale 0. 7. 2 / 0. 7. 2 libpostproc 51. 2. 0 / 51. 2. 0 [wmv3 @ 0x8078970]Reserved RES_SM=2 is forbidden Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (3/1001) Input #0, asf, from 'wmv3-wmav2.trunc': Metadata: ToolName: TMPGEnc 4.0 XPress Version. 4.2.3.193 WMFSDKVersion : 9.00.00.3268 WMFSDKNeeded: 0.0.0. IsVBR : 0 Duration: 00:04:47.05, start: 3.00, bitrate: 285 kb/s Stream #0.0(rus): Audio: wmav2, 48000 Hz, 2 channels, s16, 192 kb/s Stream #0.1(rus): Video: wmv3, yuv420p, 720x480, 1000 kb/s, 29.97 tbr, 1k tbn, 1k tbc Output #0, avi, to 'wmv3-wmav2.avi': Stream #0.0(rus): Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 581kB time=65.47 bitrate= 72.7kbits/s video:0kB audio:512kB global headers:0kB muxing overhead 13.584433% When using -vcodec copy option all is ok too (and plays well): $ ffmpeg -i wmv3-wmav2.trunc -vcodec copy wmv3-wmav2.avi FFmpeg version SVN-r20918, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 24 2009 16:11:30 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --ena
[issue1118] mpeg4 video timing problem
Michael N. Pritula added the comment: Mentioned problem no longer presents. Closing issue. -- status: new -> closed substatus: new -> fixed _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1118> _
[issue967] mov,mp4,m4a,3gp,3g2,mj2 edit list support
Michael N. Pritula added the comment: Mentioned file has no problems now. Closing issue. -- status: open -> closed substatus: open -> fixed FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue967>
[issue1620] Transcoding bug
New submission from Michael N. Pritula : Hi. I have file, that transcodes with libx264 well and reports error while transcoding with flv encoder. Probably, there is bug in original clip file, but it is simply recorded by nokia e72 - I think FFmpeg's flv encoder should handle such files. Here is commands, that I used: $ ffmpeg -i v3141 -ar 22050 v3141.out.flv FFmpeg version SVN-r20865, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 14 2009 16:07:19 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 7. 0 / 50. 7. 0 libavcodec52.43. 0 / 52.43. 0 libavformat 52.43. 0 / 52.43. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.12. 0 / 1.12. 0 libswscale 0. 7. 2 / 0. 7. 2 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'v3141': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp423gp4isom Duration: 00:00:29.76, start: 0.00, bitrate: 2095 kb/s Stream #0.0(und): Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 2003 kb/s, 14.95 fps, 30k tbr, 30k tbn, 30k tbc Stream #0.1(und): Audio: aac, 48000 Hz, mono, s16, 96 kb/s File 'v3141.out.flv' already exists. Overwrite ? [y/N] y Output #0, flv, to 'v3141.out.flv': Stream #0.0(und): Video: flv, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 30k tbc Stream #0.1(und): Audio: libmp3lame, 22050 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [...] [flv @ 0x807b560]st:0 error, non monotone timestamps 29573 >= 29573 av_interleaved_write_frame(): Error while opening file $ ffmpeg -i v3141 -ar 22050 -vcodec libx264 -vpre default v3141.out.flv FFmpeg version SVN-r20865, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 14 2009 16:07:19 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 7. 0 / 50. 7. 0 libavcodec52.43. 0 / 52.43. 0 libavformat 52.43. 0 / 52.43. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.12. 0 / 1.12. 0 libswscale 0. 7. 2 / 0. 7. 2 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'v3141': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp423gp4isom Duration: 00:00:29.76, start: 0.00, bitrate: 2095 kb/s Stream #0.0(und): Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 2003 kb/s, 14.95 fps, 30k tbr, 30k tbn, 30k tbc Stream #0.1(und): Audio: aac, 48000 Hz, mono, s16, 96 kb/s [libx264 @ 0x8073dd0]using SAR=1/1 [libx264 @ 0x8073dd0]MB rate (3600) > level limit (983040) [libx264 @ 0x8073dd0]using cpu capabilities: none! [libx264 @ 0x8073dd0]profile High, level 5.1 Output #0, flv, to 'v3141.out.flv': Stream #0.0(und): Video: libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=10-51, 200 kb/s, 1k tbn, 30k tbc Stream #0.1(und): Audio: libmp3lame, 22050 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [...] frame= 444 fps= 4 q=15109117.0 Lsize= 516kB time=29.57 bitrate= 143.0kbits/s video:256kB audio:233kB global headers:0kB muxing overhead 5.482916% [libx264 @ 0x8073dd0]frame I:4 Avg QP:43.86 size: 1483 [libx264 @ 0x8073dd0]frame P:375 Avg QP:47.14 size: 633 [libx264 @ 0x8073dd0]frame B:65Avg QP:48.96 size: 286 [libx264 @ 0x8073dd0]consecutive B-frames: 72.3% 23.2% 2.7% 1.8% [libx264 @ 0x8073dd0]mb I I16..4: 25.8% 74.0% 0.2% [libx264 @ 0x8073dd0]mb P I16..4: 6.6% 19.2% 0.0% P16..4: 11.0% 0.2% 0.1% 0.0% 0.0%skip:62.9% [libx264 @ 0x8073dd0]mb B I16..4: 1.2% 1.7% 0.0% B16..8: 9.9% 0.0% 0.0% direct: 1.
[issue1613] Wrong Display Aspect Ratio on MPEG-PS MPEG Video
New submission from Michael N. Pritula : Attached file has display aspect ratio 16:9, but FFmpeg recognizes it as 4:3. Here is output of ffmpeg -i: ffmpeg -i wrong4x3_2_trunc FFmpeg version SVN-r20796, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 11 2009 13:07:40 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 5. 1 / 50. 5. 1 libavcodec52.43. 0 / 52.43. 0 libavformat 52.41. 0 / 52.41. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.12. 0 / 1.12. 0 libswscale 0. 7. 2 / 0. 7. 2 libpostproc 51. 2. 0 / 51. 2. 0 [mpeg @ 0x806a380]MAX_READ_SIZE:500 reached Seems stream 1 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, mpeg, from 'wrong4x3_2_trunc': Duration: N/A, start: 12.988000, bitrate: N/A Stream #0.0[0x20]: Subtitle: dvdsub Stream #0.1[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 9100 kb/s, 25 tbr, 90k tbn, 50 tbc Stream #0.2[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s At least one output file must be specified File 'wrong4x3_2_trunc' not attached - you can download it from https://roundup.ffmpeg.org/roundup/ffmpeg/file663. -- files: wrong4x3_2_trunc messages: 8284 priority: normal status: new substatus: new title: Wrong Display Aspect Ratio on MPEG-PS MPEG Video type: bug _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1613> _
[issue1612] Add Display Aspect Ration on dvvideo
New submission from Michael N. Pritula : I have clip with dvvideo with DAR 16:9, but FFmpeg doesn't see it. In my operation converting is automatic, so this makes problem. File in attachment. Output of 'ffmpeg -i': ffmpeg -i no_dar_dvvideo FFmpeg version SVN-r20796, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Dec 11 2009 13:07:40 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 5. 1 / 50. 5. 1 libavcodec52.43. 0 / 52.43. 0 libavformat 52.41. 0 / 52.41. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter1.12. 0 / 1.12. 0 libswscale 0. 7. 2 / 0. 7. 2 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, avi, from 'no_dar_dvvideo': Duration: 00:01:30.28, start: 0.00, bitrate: 929 kb/s Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25 tbr, 25 tbn, 25 tbc Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s At least one output file must be specified File 'no_dar_dvvideo' not attached - you can download it from https://roundup.ffmpeg.org/roundup/ffmpeg/file662. -- files: no_dar_dvvideo messages: 8283 priority: normal status: new substatus: new title: Add Display Aspect Ration on dvvideo type: feature_request _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1612> _
[issue1562] AAC misinterpreting 32kHz mono as 16-channel 16kHz
New submission from Michael N. Pritula : Hi. I have file with 32kHz mono AAC. FFmpeg r11872 successfully converts it, FFmpeg r18021 misinterprets stream as 16-channel 16kHz, FFmpeg r19476 successfully converts it, and now FFmpeg r20544 misinterprets it again. Here is full output of FFmpeg r20544: $ ./ffmpeg -i aac-32kHz aac-32kHz.mpg FFmpeg version SVN-r20544, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Nov 20 2009 15:53:10 with gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) configuration: libavutil 50. 4. 0 / 50. 4. 0 libavcodec52.41. 0 / 52.41. 0 libavformat 52.39. 2 / 52.39. 2 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 [mpeg4 @ 0x8a268e0]warning: first frame is no keyframe [mpeg4 @ 0x8a268e0]ac-tex damaged at 5 6 [mpeg4 @ 0x8a268e0]Error at MB: 131 [mpeg4 @ 0x8a268e0]concealing 224 DC, 224 AC, 224 MV errors Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aac-32kHz': Duration: 00:00:58.04, start: 0.00, bitrate: 388 kb/s Stream #0.0(jpn): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 353 kb/s, 30 tbr, 1k tbn, 30 tbc Stream #0.1(jpn): Audio: aac, 16000 Hz, 1 channels, s16, 31 kb/s Metadata major_brand : 3gp5 minor_version : 512 compatible_brands: vfj13gp43gp5mp42emp Output #0, mpeg, to 'aac-32kHz.mpg': Stream #0.0(jpn): Video: mpeg1video, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 30 tbc Stream #0.1(jpn): Audio: mp2, 16000 Hz, 1 channels, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [aac @ 0x8a2a000]channel element 3.7 is not allocated Error while decoding stream #0.1 [aac @ 0x8a2a000]Sample rate index in program config element does not match the sample rate index configured by the container. Resampling with input channels greater than 2 unsupported. Can not resample 16 channels @ 16000 Hz to 1 channels @ 16000 Hz File 'aac-32kHz' not attached - you can download it from https://roundup.ffmpeg.org/roundup/ffmpeg/file618. -- files: aac-32kHz messages: 7958 priority: normal status: new substatus: new title: AAC misinterpreting 32kHz mono as 16-channel 16kHz type: bug _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1562> _
[issue1118] mpeg4 video timing problem
Michael N. Pritula added the comment: Full original file is now available via URL http://194.88.210.243/video-timing-accelerated Sorry for typo in previous message in URL. _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1118> _
[issue1118] mpeg4 video timing problem
New submission from Michael N. Pritula : Hi to all. Here is an output of "ffmpeg -i v2658": FFmpeg version SVN-r18939, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 3. 0 / 50. 3. 0 libavcodec52.29. 0 / 52.29. 0 libavformat 52.33. 0 / 52.33. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter0. 5. 0 / 0. 5. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on May 25 2009 15:15:55, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Seems stream 0 codec frame rate differs from container frame rate: 3.00 (3/1) -> 24.00 (24/1) Input #0, avi, from 'v2658': Duration: 00:04:18.79, start: 0.00, bitrate: 5355 kb/s Stream #0.0: Video: mpeg4, yuv420p, 720x406 [PAR 1:1 DAR 360:203], 24 tbr, 24 tbn, 30k tbc Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s At least one output file must be specified When I try to transcode this file with command "ffmpeg -i v2658 v2658.mpg" (I also tried to transcode to many other formats) I get file with 45second very accelerated video instead of 258seconds in original. Here is the output of FFmpeg: FFmpeg version SVN-r18939, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 3. 0 / 50. 3. 0 libavcodec52.29. 0 / 52.29. 0 libavformat 52.33. 0 / 52.33. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter0. 5. 0 / 0. 5. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on May 25 2009 15:15:55, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Seems stream 0 codec frame rate differs from container frame rate: 3.00 (3/1) -> 24.00 (24/1) Input #0, avi, from 'v2658': Duration: 00:04:18.79, start: 0.00, bitrate: 5355 kb/s Stream #0.0: Video: mpeg4, yuv420p, 720x406 [PAR 1:1 DAR 360:203], 24 tbr, 24 tbn, 30k tbc Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Output #0, mpeg, to 'v2658.mpg': Stream #0.0: Video: mpeg1video, yuv420p, 720x406 [PAR 1:1 DAR 360:203], q=2-31, 200 kb/s, 90k tbn, 24 tbc Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [mpeg4 @ 0x80726f0]header damaged 3514kB time=44.92 bitrate= 640.9kbits/s Error while decoding stream #0.0 frame= 1085 fps= 48 q=24.8 Lsize=5246kB time=45.17 bitrate= 951.5kbits/s video:3174kB audio:2022kB global headers:0kB muxing overhead 0.958863% I tried to sync video to audio. In that case video doesn't run ahead, but framerate dramatically goes down. First 10MB of source file is attached. Full file will be accessible on http://194.88.210.243/video-timig-accelerated soon. File 'video-timing-accelerated-10MB' not attached - you can download it from https://roundup.ffmpeg.org/roundup/ffmpegfile327. -- files: video-timing-accelerated-10MB messages: 5675 priority: normal status: new substatus: new title: mpeg4 video timing problem type: feature_request _ FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1118> _
[issue966] FFmpeg can not grab video4linux2 (on my cam)
Michael N. Pritula added the comment: Hi! Sorry for my late answer. I'm using logitech webcam (don't know which model). Kernel version is: $ uname -r 2.6.27-11-generic $ uname -v #1 SMP Thu Jan 29 19:24:39 UTC 2009 And i used driver: $ /sbin/modinfo uvcvideo filename: /lib/modules/2.6.27-11-generic/kernel/drivers/media/video/uvc/uvcvideo.ko version:v0.1.0 license:GPL description:USB Video Class driver author: Laurent Pinchart srcversion: 00AFEF89A11FDED1A9C5726 depends:usbcore,videodev,v4l1-compat,compat_ioctl32 vermagic: 2.6.27-11-generic SMP mod_unload modversions 586 parm: quirks:Forced device quirks (uint) parm: trace:Trace level bitmask (uint) And some experience: I tried to remove O_NONBLOCK usage in libavdevice/v4l2.c and with that edit grabbing works perfectly. So, i suppose, to compatibility purposes there need some review of O_NONBLOCK usage. FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue966>
[issue967] mov,mp4,m4a,3gp,3g2,mj2 transcoding error
New submission from Michael N. Pritula : I'm trying to transcode attached file by command: ffmpeg -i v2461 -s 320x240 -f avi -vcodec huffyuv -y v2461.avi And video in output file isn't correct. It contains only few frames positioned distantly. Source file plays in players good. Here is output of FFmpeg: $ ffmpeg -i v2461 -s 320x240 -f avi -vcodec huffyuv -y v2461.avi FFmpeg version SVN-r18349, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 3. 0 / 50. 3. 0 libavcodec52.25. 0 / 52.25. 0 libavformat 52.32. 0 / 52.32. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter0. 5. 0 / 0. 5. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Apr 7 2009 17:52:00, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) [mov,mp4,m4a,3gp,3g2,mj2 @ 0x8067b00]multiple edit list entries, a/v desync might occur, patch welcome Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1) Seems stream 9 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 30.00 (30/1) Last message repeated 1 times Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'v2461': Duration: 00:00:30.04, start: 0.00, bitrate: 231 kb/s Stream #0.0(eng): Audio: aac, 44100 Hz, stereo, s16 Stream #0.1(eng): Video: mpeg4, yuv420p, 540x360 [PAR 1:1 DAR 3:2], PAR 16:17 DAR 24:17, 30 tbr, 30 tbn, 1k tbc Stream #0.2(eng): Data: 0x Stream #0.3(eng): Data: 0x Stream #0.4(eng): Video: mjpeg, yuvj444p, 640x480 [PAR 100:100 DAR 4:3], 0.13 tbr, 0.13 tbn, 0.13 tbc Stream #0.5(eng): Data: 0x Stream #0.6(eng): Video: qtrle, bgra, 32x2, 0.13 tbr, 0.13 tbn, 0.13 tbc Stream #0.7(eng): Data: 0x Stream #0.8(eng): Audio: aac, 44100 Hz, stereo, s16 Stream #0.9(eng): Video: mpeg4, yuv420p, 540x360 [PAR 1:1 DAR 3:2], PAR 16:17 DAR 24:17, 30 tbr, 30 tbn, 1k tbc Stream #0.10(eng): Data: 0x Stream #0.11(eng): Data: 0x Stream #0.12(eng): Video: mjpeg, yuvj444p, 640x480 [PAR 100:100 DAR 4:3], 0.13 tbr, 0.13 tbn, 0.13 tbc Stream #0.13(eng): Data: 0x Stream #0.14(eng): Video: qtrle, bgra, 32x2, 0.13 tbr, 0.13 tbn, 0.13 tbc Stream #0.15(eng): Data: 0x Output #0, avi, to 'v2461.avi': Stream #0.0(eng): Video: huffyuv, bgra, 320x240, q=2-31, 200 kb/s, 0.13 tbn, 0.13 tbc Stream #0.1(eng): Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame=5 fps= 0 q=0.0 Lsize= 720kB time=30.01 bitrate= 196.5kbits/s video:447kB audio:234kB global headers:0kB muxing overhead 5.549040% File 'mov_mp4_video_lost' not attached - you can download it from https://roundup.ffmpeg.org/roundup/ffmpegfile228. -- files: mov_mp4_video_lost messages: 4838 priority: normal status: new substatus: new title: mov,mp4,m4a,3gp,3g2,mj2 transcoding error type: feature_request FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue967>
[issue966] FFmpeg can not grab video4linux2 (on my cam)
New submission from Michael N. Pritula : I run FFmpeg with command: ffmpeg -f video4linux2 -s 640x480 -r 16 -i /dev/video0 -y 0.flv and in revision 11872 it worked perfectly, but now it don't grab anything: FFmpeg version SVN-r18021, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --cc=ccache gcc --prefix=/home/buildfarm/buildAgent/work/f4d9a0971ed9fc84/package-root --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags=-I/home/buildfarm/buildAgent/work/f4d9a0971ed9fc84/package-root/include -g --extra-ldflags=-L/home/buildfarm/buildAgent/work/f4d9a0971ed9fc84/package-root/lib libavutil 50. 0. 0 / 50. 0. 0 libavcodec52.21. 0 / 52.21. 0 libavformat 52.31. 1 / 52.31. 1 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Apr 3 2009 19:08:00, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7) [video4linux2 @ 0x8113ac0][3]Capabilities: 401 Input #0, video4linux2, from '/dev/video0': Duration: N/A, bitrate: 78643 kb/s Stream #0.0: Video: rawvideo, yuyv422, 640x480, 78643 kb/s, 16 tbr, 1000k tbn, 16 tbc Output #0, flv, to '0.flv': Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 1k tbn, 16 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 size= 0kB time=100.00 bitrate= 0.0kbitframe=0 fps= 0 q=0.0 Lsize= 0kB time=100.00 bitrate= 0.0kbits/s and so on. Only zeroes in statistics. I noticed impotant difference: in 11872 'open' command was used without flag O_NONBLOCKING, but now that flag is used. strace ffmpeg -f video4linux2 -s 640x480 -r 16 -i /dev/video0 -y 0.flv talks that infinite looping happens in reading /dev/video0: .. select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) nanosleep({0, 1000}, NULL) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) ioctl(3, VIDIOC_DQBUF, 0xbfe695f8) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) nanosleep({0, 1000}, NULL) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) ioctl(3, VIDIOC_DQBUF, 0xbfe695f8) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) nanosleep({0, 1000}, NULL) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) ioctl(3, VIDIOC_DQBUF, 0xbfe695f8) = -1 EAGAIN (Resource temporarily unavailable) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) nanosleep({0, 1000}, NULL) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) ioctl(3, VIDIOC_DQBUF, 0xbfe695f8) = -1 EAGAIN (Resource temporarily unavailable) and so on. So, may be it is worth to prohibit O_NONBLOCKING flag in v4l2 demuxer? -- messages: 4836 priority: normal status: new substatus: new title: FFmpeg can not grab video4linux2 (on my cam) type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue966>
[issue961] MPEG2 decoding artifacts (invalid MVs)
Michael N. Pritula added the comment: Thanks a lot! FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue961>
[issue961] MPEG2 decoding artifacts
New submission from Michael N. Pritula : Decoding certain mpeg2video files line of artifacts appeared on the bottom. Original file plays perfect on mplayer and vlc, but ffplay plays with artifacts. After transcoding with ffmpeg -i input -f avi -vcodec huffyuv output.avi output.avi plays with these artifacts on all players i have (ffplay, mplayer, vlc). So, i suppose that there is something wrong in mpeg2video decoder. I used latest SVN revision: FFmpeg version SVN-r18339, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --cc='ccache gcc' --prefix=/home/pritula/wNewFfmpeg/package-root --enable-libmp3lame --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-libvorbis --enable-libtheora --enable-libxvid --enable-libx264 --enable-libschroedinger --disable-encoder=libschroedinger --enable-libgsm --enable-libnut --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-avfilter --enable-shared --extra-cflags='-I/home/pritula/wNewFfmpeg/package-root/include -g' --extra-ldflags=-L/home/pritula/wNewFfmpeg/package-root/lib libavutil 50. 3. 0 / 50. 3. 0 libavcodec52.25. 0 / 52.25. 0 libavformat 52.32. 0 / 52.32. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter0. 5. 0 / 0. 5. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Apr 6 2009 13:20:41, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1) Input #0, mpeg, from 'v1023': Duration: 00:02:19.99, start: 0.269522, bitrate: 9962 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 448x336 [PAR 1:1 DAR 4:3], 25000 kb/s, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 320 kb/s File 'v1023.avi' already exists. Overwrite ? [y/N] y [huffyuv @ 0x816ed00]using huffyuv 2.2.0 or newer interlacing flag Output #0, avi, to 'v1023.avi': Stream #0.0: Video: huffyuv, yuv422p, 448x336 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 3501 fps=161 q=0.0 Lsize= 572833kB time=140.04 bitrate=33509.3kbits/s video:571510kB audio:1094kB global headers:0kB muxing overhead 0.039920% Exit Code 0 File 'bottom_line_artifacts_decoding_mpeg2' not attached - you can download it from https://roundup.ffmpeg.org/roundup/ffmpegfile224. -- files: bottom_line_artifacts_decoding_mpeg2 messages: 4819 priority: normal status: new substatus: new title: MPEG2 decoding artifacts type: bug FFmpeg issue tracker <https://roundup.ffmpeg.org/roundup/ffmpeg/issue961>