Re: [FFmpeg-devel] Strategy to optimally playback audio & video

2016-09-13 Thread Matthieu Beghin
Ok. Thanks for your replies. Keeping the audio in separate files is an idea, but I’d like to be able to work directly with a movie, without recompression. I found a solution to my problem: when the audio thread needs data, I read all packets but I only decompress audio packets, video packets are

Re: [FFmpeg-devel] Strategy to optimally playback audio & video

2016-09-12 Thread Sven C. Dack
On 11/09/16 20:37, Matthieu Beghin wrote: I see various solutions: 1- I could put in cache more than one second of audio and video and I should be ok, but with 4k movies, keeping 30 frames could imply using a huge amount of memory and I would like to avoid that. 2- I could open the file tw

Re: [FFmpeg-devel] Strategy to optimally playback audio & video

2016-09-12 Thread Lou Logan
On Sun, 11 Sep 2016 21:37:16 +0200, Matthieu Beghin wrote: > I hope I’m on the right mailing list. Unfortunately, this is not the correct mailing list: ffmpeg-devel is only for patch submissions and discussions related to the development of FFmpeg. If you need help using the FFmpeg libraries ref