Hello,

can anyone help on this? I still have not solved syncing problems on SDI
output when I use live inputs (udp://)

Input (permanent broadcasting channel) is tested and DVB compliant. Audio /
video are perfectly synced on professional decoders sdi output.

I am using last version of Melt (6.12.0 and 6.13.0) and very simple
commands:

*#!/bin/bash*

*export LD_LIBRARY_PATH=/usr/local/lib/*

*/usr/bin/melt -profile atsc_1080p50
udp://224.168.240.200:5200?fifo_size=9050000
<http://224.168.240.200:5200?fifo_size=9050000> audio_index=all -consumer
decklink:0 channels=16*
*exit 0*

If I remove the audio_index=all, I get better results for a while. I mean,
in the ouput I only get first audio pair but it does not go off-sync with
the video so quick.

If I include the audio_index=all option I loose syncing with the second
audio pair (VO) usually in a matter of minutes. Sometimes is off-sync from
the moment of starting.

Any help would be really appreciated.

Regards,

David



On Mon, 17 Sep 2018 at 18:08, David Alonso Grande <dalon...@gmail.com>
wrote:

> Hello,
>
> I am trying to setup an SDI Decoder with Melt and a Decklink Duo 2 card.
>
> I don't have any issues when I decode from files or if my UDP input has
> only one audio pair.
>
> But I am using a live 4 audio channels Mpeg-2 UDP TS as input (see ffprobe
> output below):
>
> Input #0, mpegts, from 'udp://224.168.240.71:2071':
>   Duration: N/A, start: 91131.278900, bitrate: 9480 kb/s
>   Program 703
>     Metadata:
>       service_name    : Viajar SD
>       service_provider:
>     Stream #0:0[0x1b77]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
> yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 9000 kb/s, 25 fps, 25
> tbr, 90k tbn, 50 tbc
>     Stream #0:1[0x1b78](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
> Hz, stereo, fltp, 256 kb/s
>     Stream #0:2[0x1b79](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
> Hz, stereo, fltp, 224 kb/s
>
>
> I am using this command:
>
> /usr/bin/melt -profile atsc_1080i_50 av.fps=30 udp://
> 224.168.240.71:2071?fifo_size=4525000 audio_index=all -filter
> audiochannels -filter audiomap 0=0 1=1 2=2 3=3 4=4 5=5 6=6 7=7 8=8
> -consumer decklink:0 channels=8
>
> And I don't manage to sync video and audio on SDI output.
>
> If I play UDP input with VLC everything is OK.
>
> If I do a first step recording input with this ffmpeg command:
>
> /home/decoder/melt/20180711/bin/ffmpeg -i 'udp://
> 224.168.240.71:2071?fifo_size=4525000&overrun_nonfatal=1' \
> -map 0:0 -map 0:1 -map 0:2 \
> -c:v mpeg2video -pix_fmt yuv420p -r 25 -s 1920x1080 -aspect 16:9 -qscale:v
> 2 \
> -c:a mp2 -b:a 192k \
> -f mpegts /home/decoder/PRUEBAS_MELT_AUDIOS/viajar_SD.ts
>
> And then decode it with Melt from file:
>
> /usr/bin/melt -profile atsc_1080i_50
> /home/decoder/PRUEBAS_MELT_AUDIOS/viajar_SD.ts audio_index=all -filter
> audiochannels -filter audiomap 0=0 1=1 2=2 3=3 4=4 5=5 6=6 7=7 8=8
> -consumer decklink:0 channels=8
>
> everything is OK on SDI output.
>
> I would need to do it in one step, without recording.
>
> I can upload a sample of input recording if that helps.
>
> Any advice would be greatly appreciated.
>
> Regards,
>
> David
>
>
>
>
>
>
>
>
>
>
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to