Page 1 of 1

Live Streaming in 3gp format

Posted: 25 Jul 2010 06:01
by akhilesh_s
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

Re: Live Streaming in 3gp format

Posted: 30 Jul 2010 18:32
by dmfrey
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.

Re: Live Streaming in 3gp format

Posted: 02 Aug 2010 09:23
by ILEoo
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).