Am Do., 10. Okt. 2019 um 19:56 Uhr schrieb Moritz Barsnick :
> Considering that FLAV packets usually contain a lot of samples (I
> believe I saw some ffmpeg default of 4096 samples per packet?), the
> packet's size will obviously determine the possible precision.
They can be very large,
On Thu, Oct 10, 2019 at 19:45:41 +0200, FFmpeg user discussions wrote:
> But it is strange anyway:
>
> _ffmpeg.exe -i _audio.flac -t 10 -codec copy _audio_2.flac
> —> it shows me 9.98
> _ffmpeg.exe -i audio_2.flac -f null -
> —> but encode is 10.08
>
> _ffmpeg.exe -i _audio.flac -t 20 -codec copy
I use -ss and not -t.
But thanks for the info.
I can bypass the problem with -codec flac.
Then it is accurate.
But it is strange anyway:
_ffmpeg.exe -i _audio.flac -t 10 -codec copy _audio_2.flac
—> it shows me 9.98
_ffmpeg.exe -i audio_2.flac -f null -
—> but encode is 10.08
_ffmpeg.exe -i
> To calculate by reencode is enough for me.
>
> But is it possible to get a thousandth of a second?
> 0.00 is not precise enough for me.
Use -ss as an output option. Everything would be a multiple of 1/48000, so
that’s probably just a rounded representation, unless it was 0.96?
To calculate by reencode is enough for me.
But is it possible to get a thousandth of a second?
0.00 is not precise enough for me.
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit
> What is the point of doing this calculation?
I need to trim 1.001 seconds
> It’s probably because flac is mostly a stream format, and you’re doing a
> stream copy. Re-encoding should fix all of this, it’s relatively inexpensive,
> > and it’s lossless after all, but if you really don’t want
> _ffprobe.exe -v 0 -sexagesimal -show_entries format^=duration -of
> compact^=p^=0^:nk^=1 _audio.flac
> 1:31:29.848938
>
>
> 5489.848938 - 1.001 = 5488.847938
>
>
What is the point of doing this calculation?
> I'm trying to trim 1.001 seconds from the beginning of a FLAC file.
> But the
Am Sa., 5. Okt. 2019 um 12:49 Uhr schrieb Felix Muster via ffmpeg-user
:
> I'm trying to trim 1.001 seconds from the beginning of a FLAC file.
> But the output has the wrong duration (same as the input) and so it's
> corrupt.
> When I try to open it with Adobe Audition I get an error (cannot read