Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
Control: tags -1 = fixed-upstream Control: unblock -1 203211 Hi Mathieu, On 03.04.2015 19:55, Andreas Cadhalpun wrote: Fortunately writing a bitstream filter for unpacking the packed B-frames turned out to be doable. I've posted a patch upstream [1]. After that is applied, the reference to avidemux/VirtualDub can be removed, see [2]. Both patches are now applied upstream. Best regards, Andreas 1: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=0224b35c89e9e75f156962c93b37adab75d8df6a 2: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=71fa0aa085ccb540469b0298a277ca5c2221532a -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
Hi Mathieu, On 31.03.2015 23:00, Andreas Cadhalpun wrote: The alternative would be to mark it forwarded to the upstream feature request for the bitstream filter. I don't know, if avidemux will be packaged before that is added. I had a look at avidemux and packaging it would be a rather huge effort due to the way it uses FFmpeg: * It uses an old version of FFmpeg (1.2). * It applies custom (and rather strange) patches to FFmpeg. * It uses private FFmpeg API. This is pretty bad. :-/ Fortunately writing a bitstream filter for unpacking the packed B-frames turned out to be doable. I've posted a patch upstream [1]. After that is applied, the reference to avidemux/VirtualDub can be removed, see [2]. Best regards, Andreas 1: https://ffmpeg.org/pipermail/ffmpeg-devel/2015-April/171259.html 2: https://ffmpeg.org/pipermail/ffmpeg-devel/2015-April/171260.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
On Mon, Mar 30, 2015 at 9:36 PM, Andreas Cadhalpun andreas.cadhal...@googlemail.com wrote: Do you know of an alternative in Debian that could be suggested? I did not realize there was nothing else that could be suggested. I've added a block on avidemux bug in the meantime. Thanks for the clarification (upstream bug). -M -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
On Tue, Mar 31, 2015 at 9:17 AM, Mathieu Malaterre ma...@debian.org wrote: On Mon, Mar 30, 2015 at 9:36 PM, Andreas Cadhalpun andreas.cadhal...@googlemail.com wrote: Do you know of an alternative in Debian that could be suggested? I did not realize there was nothing else that could be suggested. I've added a block on avidemux bug in the meantime. Thanks for the clarification (upstream bug). I discover that: http://ffmpeg.org/pipermail/ffmpeg-devel/2008-November/054385.html [...] 4. will cause hell to break loose if copied into a standard container like mp4 or mpeg-ps/ts (thats because of 1. above, i mean its not mpeg4 so no mpeg4 decoder will know what to do with it) [...] However: $ cd /tmp $ wget http://samples.mplayerhq.hu/V-codecs/MPEG4/pegasus-1958-chiptune.avi $ ffmpeg -i pegasus-1958-chiptune.avi -codec copy test.mp4 ffmpeg version 2.6.1-1 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --prefix=/usr --extra-version=1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid --enable-opengl --enable-libfaac --enable-libfdk-aac --enable-nonfree --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal --enable-libopencv --enable-librtmp libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat56. 25.101 / 56. 25.101 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc53. 3.100 / 53. 3.100 [mp3 @ 0x10eed20] Header missing [mpeg4 @ 0x10edf80] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it. Input #0, avi, from 'pegasus-1958-chiptune.avi': Duration: 00:02:12.57, start: 0.00, bitrate: 1140 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 544x352 [SAR 1:1 DAR 17:11], 1000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s Output #0, mp4, to 'test.mp4': Metadata: encoder : Lavf56.25.101 Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 544x352 [SAR 1:1 DAR 17:11], q=2-31, 1000 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc Stream #0:1: Audio: mp3 (i[0][0][0] / 0x0069), 44100 Hz, stereo, 128 kb/s Stream mapping: Stream #0:0 - #0:0 (copy) Stream #0:1 - #0:1 (copy) Press [q] to stop, [?] for help [mp4 @ 0x111f0c0] pts has no value Last message repeated 2830 times frame= 3973 fps=0.0 q=-1.0 Lsize= 18355kB time=00:02:12.58 bitrate=1134.1kbits/s video:16182kB audio:2071kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.555762% $ ffmpeg -i test.mp4 ffmpeg version 2.6.1-1 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --prefix=/usr --extra-version=1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid --enable-opengl --enable-libfaac --enable-libfdk-aac --enable-nonfree --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal --enable-libopencv --enable-librtmp libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat56. 25.101 / 56. 25.101 libavdevice56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102
Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
Hi Mathieu, On 31.03.2015 09:48, Mathieu Malaterre wrote: On Tue, Mar 31, 2015 at 9:17 AM, Mathieu Malaterre ma...@debian.org wrote: On Mon, Mar 30, 2015 at 9:36 PM, Andreas Cadhalpun andreas.cadhal...@googlemail.com wrote: Do you know of an alternative in Debian that could be suggested? I did not realize there was nothing else that could be suggested. I've added a block on avidemux bug in the meantime. The alternative would be to mark it forwarded to the upstream feature request for the bitstream filter. I don't know, if avidemux will be packaged before that is added. Thanks for the clarification (upstream bug). I discover that: http://ffmpeg.org/pipermail/ffmpeg-devel/2008-November/054385.html [...] 4. will cause hell to break loose if copied into a standard container like mp4 or mpeg-ps/ts (thats because of 1. above, i mean its not mpeg4 so no mpeg4 decoder will know what to do with it) [...] However: However? $ cd /tmp $ wget http://samples.mplayerhq.hu/V-codecs/MPEG4/pegasus-1958-chiptune.avi $ ffmpeg -i pegasus-1958-chiptune.avi -codec copy test.mp4 [...] AFAIK the generated `test.mp4` is invalid, right ? Yes, because even the input is not really valid. Best regards, Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
Package: ffmpeg Version: 7:2.6.1-1 Severity: minor The comment displayed by ffmpeg on debian linux is rather useless (as of today): [...] [mpeg4 @ 0x1b5de20] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it. [...] avidemux is still not part of debian #203211 and VirtualDub is windows only. Please consider suggesting alternatives that works on Debian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#781510: Consider using a tool like VirtualDub or avidemux to fix it.
Control: tag -1 moreinfo Hi Mathieu, On 30.03.2015 11:35, Mathieu Malaterre wrote: The comment displayed by ffmpeg on debian linux is rather useless (as of today): [...] [mpeg4 @ 0x1b5de20] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using a tool like VirtualDub or avidemux to fix it. [...] I think this is much more informative than the previous warning: Invalid and inefficient vfw-avi packed B frames detected avidemux is still not part of debian #203211 This should be changed, but that's difficult, because it uses an old version of FFmpeg with custom patches. But even if it's not yet in Debian, people can get it from elsewhere. and VirtualDub is windows only. Please consider suggesting alternatives that works on Debian. Do you know of an alternative in Debian that could be suggested? Anyway, the proper fix for this would be to add a bitstream filter for unpacking the packed B-frames to FFmpeg. Then such files could be fixed with FFmpeg, so there would be no need to suggest other programs. There is an upstream feature request for that at [1]. Best regards, Andreas 1: https://trac.ffmpeg.org/ticket/2913 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org