[FFmpeg-user] getting some xml-ish dump while ffprobing a media file's metadata?
Stefano Sabatini
stefasab at gmail.com
Sat Dec 31 17:06:23 CET 2011
On date Saturday 2011-12-31 13:52:07 +0000, Albretch Mueller encoded:
> ~
> -print_format xml option is giving me an empty xml file
> ~
> what am i mistaking?
You need to tell what you want to print (-show_streams,
-show_format, -show_packets).
> ~
> $ ffprobe -print_format xml
> /media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv
> ffprobe version N-36301-g81980bf, Copyright (c) 2007-2011 the FFmpeg developers
> built on Dec 31 2011 08:26:41 with gcc 4.6.1
> configuration: --prefix=/media/sdb1/inst/sw
> libavutil 51. 33.100 / 51. 33.100
> libavcodec 53. 49.100 / 53. 49.100
> libavformat 53. 29.100 / 53. 29.100
> libavdevice 53. 4.100 / 53. 4.100
> libavfilter 2. 56.100 / 2. 56.100
> libswscale 2. 1.100 / 2. 1.100
> libswresample 0. 5.100 / 0. 5.100
> Input #0, flv, from
> '/media/sdb1/LklWb/com/youtube/gmcummings/Are_You_Going_With_Me_Quality_Version_Rare_Video~Ip7kEx789n8.flv':
> Metadata:
> starttime : 0
> totalduration : 259
> totaldatarate : 368
> bytelength : 11911909
> canseekontime : true
> sourcedata : B4A7DD646HH1325136036615908
> purl :
> pmsg :
> Duration: 00:04:18.64, start: 0.000000, bitrate: 368 kb/s
> Stream #0:0: Video: h264 (Main), yuv420p, 320x240 [SAR 1:1 DAR
> 4:3], 260 kb/s, 29.92 tbr, 1k tbn, 59.83 tbc
> Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 107 kb/s
> <?xml version="1.0" encoding="UTF-8"?>
> <ffprobe>
> </ffprobe>
> ~
> Also ffprobe -version does not include anymore the "built on" and
> configuration stanzas. I think it is best if it includes it in both
> the version and the regular ffprobe runs
Dunno, that was a recent change, affecting all the ff* tools.
More information about the ffmpeg-user
mailing list