Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-21 Thread Ibrahim Tachijian
Hello Devin, Thank you for all your input. I understand the A/V sync issues is a hard task and we need to save the original video to catch where the issue happened. You may be well served to simultaneously write out a copy of the > original TS to disk prior to transcoding. This will allow you to

Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Devin Heitmueller
Hello Ibrahim, > I do have another issue with Audio sync when segmenting live content coming > from satellite but without encoding (stream copying only). And since you > cannot use aresample when copying I am unsure how you would go about to > solve that issue. I can make a few general suggestion

Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Ibrahim Tachijian
I will give this a try to see if it will solve my issues when transcoding live content. I do have another issue with Audio sync when segmenting live content coming from satellite but without encoding (stream copying only). And since you cannot use aresample when copying I am unsure how you would g

Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Gyan Doshi
On 20-06-2018 01:25 PM, Ibrahim Tachijian wrote: If the diff is > 1 then I am considering the audio to be out of sync and restart the process. Is this correct ? Is it not? Why? Of course the best way is to implement something directly into ffmpeg. Have you tried inserting the aresample f

[FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Ibrahim Tachijian
Hey, So this is a problem that has been bugging me for years. 1. The source is udp and the actual source is satellite. 2. Knowing its satellite we also know the stream won't be 100% perfect, there will be losses. 3. Tranacoding with h264 and fdk-aac and outputting to hls. The problem is that aft