[FFmpeg-trac] #2268(FFprobe:new): ffprobe reporting incorrect dimension in xml format
FFmpeg
trac at avcodec.org
Wed Feb 13 12:14:37 CET 2013
#2268: ffprobe reporting incorrect dimension in xml format
---------------------------------+--------------------------------------
Reporter: smblr75 | Type: defect
Status: new | Priority: important
Component: FFprobe | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+--------------------------------------
Summary of the bug:
ffprobe reports a dimension of 640x360 in non-xml output while reporting
640x368 in xml output in stream tag for the attached file.
How to reproduce:
{{{
% ffprobe -print_format xml -show_format -show_streams incorrect-
dimension.flv
ffprobe version 1.1.git-864fdfa Copyright (c) 2007-2013 the FFmpeg
developers
built on Feb 13 2013 10:08:48 with Apple clang version 3.0
(tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora
--enable-libschroedinger --enable-libopenjpeg --enable-libmodplug
--enable-libvpx --enable-libspeex --enable-libfreetype
--mandir=/opt/local/share/man --enable-shared --enable-pthreads
--cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-
postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-
libfaac
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.101 / 54. 91.101
libavformat 54. 61.104 / 54. 61.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 35.101 / 3. 35.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
<?xml version="1.0" encoding="UTF-8"?>
<ffprobe>
Input #0, flv, from 'incorrect-dimension.flv':
Metadata:
audiodelay : 0
canSeekToEnd : true
encoder : Lavf54.61.104
Duration: 00:00:01.02, start: 0.000000, bitrate: 1329 kb/s
Stream #0:0: Video: vp6f, yuv420p, 640x360, 1097 kb/s, 25 tbr, 1k tbn,
1k tbc
Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
<streams>
<stream index="0" codec_name="vp6f" codec_long_name="On2 VP6
(Flash version)" codec_type="video" codec_time_base="1/1000"
codec_tag_string="[0][0][0][0]" codec_tag="0x0000" width="640"
height="368" has_b_frames="0" sample_aspect_ratio="0:1"
display_aspect_ratio="0:1" pix_fmt="yuv420p" level="-99"
r_frame_rate="25/1" avg_frame_rate="0/0" time_base="1/1000" start_pts="38"
start_time="0.038000" bit_rate="1097728">
<disposition default="0" dub="0" original="0" comment="0"
lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0"
clean_effects="0" attached_pic="0"/>
</stream>
<stream index="1" codec_name="mp3" codec_long_name="MP3 (MPEG
audio layer 3)" codec_type="audio" codec_time_base="1/44100"
codec_tag_string="[0][0][0][0]" codec_tag="0x0000" sample_fmt="s16p"
sample_rate="44100" channels="2" bits_per_sample="0" r_frame_rate="0/0"
avg_frame_rate="0/0" time_base="1/1000" start_pts="0"
start_time="0.000000" bit_rate="128000">
<disposition default="0" dub="0" original="0" comment="0"
lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0"
clean_effects="0" attached_pic="0"/>
</stream>
</streams>
<format filename="incorrect-dimension.flv" nb_streams="2"
format_name="flv" format_long_name="FLV (Flash Video)"
start_time="0.000000" duration="1.018000" size="169225"
bit_rate="1329862">
<tag key="audiodelay" value="0"/>
<tag key="canSeekToEnd" value="true"/>
<tag key="encoder" value="Lavf54.61.104"/>
</format>
</ffprobe>
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2268>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list