[streaming] Re: Spam: Re: create 3gp compliant content with vlc
Torben Knerr
ukio at gmx.de
Mon May 2 23:41:18 CEST 2005
>
>Could you please describe me your setup (platform, live source..) and
>the command line you gave?
>I would like to make some tests also in the future! :-)
>
>Thanks,
>Claudio
>
>
hi claudio,
the test was done using vlc and darwin streaming server on windows xp.
live source could be any video vlc understands.
i used vlc to encode the video, but instead of writing the encoded video to
a file, i send the output via rtp to darwin streaming server (rtp
address is
127.0.0.1 since i have vlc and darwin on the same machine).
when a client connects to the server through a sdp file (see below),
the server will "reflect" the rtp stream from vlc to the client.
i used vlc to generate an sdp file in darwin's "movies" directory (the
directory
where usually the encoded media for filebased streaming resides).
note that i had to add the bandwidth modifier to the sdp file manually,
otherwise the player on the phone won't play the stream because of
"insufficient bandwith". add this to your vlc-generated sdp file if the
video
has a bandwidth of 20kbps:
m=video 21000 RTP/AVP 96 <-- vlc generated
b=AS:15 <-- manually added
a=rtpmap:96 MP4V-ES/90000 <-- vlc-generated
see http://www.ietf.org/rfc/rfc2327.txt for details about sdp protocol.
here's the vlc commandline i used:
vlc -vvv --extraintf="dummy" --noaudio --loop "e:\tricks_cut.avi"
--aspect-ratio="1.22222" --sout="#transcode:rtp"
--sout-transcode-width=176 --sout-transcode-height=144
--sout-transcode-vcodec="H263" --sout-transcode-vb="15"
--sout-transcode-fps="5" --sout-rtp-dst="127.0.0.1"
--sout-rtp-port-video="22000" --sout-rtp-ttl="255"
--sout-rtp-sdp="file://C:/Program Files/Darwin Streaming
Server/Movies/vlc3.sdp"
regards,
torben
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list