How can I insert a logo on a multicast streaming?

About encoding, codec settings, muxers and filter usage
FloCTN
New Cone
New Cone
Posts: 7
Joined: 01 Mar 2007 14:11

How can I insert a logo on a multicast streaming?

Postby FloCTN » 03 Mar 2007 01:51

Hello everybody,

First, congratulations for your very good job!

I'm part of the Centrale Lyon's video club, I'm French, so excuse me for my english. :oops:

We streams a TV channel on the school's network in multicast and by using SAP announces.

I would like to insert a logo on the streaming like the others TV channels.
At the time, the code on the server is:

Code: Select all

screen -d -m -S CTV vlc --ttl 1 udp://@ --sout '#duplicate{dst=std{access=udp,mux=ts,url=239.255.1.0,sap,name="CTV"}}' -I dummy
I tried the following code without any success (the logo isn't displayed) :

Code: Select all

screen -d -m -S CTV vlc --logo-file CTV.png --ttl 1 udp://@ --sout '#transcode{sfilter=logo}:duplicate{dst=std{access=udp,mux=ts,url=239.255.1.0,sap,name="CTV"}}' -I dummy
Could you help me please?

Thanks :lol:

--------------------------------------------------------------------

Bonjour à tous,

Je fais partie du club multimédia de l'ecole Centrale de Lyon

Nous diffusons une chaine de TV sur le réseau de l'école en multicast et en utilisant les annonces SAP.

Je voudrais insérer un logo sur le flux vidéo à la manière des chaines de TV.
Pour le moment le code sur le serveur est :

Code: Select all

screen -d -m -S CTV vlc --ttl 1 udp://@ --sout '#duplicate{dst=std{access=udp,mux=ts,url=239.255.1.0,sap,name="CTV"}}' -I dummy
j'ai essayé le code suivant sans succès (pas d'affichage de logo) :

Code: Select all

screen -d -m -S CTV vlc --logo-file CTV.png --ttl 1 udp://@ --sout '#transcode{sfilter=logo}:duplicate{dst=std{access=udp,mux=ts,url=239.255.1.0,sap,name="CTV"}}' -I dummy
Pouvez vous m'aider?

Merci :lol:

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 03 Mar 2007 01:59

You need to tell it to actually transcode the video: add vcodec=mp2v,vb=2048 in transcode. (Transcode only transcodes audio / video if you give it a acodec/vcodec ... even if you're telling it to apply a sub filter).

Bonne chance!
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

FloCTN
New Cone
New Cone
Posts: 7
Joined: 01 Mar 2007 14:11

Postby FloCTN » 03 Mar 2007 02:12

Ca fonctionne merci beaucoup
:D


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 3 guests