can play stream but not transcode it
Posted: 09 Apr 2010 17:03
We've got a Tricaster Pro that does wmv streaming.
I can play the videos on my Linux box by using
vlc http://ip.of.tri.caster:80
It takes a while but eventually it does display live video.
However, I need to be able to grab the video, transcode it, and pass it off to a Darwin Streaming Server. I can play a local file or grab from a webcam and stream to the DSS box with the command
vlc MyVideoFile --sout #transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=172.16.129.195,port=1234,sdp=file:///tmp/kim.sdp}
Then copy the sdp file that is generated to the DSS box.
However, when I try and grab from the tricaster and then transcode I get the following error:
timebase not supported by mpeg 4 standard
[0x92356a0] avcodec encoder error: cannot open encoder
[0x8f4d5f0] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:mp4v)
This same transcode statement works when playing files from my local machine (in a few different formats - wmv, mpg, avi) but fails when grabbing video from the Tricaster.
The DSS box can stream either a live quicktime format or a MP4 format.
Help?
I can play the videos on my Linux box by using
vlc http://ip.of.tri.caster:80
It takes a while but eventually it does display live video.
However, I need to be able to grab the video, transcode it, and pass it off to a Darwin Streaming Server. I can play a local file or grab from a webcam and stream to the DSS box with the command
vlc MyVideoFile --sout #transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=172.16.129.195,port=1234,sdp=file:///tmp/kim.sdp}
Then copy the sdp file that is generated to the DSS box.
However, when I try and grab from the tricaster and then transcode I get the following error:
timebase not supported by mpeg 4 standard
[0x92356a0] avcodec encoder error: cannot open encoder
[0x8f4d5f0] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:mp4v)
This same transcode statement works when playing files from my local machine (in a few different formats - wmv, mpg, avi) but fails when grabbing video from the Tricaster.
The DSS box can stream either a live quicktime format or a MP4 format.
Help?