[FFmpeg-user] 回复: incorrect fps and tbr

qw applemax82 at 163.com
Fri Jul 17 08:16:10 CEST 2015


Hi,

I know the function of ffprobe

>Input #0, avi, from '6_F16_DUAL_AB[WisMencoder Encoded].avi':
>  Metadata:
>    encoder         : MEncoder Sherpya-SVN-r27081-4.2.3
>  Duration: 00:00:43.16, start: 0.000000, bitrate: 7242 kb/s
>    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x960 [SAR 1:1 DAR 2:3], 6998 kb/s, SAR 16383:16384 DAR 5461:8192, 1k fps, 1k tbr, 1k tbn, 1k tbc
>    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 32000 Hz, stereo, s16p, 61 kb/s



But You can get the duration of whole file, but not the duration of each track. There are one or more tracks in  mp4 file. The duration of tracks maybe different. How to get the duration of each track?


Thanks!


B.R.


andrew













At 2015-07-17 13:05:21, "我是科学家" <summerpulse at qq.com> wrote:
>Sure, of course, below is the un-cut output from ffprobe:
>
>
>ffprobe 6_F16_DUAL_AB\[WisMencoder\ Encoded\].avi 
>ffprobe version git-2014-09-01-82acc66 Copyright (c) 2007-2014 the FFmpeg developers
>  built on Jul  3 2015 14:59:52 with gcc 4.4.7 (Ubuntu/Linaro 4.4.7-1ubuntu2)
>  configuration: --prefix=/home/guest/usr
>  libavutil      54.  1.100 / 54.  1.100
>  libavcodec     56.  0.100 / 56.  0.100
>  libavformat    56.  0.100 / 56.  0.100
>  libavdevice    56.  0.100 / 56.  0.100
>  libavfilter     5.  0.100 /  5.  0.100
>  libswscale      3.  0.100 /  3.  0.100
>  libswresample   1.  0.100 /  1.  0.100
>Input #0, avi, from '6_F16_DUAL_AB[WisMencoder Encoded].avi':
>  Metadata:
>    encoder         : MEncoder Sherpya-SVN-r27081-4.2.3
>  Duration: 00:00:43.16, start: 0.000000, bitrate: 7242 kb/s
>    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x960 [SAR 1:1 DAR 2:3], 6998 kb/s, SAR 16383:16384 DAR 5461:8192, 1k fps, 1k tbr, 1k tbn, 1k tbc
>    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 32000 Hz, stereo, s16p, 61 kb/s
>
>
>
>
>
>
>
>
>
>------------------ 原始邮件 ------------------
>发件人: "Carl Eugen Hoyos";<cehoyos at ag.or.at>;
>发送时间: 2015年7月17日(星期五) 上午6:00
>收件人: "ffmpeg-user"<ffmpeg-user at ffmpeg.org>; 
>
>主题: Re: [FFmpeg-user] incorrect fps and tbr
>
>
>
>我是科学家 <summerpulse <at> qq.com> writes:
>
>> I hava a AVI file which, according to ffmpeg, has 
>> frame rate of 1000. But we know that's incorrect.
>
>Please provide the sample
>
>> Here is what ffprobe said about the file:
>
>Please provide the complete, uncut console output, 
>not an excerpt.
>
>Carl Eugen
>_______________________________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>_______________________________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list