[FFmpeg-trac] #1386(FFprobe:new): ffprobe report different widths for some videos

FFmpeg trac at avcodec.org
Fri Jun 1 15:27:12 CEST 2012


#1386: ffprobe report different widths for some videos
-------------------------------------+-------------------------------------
               Reporter:  Đonny      |                  Owner:  stefano
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:  FFprobe
                Version:             |               Keywords:  height site
  unspecified                        |  XML JSON
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 For some video files ffprobe reports different width on stderr and
 different to XML/JSON stdout.
 Environment: Win7 x64
 Command line: ffprobe -print_format json -show_streams -show_format
 "368×288 00-06 barsandtone.flv"
 Output:
 d:\UGC testfiles\Video>ffprobe -print_format json -show_streams
 -show_format "368×288 00-06 barsandtone.flv" -v 9 -loglevel 99
 ffprobe version N-41074-g9c27f29 Copyright (c) 2007-2012 the FFmpeg
 developers
   built on May 27 2012 13:25:48 with gcc 4.6.3
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --enable-libass
  --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
 --enable-libope
 njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex
 --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
 libxvid --enable-zlib
   libavutil      51. 55.100 / 51. 55.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.101 / 54.  6.101
   libavdevice    54.  0.100 / 54.  0.100
   libavfilter     2. 77.100 /  2. 77.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 {[flv @ 0000000001e4ee60] Format flv probed with size=2048 and score=100
 [flv @ 0000000001e4ee60] File position before avformat_find_stream_info()
 is 13
 [flv @ 0000000001e4ee60] max_analyze_duration 5000000 reached at 5018000
 [flv @ 0000000001e4ee60] File position after avformat_find_stream_info()
 is 70722
 Input #0, flv, from '368├Ś288 00-06 barsandtone.flv':
   Metadata:
     audiodelay      : 0
     canSeekToEnd    : true
   Duration: 00:00:06.00, start: 0.000000, bitrate: 118 kb/s
     Stream #0:0, 1, 1/1000: Video: vp6f, yuv420p, 360x288, 1/1000, 409
 kb/s, 1k tbr, 1k tbn, 1k tbc
     Stream #0:1, 195, 1/1000: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s

     "streams": [
         {
             "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": 368,
             "height": 288,
             "has_b_frames": 0,
             "pix_fmt": "yuv420p",
             "level": -99,
             "r_frame_rate": "1000/1",
             "avg_frame_rate": "0/0",
             "time_base": "1/1000",
             "start_time": "0.038000",
             "bit_rate": "409600"
         },
         {
             "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": "s16",
             "sample_rate": "44100",
             "channels": 2,
             "bits_per_sample": 0,
             "r_frame_rate": "0/0",
             "avg_frame_rate": "0/0",
             "time_base": "1/1000",
             "start_time": "0.000000",
             "bit_rate": "96000"
         }
     ],
     "format": {
         "filename": "368├Ś288 00-06 barsandtone.flv",
         "nb_streams": 2,
         "format_name": "flv",
         "format_long_name": "FLV format",
         "start_time": "0.000000",
         "duration": "6.000000",
         "size": "88722",
         "bit_rate": "118296",
         "tags": {
             "audiodelay": "0",
             "canSeekToEnd": "true"
         }
     }
 }
 ================================================================

 See - 360x288 vs. "width": 368, "height": 288

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1386>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list