Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-19 Thread Dpto. Datos Television Costa Blanca
El 19/05/2016 a las 22:38, Reuben Martin escribió El 16/05/2016 a las 22:15, Marton Balint escribió: The problem may well be that when the decklink card loses input, it provides video frames only but no audio. I am afraid you have to dig into the code, to figure out what is really going on. Y

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-19 Thread Reuben Martin
On May 17, 2016 3:05 AM, "Dpto. Datos Television Costa Blanca" < da...@tvt-datos.es> wrote: > > > > El 16/05/2016 a las 22:15, Marton Balint escribió: >> >> The problem may well be that when the decklink card loses input, it >> provides video frames only but no audio. I am afraid you have to dig in

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-17 Thread Dpto. Datos Television Costa Blanca
El 16/05/2016 a las 22:15, Marton Balint escribió: The problem may well be that when the decklink card loses input, it provides video frames only but no audio. I am afraid you have to dig into the code, to figure out what is really going on. You can try to modify it so it only adds a video fram

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-16 Thread Marton Balint
On Mon, 16 May 2016, Dpto. Datos Television Costa Blanca wrote: El 14/05/2016 a las 2:44, Marton Balint escribió: I've removed -re from the command, but if that doesnt help, how can I fix the desync? I have no way of "not having" the NO INPUT SIGNAL -> INPUT SIGNAL DETECTED problem. Also, whe

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-16 Thread Dpto. Datos Television Costa Blanca
El 14/05/2016 a las 2:44, Marton Balint escribió: I've removed -re from the command, but if that doesnt help, how can I fix the desync? I have no way of "not having" the NO INPUT SIGNAL -> INPUT SIGNAL DETECTED problem. Also, when the signal interrupts I see in the stream the colour bars. Do the

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-13 Thread Marton Balint
On Fri, 13 May 2016, Dpto. Datos Television Costa Blanca wrote: El 12/05/2016 a las 21:19, Marton Balint escribió: The actual command is: ./ffmpeg -re -f decklink -i "DeckLink SDI 4K@2" -c:v mpeg2video -pix_fmt yuv420p -aspect 16:9 -deinterlace -sc_threshold 10 -b:v 3.5M -minrate:v 3

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-13 Thread Dpto. Datos Television Costa Blanca
El 12/05/2016 a las 21:19, Marton Balint escribió: The actual command is: ./ffmpeg -re -f decklink -i "DeckLink SDI 4K@2" -c:v mpeg2video -pix_fmt yuv420p -aspect 16:9 -deinterlace -sc_threshold 10 -b:v 3.5M -minrate:v 3.5M -maxrate:v 3.5M -bufsize:v 2.4M -acodec mp2 -ac 2 -b:a 128k-meta

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-12 Thread Marton Balint
On Thu, 12 May 2016, Dpto. Datos Television Costa Blanca wrote: El 11/05/2016 a las 23:42, Marton Balint escribió: With -ar 44100 you are resampling the initial sample rate of the captured source (48000) to 44100. You are also manually specifying a resample filter with -af resample. Try your e

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-12 Thread Dpto. Datos Television Costa Blanca
El 11/05/2016 a las 23:42, Marton Balint escribió: With -ar 44100 you are resampling the initial sample rate of the captured source (48000) to 44100. You are also manually specifying a resample filter with -af resample. Try your encoding without these options. I've removed both options yesterday

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-11 Thread Marton Balint
On Tue, 10 May 2016, Dpto. Datos Television Costa Blanca wrote: Hi Marton, Thanks for replying. And without resampling you mean? Sorry, Im far away of having video skills. Do not top post. Try to figure out based on the ffmpeg command line manual what your command actually does. ./ffmpe

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-09 Thread Dpto. Datos Television Costa Blanca
Hi Marton, Thanks for replying. And without resampling you mean? Sorry, Im far away of having video skills. Regards, --Daniel El 09/05/2016 a las 21:38, Balint Marton escribió: On Mon, 9 May 2016, Dpto. Datos Television Costa Blanca wrote: Hi Again, Nobody had this problem before or kno

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-09 Thread Balint Marton
On Mon, 9 May 2016, Dpto. Datos Television Costa Blanca wrote: Hi Again, Nobody had this problem before or know how to fix it? I'd try it without resampling for starters. Regards, Marton ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://f

Re: [FFmpeg-user] Decklink with ffmpeg audio desync

2016-05-08 Thread Dpto. Datos Television Costa Blanca
Hi Again, Nobody had this problem before or know how to fix it? Thanks in advance, --Daniel B. El 28/04/2016 a las 10:41, Dpto. Datos Television Costa Blanca escribió: Hello everyone, Im Daniel and Im new to the list. Im doing an mpeg2 ts over multicast with a Decklink SDI 4K as input. Aft

[FFmpeg-user] Decklink with ffmpeg audio desync

2016-04-28 Thread Dpto. Datos Television Costa Blanca
Hello everyone, Im Daniel and Im new to the list. Im doing an mpeg2 ts over multicast with a Decklink SDI 4K as input. After some random time, audio and video start desyncing. Its start just a little bit at first for desyn start growing over time.. This is the command Im using and the initial