[FFmpeg-trac] #3541(ffprobe:new): amr file use the last packet mode and size to calculate bit rate,

FFmpeg trac at avcodec.org
Thu Apr 10 04:26:55 CEST 2014


#3541: amr file use the last packet mode and size to calculate bit rate,
---------------------------------+-----------------------------------
             Reporter:  queniao  |                    Owner:
                 Type:  defect   |                   Status:  new
             Priority:  normal   |                Component:  ffprobe
              Version:  2.1.4    |               Resolution:
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+-----------------------------------

Comment (by queniao):

 ~/o/FFmpeg/FFmpeg-master$ ./ffprobe ~/raw/111.amr -show_streams
 ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
   built on Apr 10 2014 10:15:28 with gcc 4.6 (Ubuntu/Linaro
 4.6.3-1ubuntu5)
   configuration: --disable-yasm
   libavutil      52. 75.100 / 52. 75.100
   libavcodec     55. 58.103 / 55. 58.103
   libavformat    55. 36.103 / 55. 36.103
   libavdevice    55. 11.100 / 55. 11.100
   libavfilter     4.  3.100 /  4.  3.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
 [amr @ 0x1bb8240] Estimating duration from bitrate, this may be inaccurate
 Input #0, amr, from '/home/qiniu/raw/111.amr':
   Duration: 00:00:09.56, bitrate: 5 kb/s
     Stream #0:0: Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 5
 kb/s
 [STREAM]
 index=0
 codec_name=amrnb
 codec_long_name=AMR-NB (Adaptive Multi-Rate NarrowBand)
 profile=unknown
 codec_type=audio
 codec_time_base=1/8000
 codec_tag_string=samr
 codec_tag=0x726d6173
 sample_fmt=flt
 sample_rate=8000
 channels=1
 channel_layout=mono
 bits_per_sample=0
 id=N/A
 r_frame_rate=0/0
 avg_frame_rate=0/0
 time_base=1/8000
 start_pts=N/A
 start_time=N/A
 duration_ts=76480
 duration=9.560000
 bit_rate=5200
 nb_frames=N/A
 nb_read_frames=N/A
 nb_read_packets=N/A
 DISPOSITION:default=0
 DISPOSITION:dub=0
 DISPOSITION:original=0
 DISPOSITION:comment=0
 DISPOSITION:lyrics=0
 DISPOSITION:karaoke=0
 DISPOSITION:forced=0
 DISPOSITION:hearing_impaired=0
 DISPOSITION:visual_impaired=0
 DISPOSITION:clean_effects=0
 DISPOSITION:attached_pic=0
 [/STREAM]

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3541#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list