meta data for webm file

1,960 views
Skip to first unread message

Amar

unread,
Jul 16, 2010, 3:18:11 AM7/16/10
to WebM Discussion
Dear One,
I can not get meta-data for webm video file.
I converted a flv file to webm file as :
$ ffmpeg -i cartoon.flv -b 506000 -fs 10000000 -f webm -vcodec libvpx
cartoon.webm

and when I used ffprobe , cartoon.webm have almost no meta data

ffprobe cartoon.webm
FFprobe version SVN-r24084, Copyright (c) 2007-2010 the FFmpeg
developers
built on Jul 7 2010 23:50:53 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --
enable-postproc --enable-pthreads --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --
enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx
libavutil 50.20. 0 / 50.20. 0
libavcodec 52.79. 1 / 52.79. 1
libavformat 52.73. 0 / 52.73. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 1 / 1.20. 1
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska @ 0xae82010] Estimating duration from bitrate, this may be
inaccurate
Input #0, matroska, from 'cartoon.webm':
Duration: 00:02:26.79, start: 0.000000, bitrate: N/A
Stream #0.0: Video: vp8, yuv420p, 660x480, PAR 1:1 DAR 11:8, 24
fps, 24 tbr, 1k tbn, 24 tbc
Stream #0.1: Audio: vorbis, 44100 Hz, stereo, s16

_____________________________________________________________________________

which was there with cartoon.flv

ffprobe cartoon.flv
FFprobe version SVN-r24084, Copyright (c) 2007-2010 the FFmpeg
developers
built on Jul 7 2010 23:50:53 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --
enable-postproc --enable-pthreads --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --
enable-libx264 --enable-libxvid --enable-x11grab --enable-libvpx
libavutil 50.20. 0 / 50.20. 0
libavcodec 52.79. 1 / 52.79. 1
libavformat 52.73. 0 / 52.73. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.20. 1 / 1.20. 1
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[flv @ 0xa16f020] Estimating duration from bitrate, this may be
inaccurate
Input #0, flv, from 'cartoon.flv':
Metadata:
duration : 376
starttime : 0
totalduration : 376
width : 660
height : 480
videodatarate : 366
audiodatarate : 129
totaldatarate : 502
framerate : 24
bytelength : 23671397
canseekontime : true
sourcedata : B7AA66E05HH1278498044352903
purl :
pmsg :
Duration: 00:06:16.43, start: 0.000000, bitrate: 506 kb/s
Stream #0.0: Video: h264, yuv420p, 660x480 [PAR 1:1 DAR 11:8], 374
kb/s, 24 tbr, 1k tbn, 47.98 tbc
Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 131 kb/s

__________________________________________________________

what can be the possible reason...?
Should I need to include all parameters explicitly
Also the webm file plays well
so it means that parameters are there with it.
regards


Mike Melanson

unread,
Jul 16, 2010, 10:02:47 AM7/16/10
to webm-d...@webmproject.org
On 07/16/2010 12:18 AM, Amar wrote:
> Dear One,
> I can not get meta-data for webm video file.
> I converted a flv file to webm file as :
> $ ffmpeg -i cartoon.flv -b 506000 -fs 10000000 -f webm -vcodec libvpx
> cartoon.webm
>
> and when I used ffprobe , cartoon.webm have almost no meta data

Almost no metadata? I see absolutely no metadata in that output.

This is a problem with FFmpeg, rather than WebM in general. Here is a
page describing all of the metadata keys that FFmpeg presently honors:

http://wiki.multimedia.cx/index.php?title=FFmpeg_Metadata

FFmpeg's Matroska(/WebM) muxer only recognizes "title", "description",
and "language" metadata keys. If the source FLV had any of those keys,
they would have been transferred.

Does Matroska support other metadata keys?

--
-Mike Melanson

Steve Lhomme

unread,
Jul 16, 2010, 10:22:33 AM7/16/10
to webm-d...@webmproject.org
Yes Matroska has a lot more possible metadata:

None with the info that are already found elsewhere at the container level though.

If I have enough time I might add support for more in FFmpeg. It's particularly important to pay attention the TargetTypeValue. For example "TITLE" doesn't have the same meaning for values 50 and 60.

Now Matroska tags are not supported in WebM.



--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To post to this group, send email to webm-d...@webmproject.org.
To unsubscribe from this group, send email to webm-discuss...@webmproject.org.
For more options, visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/?hl=en.


nandan amar

unread,
Jul 16, 2010, 12:58:30 PM7/16/10
to webm-d...@webmproject.org
Dear Mike Melanson ,Steve Lhomme,
Sorry for miss-communication,
Actually I mean to know about parameters...like..
duration ,starttime, totalduration,width,height, videodatarate, audiodatarate, totaldatarate, framerate , bytelength , canseekontime,sourcedata ,purl, pmsg. etc

as these parameters were present in original file and not in converted file.
--
Amar Kumar Nandan
MS by Research
IIIT-Bangalore
Karnataka ,India , 560100
http://aknandan.co.nr

Mike Melanson

unread,
Jul 16, 2010, 10:30:26 PM7/16/10
to webm-d...@webmproject.org
On 07/16/2010 09:58 AM, nandan amar wrote:
> Dear Mike Melanson ,Steve Lhomme,
> Sorry for miss-communication,
> Actually I mean to know about parameters...like..
> duration ,starttime, totalduration,width,height, videodatarate,
> audiodatarate, totaldatarate, framerate , bytelength ,
> canseekontime,sourcedata ,purl, pmsg. etc
>
> as these parameters were present in original file and not in converted file.

I understood your original email. I hope I communicated the fact that
what you observed is a known shortcoming in FFmpeg.

--
-Mike Melanson

Reply all
Reply to author
Forward
0 new messages