[FFmpeg-user] FFmpeg accuracy issues.

Shlomi Shalem shlomi at shalem.co
Fri Jul 27 18:03:51 CEST 2012


Hello Roger,

This is the first packet of the video file ('foo.mov'):

*[PACKET]*
*codec_type=audio*
*stream_index=1*
*pts=0*
*pts_time=0.000000*
*dts=0*
*dts_time=0.000000*
*duration=1024*
*duration_time=0.023220*
*size=4*
*pos=36*
*flags=K*
*[/PACKET]*
*
*
And the last packet:

*[PACKET]*
*codec_type=video*
*stream_index=0*
*pts=24208*
*pts_time=40.346667*
*dts=24208*
*dts_time=40.346667*
*duration=25*
*duration_time=0.041667*
*size=3096*
*pos=4041485*
*flags=_*
*[/PACKET]*

This is the first packet of the audio file ('foo.wav'):

*[PACKET]*
*codec_type=audio*
*stream_index=0*
*pts=0*
*pts_time=0.000000*
*dts=0*
*dts_time=0.000000*
*duration=2048*
*duration_time=0.046440*
*size=4096*
*pos=46*
*flags=K*
*[/PACKET]*

And the last packet:

*[PACKET]*
*codec_type=audio*
*stream_index=0*
*pts=1781760*
*pts_time=40.402721*
*dts=1781760*
*dts_time=40.402721*
*duration=1024*
*duration_time=0.023220*
*size=2048*
*pos=3563566*
*flags=K*
*[/PACKET]*

On Fri, Jul 27, 2012 at 6:45 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:

> > *size=     864kB time=00:00:10.03 bitrate= 705.6kbits/s    *
> > *video:0kB audio:864kB global headers:0kB muxing overhead 0.005199%*
> > *
> > *
> > Still didn't solve the problem. The output file is too long (even when
> I'm
> > checking it with another applications).
>
> If you use ffprobe -show_packets what is the difference in pts_time
> between your first and last audio packets? (and video?)
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list