Live Streaming in 3gp format

About encoding, codec settings, muxers and filter usage
akhilesh_s
New Cone
New Cone
Posts: 1
Joined: 25 Jul 2010 05:42

Live Streaming in 3gp format

Postby akhilesh_s » 25 Jul 2010 06:01

I've capture card with linux drivers. I want to encode and stream the captured stream in 3GP format.

Is it possible to have this transcoding and streaming using VLC + DSS. The video codec can be h.264 and audio codec is AAC and mux format is 3gp.

Or is there any other way in which 3gp live streaming is possible using VLC.

Any suggestions in this regard would be higly appreciated.


I tried this but it doesn't work

cvlc -vvv v4l2:///dev/video0:width=160:height=120 :input-slave=oss:///dev/audio1
--sout '#transcode{width=160,height=120,venc=ffmpeg,vcodec=h264,vb=160,scale=1,acodec=mp4a,ab=8,channels=1,samplerate=22100}:rtp{dst=127.0.0.1,port=10002,mux=3gp,sdp=file:///home/akhilesh/test.sdp}'

Idea is to get the sdp file working so that DSS can stream using RTSP.

Thanks
~Aks

dmfrey
New Cone
New Cone
Posts: 2
Joined: 30 Jul 2010 18:24
Operating System: Linux

Re: Live Streaming in 3gp format

Postby dmfrey » 30 Jul 2010 18:32

I would be interested in this as well.

With your solution, how would you hint the stream appropriately for 3gp. If I pre-process with ffmpeg, then run mp4box to add hints, it works fine. I haven't come up with any way to do this on the fly.

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Live Streaming in 3gp format

Postby ILEoo » 02 Aug 2010 09:23

Drop the mux-part, and replace port=10002 with port-video=10002,port-audio=10004
And make sure dss can find that .sdp-file (and dst is the ip where dss is listening).


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 4 guests