Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Zak
On 3/20/18 9:10 PM, Carl Eugen Hoyos wrote: 2018-03-21 1:56 GMT+01:00, Zak : What you ideally want is a software library that can decode the audio data itself and deduce the duration. What's wrong with FFmpeg? Please do not top-post here, Carl Eugen Wait, what

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Carl Eugen Hoyos
2018-03-21 1:56 GMT+01:00, Zak : > What you ideally want is a software library that can decode > the audio data itself and deduce the duration. What's wrong with FFmpeg? Please do not top-post here, Carl Eugen ___

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Carl Zwanzig
(Should have included this in my previous reply) On 3/20/2018 10:33 AM, Moritz Barsnick wrote: IIUC, both these durations are from headers. The real duration again may be different. ;-) I've come to not trust durations from file headers unless I they were encoded by a trusted source. As much

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Carl Zwanzig
(please do not top-post on this list) On 3/20/2018 10:33 AM, ned.hodd...@bellair.net wrote: Are you saying they're running the same underlying code the difference is just in the formatting to the user? No, only that with such a small difference (0.000,009) so it's more likely a formatting

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread ned . hodding
ffmpeg-user@ffmpeg.org > > Subject: Re: [FFmpeg-user] ffprobe audio duration mismatch > > > > On 3/20/2018 10:08 AM, ned.hodd...@bellair.net wrote: > > > In this case the difference is only 8.023991 vs 8.024000, but it doesn't > > > give me confidence that for ot

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Moritz Barsnick
On Tue, Mar 20, 2018 at 18:08:36 +0100, ned.hodd...@bellair.net wrote: > Could anyone tell me why I get slightly different audio durations reported > from the following two commands: > > ffprobe -show_streams x.m4a > > ffprobe -select_streams a:0 -show_entries format=duration x.m4a > > In

Re: [FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread Carl Zwanzig
On 3/20/2018 10:08 AM, ned.hodd...@bellair.net wrote: In this case the difference is only 8.023991 vs 8.024000, but it doesn't give me confidence that for other audio files the durations reported could be wildly different. Could easily be rounding error depending on how the number is being

[FFmpeg-user] ffprobe audio duration mismatch

2018-03-20 Thread ned . hodding
Could anyone tell me why I get slightly different audio durations reported from the following two commands: ffprobe -show_streams x.m4a ffprobe -select_streams a:0 -show_entries format=duration x.m4a In this case the difference is only 8.023991 vs 8.024000, but it doesn't give me confidence