[FFmpeg-trac] #1508(undetermined:new): Unexported Ogg metadata

FFmpeg trac at avcodec.org
Tue Jul 3 12:00:49 CEST 2012


#1508: Unexported Ogg metadata
-------------------------------------+-------------------------------------
               Reporter:  ubitux     |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |  ogg,metadata
Reproduced by developer:  1          |               Blocking:
                                     |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 {{{
 % ./ffmpeg -f lavfi -i testsrc=d=5 -c:v libtheora -metadata title=hello
 -metadata comment=world -y out.ogg
 ffmpeg version N-42157-g9d0c71e Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jul  3 2012 11:11:58 with gcc 4.7.1
   configuration: --enable-gpl --enable-fontconfig --enable-libfreetype
 --enable-libmp3lame --cc='ccache cc' --enable-libx264 --enable-libvorbis
 --enable-libmodplug --enable-libass --enable-libtheora
 --samples=/home/cboesch/fate-samples
 --prefix=/home/cboesch/src/ff/ffmpeg/ffmpeg_build
   libavutil      51. 63.100 / 51. 63.100
   libavcodec     54. 32.100 / 54. 32.100
   libavformat    54. 14.100 / 54. 14.100
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     3.  0.101 /  3.  0.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [Parsed_testsrc_0 @ 0x3361de0] size:320x240 rate:25/1 duration:5.000000
 sar:1/1
 [out @ 0x3361d20] No opaque field provided
 [lavfi @ 0x3361160] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, lavfi, from 'testsrc=d=5':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 [graph 0 input from stream 0:0 @ 0x33640a0] w:320 h:240 pixfmt:rgb24
 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
 [output stream 0:0 @ 0x3363e20] No opaque field provided
 [auto-inserted scaler 0 @ 0x3365060] w:320 h:240 fmt:rgb24 sar:1/1 ->
 w:320 h:240 fmt:yuv420p sar:1/1 flags:0x4
 Output #0, ogg, to 'out.ogg':
   Metadata:
     title           : hello
     comment         : world
     encoder         : Lavf54.14.100
     Stream #0:0: Video: theora, yuv420p, 320x240 [SAR 1:1 DAR 4:3],
 q=2-31, 200 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> libtheora)
 Press [q] to stop, [?] for help
 frame=  125 fps=0.0 q=0.0 Lsize=     129kB time=00:00:05.00 bitrate=
 211.9kbits/s
 video:125kB audio:0kB subtitle:0 global headers:3kB muxing overhead
 0.951183%
 }}}

 The title & comment meta appear in VLC, but don't with FFmpeg tools:

 {{{
 % ./ffprobe -v 0 -show_format -show_streams out.ogg|grep TAG
 %
 }}}

 {{{
 % ./ffmpeg -i out.ogg -y out.ffmeta
 ffmpeg version N-42157-g9d0c71e Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jul  3 2012 11:11:58 with gcc 4.7.1
   configuration: --enable-gpl --enable-fontconfig --enable-libfreetype
 --enable-libmp3lame --cc='ccache cc' --enable-libx264 --enable-libvorbis
 --enable-libmodplug --enable-libass --enable-libtheora
 --samples=/home/cboesch/fate-samples
 --prefix=/home/cboesch/src/ff/ffmpeg/ffmpeg_build
   libavutil      51. 63.100 / 51. 63.100
   libavcodec     54. 32.100 / 54. 32.100
   libavformat    54. 14.100 / 54. 14.100
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     3.  0.101 /  3.  0.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, ogg, from 'out.ogg':
   Duration: 00:00:05.00, start: 0.000000, bitrate: 211 kb/s
     Stream #0:0: Video: theora, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25
 tbr, 25 tbn, 25 tbc
 Output #0, ffmetadata, to 'out.ffmeta':
 Stream mapping:
 Press [q] to stop, [?] for help
 size=       0kB time=577014:32:22.77 bitrate=   0.0kbits/s
 video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 }}}

 {{{
 % cat out.ffmeta
 ;FFMETADATA1
 %
 }}}

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


More information about the FFmpeg-trac mailing list