[FFmpeg-user] Extract audio stream from non interleaved AVI

Lencho lencho at vivaldi.net
Mon May 13 23:07:34 EEST 2019


Please refer to the link I sent in the question which presents 
everything more clearly than in an email:
https://stackoverflow.com/questions/55966809/ffmpeg-audio-stream-extraction-on-non-interleaved-avi-slow-compared-to-avisynt

As for a sample file, how should I send it? They're heavy (like 800MiB 
for a 7 seconds clip).

Thank you,

---

Following up a question on StackOverflow which explains the "problem" in 
more details:
https://stackoverflow.com/questions/55966809/ffmpeg-audio-stream-extraction-on-non-interleaved-avi-slow-compared-to-avisynt 


Short version: extracting audio from a non-interleaved AVI is slow, the 
whole file (i.e. video stream) has to be read to get to the audio (I 
assume this is what's happening).
On a properly interleaved AVI it's near instantaneous.
The question revolves around the fact that AviSynth can do it almost 
immediately, even on non-interleaved files.

I'm curious to know if anyone has knowledge about this and if it would 
be conceivable for FFmpeg to do it as quickly as AviSynth.
Of course I know non-interleaved AVI are not ideal but the fact is I 
cannot do anything about my source of files.


Le 13/05/19 à 20:15, Carl Eugen Hoyos a écrit :
>
>> Am 13.05.2019 um 19:27 schrieb Lencho via ffmpeg-user <ffmpeg-user at ffmpeg.org>:
>> Short version: extracting audio from a non-interleaved AVI is slow, the whole file (i.e. video stream) has to be read to get to the audio (I assume this is what's happening).
>> On a properly interleaved AVI it's near instantaneous.
> Please provide the command line you tested together with the complete, uncut console output and a sample file.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list