View Single Post
  #3  
Old 08-05-2011, 11:52 AM
secretsquirrel secretsquirrel is offline
Junior Member
 
Join Date: Jul 2011
Posts: 4
secretsquirrel is on a distinguished road
Default

Re: use rtmpdump and VLC to convert a couple of live RTMP streams into UDP multicasts


I've actually kept grinding on this issue and I think I almost have it solved, but maybe need just a little nudge to help figure it out the rest of the way.

So I took your suggestion (hyc) from the post you made at the Videolan forums and tried ...
Code:
ffmpeg "rtmp://stream2.france24.yacast.net/france24_live/en app=france24_live/en swfUrl=http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf pageUrl=http://www.france24.com/en/aef_player_popup/france24_player playpath=f24_liveen" -an -vcodec copy -f rtp rtp://10.188.252.76:9002 -vn -acodec copy -f rtp rtp://10.188.252.76:9004 -newaudio
I realized this didn't work because it needs the "-i" to specify input and the swfUrl has changed recently. So I tried this ...
Code:
ffmpeg -loglevel verbose -i "rtmp://stream2.france24.yacast.net/france24_live/en app=france24_live/en swfUrl=http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player_new.swf pageUrl=http://www.france24.com/en/aef_player_popup/france24_player playpath=f24_liveen live=1" -vcodec copy -acodec copy -vbsf h264_mp4toannexb -f mpegts udp://10.188.252.76:9000
This seems to be ok, but I'm still left with only audio on the receiving end. VLC can pick up that there is a video stream (it shows it in the codec details on stream0), it just doesn't spit anything out. I get a lot of this error...
Code:
packetizer_h264 warning: waiting for SPS/PPS
I wondered if it was just this feed, so I tried Bloomberg with this command...

Code:
ffmpeg -i "rtmp://cp87869.live.edgefcs.net/live app=live playpath=us_300@21006 swfUrl=http://player.ooyala.com/static/cacheable/63abb43363926ab.e712725090ebb5f31/player_v2.swf swfVfy=1 pageUrl=http://www.bloomberg.com/tv live=1" -vcodec copy -acodec copy -vbsf h264_mp4toannexb -f mpegts udp://10.188.252.76:9000
Now I have the opposite problem. I get pictures with no audio. Once again VLC sees both the audio and video streams and can identify the codec being used, but I get a lot of this error...
Code:
faad warning: Unexpected channel configuration change
Any clue at all how I could clean this up?

Thanks!
Reply With Quote