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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel