[FFmpeg-trac] #7929(ffmpeg:new): Failed ogv result when converting AVI made with Premiere

FFmpeg trac at avcodec.org
Wed May 29 19:39:11 EEST 2019


#7929: Failed ogv result when converting AVI made with Premiere
-------------------------------------+-------------------------------------
             Reporter:  genuinefafa  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  ogv          |  master
  libtheora v210                     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I'm doing conversion from AVI (Premiere) to OGV (theora) and begining with
 4.1+ it creates a broken result. Not only frames are lost, but some gets
 full green and sound became noise.

 Conversion is currently working on 4.0.2. Same `ffmpeg` line.

 How to reproduce:
 {{{
 % ffmpeg -i input.avi -codec:v libtheora -qscale:v 8 -codec:a libvorbis
 -qscale:a 5 output

 ffmpeg version 4.1+
 Windows binary downloaded build
 }}}

 This is 4.1.3 log, file is created and i'll include it in ticket (400kb)
 {{{
 ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
   built with gcc 8.3.1 (GCC) 20190414
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-
 libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-
 amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
 --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora
 --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp
 --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg
 --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-
 libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
 --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-
 ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
 --enable-dxva2 --enable-avisynth
   libavutil      56. 22.100 / 56. 22.100
   libavcodec     58. 35.100 / 58. 35.100
   libavformat    58. 20.100 / 58. 20.100
   libavdevice    58.  5.100 / 58.  5.100
   libavfilter     7. 40.101 /  7. 40.101
   libswscale      5.  3.100 /  5.  3.100
   libswresample   3.  3.100 /  3.  3.100
   libpostproc    55.  3.100 / 55.  3.100
 [avi @ 000001efa840a580] non-interleaved AVI
 Guessed Channel Layout for Input Stream #0.1 : mono
 Input #0, avi, from 'd:\Develop\reversion3-videos\test-
 ogv\probar_convertir.avi':
   Metadata:
     date            : 2019-05-28T14:40:34-03:00
     encoder         : Adobe Premiere Pro CC 2017.0 (Windows)
   Duration: 00:00:10.24, start: 0.000000, bitrate: 499113 kb/s
     Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 1280x720,
 499615 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono,
 s16, 768 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (v210 (native) -> theora (libtheora))
   Stream #0:1 -> #0:1 (pcm_s16le (native) -> vorbis (libvorbis))
 Press [q] to stop, [?] for help
 Output #0, ogv, to 'd:\Develop\reversion3-videos\test-ogv\probar_convertir
 .avi-qv8-qa5.ogv':
   Metadata:
     date            : 2019-05-28T14:40:34-03:00
     encoder         : Lavf58.20.100
     Stream #0:0: Video: theora (libtheora), yuv422p(progressive),
 1280x720, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.35.100 libtheora
       date            : 2019-05-28T14:40:34-03:00
     Stream #0:1: Audio: vorbis (libvorbis), 48000 Hz, mono, fltp
     Metadata:
       encoder         : Lavc58.35.100 libvorbis
       date            : 2019-05-28T14:40:34-03:00
 [libtheora @ 000001efa840fb00] theora_encode_packetout failed
 [-1]e=2223.0kbits/s speed=0.993x
 Video encoding failed
 [libvorbis @ 000001efa84112c0] 39 frames left in the queue on closing
 Conversion failed!
 }}}

 This is 4.0.2 log, no errors, result int ~5mb file.
 {{{
 ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
   built with gcc 7.3.1 (GCC) 20180722
   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-
 bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
 --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr
 --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2
 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
 libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa
 --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx
 --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-
 nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
   libavutil      56. 14.100 / 56. 14.100
   libavcodec     58. 18.100 / 58. 18.100
   libavformat    58. 12.100 / 58. 12.100
   libavdevice    58.  3.100 / 58.  3.100
   libavfilter     7. 16.100 /  7. 16.100
   libswscale      5.  1.100 /  5.  1.100
   libswresample   3.  1.100 /  3.  1.100
   libpostproc    55.  1.100 / 55.  1.100
 [avi @ 0000019436caa3c0] non-interleaved AVI
 Guessed Channel Layout for Input Stream #0.1 : mono
 Input #0, avi, from 'd:\Develop\reversion3-videos\test-
 ogv\probar_convertir.avi':
   Metadata:
     date            : 2019-05-28T14:40:34-03:00
     encoder         : Adobe Premiere Pro CC 2017.0 (Windows)
   Duration: 00:00:10.24, start: 0.000000, bitrate: 499113 kb/s
     Stream #0:0: Video: v210 (v210 / 0x30313276), yuv422p10le, 1280x720,
 499615 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono,
 s16, 768 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (v210 (native) -> theora (libtheora))
   Stream #0:1 -> #0:1 (pcm_s16le (native) -> vorbis (libvorbis))
 Press [q] to stop, [?] for help
 Output #0, ogv, to 'd:\Develop\reversion3-videos\test-ogv\probar_convertir
 .avi-qv8-qa5.ogv':
   Metadata:
     date            : 2019-05-28T14:40:34-03:00
     encoder         : Lavf58.12.100
     Stream #0:0: Video: theora (libtheora), yuv422p(progressive),
 1280x720, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc58.18.100 libtheora
       date            : 2019-05-28T14:40:34-03:00
     Stream #0:1: Audio: vorbis (libvorbis), 48000 Hz, mono, fltp
     Metadata:
       encoder         : Lavc58.18.100 libvorbis
       date            : 2019-05-28T14:40:34-03:00
 frame=  256 fps= 21 q=-0.0 Lsize=    4655kB time=00:00:10.24
 bitrate=3724.2kbits/s speed=0.848x
 video:4585kB audio:41kB subtitle:0kB other streams:0kB global headers:7kB
 muxing overhead: 0.622212%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7929>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list