[FFmpeg-trac] #909(FFprobe:new): FFProbe Print_Format Improper Formatting
FFmpeg
trac at avcodec.org
Tue Jan 10 08:08:03 CET 2012
#909: FFProbe Print_Format Improper Formatting
--------------------------------------+---------------------------------
Reporter: ChrisAtlGA | Owner: stefano
Type: defect | Status: new
Priority: normal | Component: FFprobe
Version: 0.9.1 | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
--------------------------------------+---------------------------------
When using ffprobe, using the XML option for print_format, character
encoding on values does not take place which creates invalid XML which
can't be parsed.
The JSON option will render proper encoding to protect JavaScript run-time
by adding an additional backslash when one is present such as in media
path/filename. Example: "D:\movie.mp4" appears in JSON output as "D:\
\move.mp4". No special handling takes place with XML.
In all formats (default, XML, JSON) using the show_streams option, the
Bit_Rate for both audio and video are omitted. This information is present
in the standard metadata/duration/stream sections in the console output.
Thank you for the consideration of this bug submission.
Chris
ffprobe -i "D:\admin\ffmpeg\stv.flv" -show_streams -print_format json
ffprobe version N-36492-g7f83db3, Copyright (c) 2007-2012 the FFmpeg
developers
built on Jan 5 2012 01:59:46 with gcc 4.6.2
configuration: --disable-static --enable-shared --enable-gpl --enable-
version3
--disable-w32threads --enable-runtime-cpudetect --enable-avisynth
--enable-bzli
b --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-l
ibrtmp --enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-li
bvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-l
ibx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 34.100 / 51. 34.100
libavcodec 53. 53.100 / 53. 53.100
libavformat 53. 29.100 / 53. 29.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 57.101 / 2. 57.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 5.100 / 0. 5.100
libpostproc 51. 2.100 / 51. 2.100
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/909>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list