Extract audio stream from non interleaved AVI

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Extract audio stream from non interleaved AVI

FFmpeg-users mailing list
Hello,

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.

Thank you very much for your help or answer,

L

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Extract audio stream from non interleaved AVI

Carl Eugen Hoyos-2


> Am 13.05.2019 um 19:27 schrieb Lencho via ffmpeg-user <[hidden email]>:

> 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
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Extract audio stream from non interleaved AVI

FFmpeg-users mailing list
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 <[hidden email]>:
>> 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
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".