#10613: ffprobe outputs invalid xml
-------------------------------------+-------------------------------------
             Reporter:  nuro         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 Because of recent change
 
[https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/d2d3a83ad932161a2c572416d7ddfe460a15bba5/],
 ffprobe outputs invalid xml. (null)

 {{{
 <?xml version="1.0" encoding="UTF-8"?>
 <ffprobe>
     <streams>
         <stream index="0" codec_name="mpeg1video" codec_long_name="MPEG-1
 video" codec_type="video" codec_tag_string="[0][0][0][0]"
 codec_tag="0x0000" width="320" height="240" coded_width="0"
 coded_height="0" closed_captions="0" film_grain="0" has_b_frames="1"
 sample_aspect_ratio="49:33" display_aspect_ratio="196:99"
 pix_fmt="yuv420p" level="-99" color_range="tv" chroma_location="center"
 field_order="progressive" refs="1" r_frame_rate="60/1"
 avg_frame_rate="25/1" time_base="1/1200000" duration_ts="35563887"
 duration="29.636572" bit_rate="1638400" extradata_size="12">
             <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" timed_thumbnails="0" captions="0"
 descriptions="0" metadata="0" dependent="0" still_image="0"/>
             <side_data_list>
                 <(null) key="side_data_type" value="CPB properties"/>
  max_bitrate="0" min_bitrate="0" avg_bitrate="0" buffer_size="327680"
 vbv_delay="-1"            </side_data_list>
         </stream>
     </streams>

     <format filename="C:\nostartinfo.mpeg" nb_streams="1" nb_programs="0"
 format_name="mpegvideo" format_long_name="raw MPEG video"
 duration="29.636573" size="6069570" bit_rate="1638399" probe_score="51"/>
 </ffprobe>
 }}}

 How to reproduce:

 {{{
 % ffprobe -show_streams -show_format -print_format xml -v quiet
 nostartinfo.mpeg
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10613>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to