Hello,

I would like to get a CBR Mpeg2 TS over an UDP multicast generated with
melted. I don't have any problem when using avformat consumer (not CBR, but
working) but I don't manage to do it with cbrts consumer.

I declare I have read these two links (like a thousand of times):

http://www.mltframework.org/bin/view/MLT/ConsumerCbrts
http://www.mltframework.org/bin/view/MLT/ConsumerCbrtsMore

And looked for examples in the mailing list. I've only found this post
suitable for my needs:

https://sourceforge.net/p/mlt/mailman/message/32866022/

With this interesting part which I don't know how to use, thought it seems
it would suit my needs.

consumer = mlt.Consumer( profile, "avformat:udp://
224.224.224.224:1234?pkt_size=1316&reuse=1" )
consumer.set( "real_time", 1 )

I am testing in a Debian 8 with bash 4.3.30

Roadmap:

- First: Manage to make it work with Melt.
- Second: Analyze output with streamguru
- Third: Manage to make it work in Melted and use it for playout.

Ok, let's go step by step.

1. I am running this shell script directly in bash:

melt -profile atsc_1080i_50 test_2_audios_dag.mp4 audio_index=all -consumer
cbrts muxrate=10240000 \
vcodec=mpeg2video bufsize=1835008 vb=7000k minrate=7000k maxrate=7000k g=15
bf=2 \
acodec=mp2 ab=256k channels=4 channels.0=2 channels.1=2 \
ds=3 real_time=-2

which sends everything to stdout.

2. How do I capture that info from stdout and send it to an udp socket?
I've seen your python example program in CbrtsMore web page, but how do I
run it? I mean how do I connect my shell script output to the python
program?

3. How (where) can use this?

consumer = mlt.Consumer( profile, "avformat:udp://
224.224.224.224:1234?pkt_size=1316&reuse=1" )
consumer.set( "real_time", 1 )

4. And finally: If I manage to make this work in Melt, how can I put it in
a Melted config file?

As you can see I am a rookie developer. Any help would be really
appreciated.

Regards,

David
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to