[FFmpeg-trac] #4613(undetermined:closed): FFMPEG produces OGV videos whose duration can't be estimated by Totem, VLC and Dragon Player

FFmpeg trac at avcodec.org
Mon Jun 15 15:54:52 CEST 2015


#4613: FFMPEG produces OGV videos whose duration can't be estimated by Totem, VLC
and Dragon Player
-------------------------------------+-------------------------------------
             Reporter:  gouessej     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  ogg theora   |               Resolution:  invalid
  vorbis                             |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  ogg => ogg theora vorbis
 * status:  reopened => closed
 * version:  2.7 => git-master
 * resolution:   => invalid


Comment:

 The issue that GStreamer (or at least some versions of GStreamer) cannot
 detect audio in high-bitrate ogg files (bitrate > 25MBit) and subsequently
 fails playback completely can be reproduced when reencoding the attached
 sample Video20150609_185820_.mp4 (the duration is always correctly shown
 here). It works fine here with {{{-q:v 6}}} and {{{-b:v 15M}}} (leading to
 ~20MBit) and fails here with {{{-q:v 7}}} and {{{-b:v 20M}}} (leading to
 ~25MBit).
 I don't think there is any indication for a bug in FFmpeg.
 The output file does not play here with GStreamer, I believe the issue is
 reproducible with versions 1.0 and 0.10.
 {{{
 $ ffmpeg -i Video20150609_185820_.mp4 -q:v 7 out.ogv
 ffmpeg version N-72941-g4ec14ce Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libtheora --enable-libvorbis
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 36.100 / 56. 36.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 17.100 /  5. 17.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video20150609_185820_.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf56.36.100
   Duration: 00:00:01.03, start: 0.033333, bitrate: 10523 kb/s
     Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
 1920x1080, 10727 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
 stereo, fltp, 130 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
 Output #0, ogg, to 'out.ogv':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf56.36.100
     Stream #0:0(eng): Video: theora (libtheora), yuv420p, 1920x1080,
 q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc56.41.100 libtheora
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
     Stream #0:1(eng): Audio: vorbis (libvorbis), 48000 Hz, stereo, fltp
 (default)
     Metadata:
       handler_name    : SoundHandler
       encoder         : Lavc56.41.100 libvorbis
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> theora (libtheora))
   Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
 Press [q] to stop, [?] for help
 frame=   31 fps=7.8 q=0.0 Lsize=    3441kB time=00:00:01.04
 bitrate=26962.4kbits/s dup=1 drop=0
 video:3405kB audio:12kB subtitle:0kB other streams:0kB global headers:7kB
 muxing overhead: 0.668602%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4613#comment:43>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list