View Full Version : FFMPEG and RTSP streams
skottish
4th July 2007, 22:39
Has anyone had any luck reading RTSP streams with FFMPEG on Linux? Every time I try to do it, either FFMPEG silently hangs, or it throws "Error while parsing header".
Hum, I don't think ffmpeg is able to read a live stream. What do you want to do ? To transcode the stream and save it on your hard-disk ?
skottish
6th July 2007, 02:22
Hum, I don't think ffmpeg is able to read a live stream.
I didn't think so either until I found a reference to it in the FFMPEG developer list. And sure enough, there is RTSP code there. It doesn't seem to do that though.
What do you want to do ? To transcode the stream and save it on your hard-disk ?
Basically yes. Really it's just a technological curiosity for me. I'm already aware of those capabilities in MPlayer and VLC, and I found it interesting that FFMPEG may be able to do it too. Actually, I'm a little surprised that it doesn't considering it's relationship to MPlayer. I guess even VLC for that matter.
Okay, but I never heard a word about that on client-side. Only on ffserver-side. But streaming protocols supports are planned. By the way, you should use Mencoder that supports live streams.
skottish
7th July 2007, 17:21
Okay, but I never heard a word about that on client-side. Only on ffserver-side. But streaming protocols supports are planned. By the way, you should use Mencoder that supports live streams.
I didn't hear anything about the client side other than what the voice in my head was telling me. Selective reading at it's best!
Is there any way to play while recording through MPlayer/Mencoder?
Through Mplayer I guess it's possible with dump options (e.g -dumpstream...) but it will be a simple dump without any transcoding. Mencoder, not. You will have to wait until the end of process.
Look at this for FFmpeg, it's a wish/todo list :
http://wiki.multimedia.cx/index.php?title=FFmpeg_Wishlist
skottish
9th July 2007, 04:11
It seems that it's nearly here:
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-July/032216.html
Nevermind, it is going to be implemented.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.