Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How can I record these RTMP streams?

(http://stream-recorder.com/forum/showthread.php?t=12629)

babaganoosh 05-16-2012 09:10 AM

How can I record these RTMP streams?


 
A friend's son graduated from college last week. They asked me to see about making a copy of the video from the service.

Here's the web page with the video:

http://www.emory.edu/commencement/webcast/index.html

Here's I think the flash code related to the video. I tried saving the mp4, but it's only 73KB, I change the rtmp to http and that doesn't let you get the file. Any advice?

<script src="http://realaudio.service.emory.edu/clients/jwplayer5.9/jwplayer.js" type="text/javascript" ></script>
<div id="mediaplayer" ></div>
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '520',
'height': '316',
'provider': 'rtmp',
'streamer': 'rtmp://realaudio.service.emory.edu/EVENTS/COMMENCE/',
'file': 'commence2012.mp4',
'modes': [
{type: 'flash', src: 'http://realaudio.service.emory.edu/clients/jwplayer5.4/player.swf'},
{type: 'html5',
config: {
'file': 'http://realaudio.service.emory.edu/m3ugen/iPhone-src/EVENTS/COMMENCE/commence2012.mp4',
'provider': 'video'}
}
]
});
</script>

Bahman 05-16-2012 09:26 AM

Re: How can I record these RTMP streams?


 
Download this package and extract it in a folder!! Then double click on command.bat! ;)

babaganoosh 05-16-2012 09:34 AM

Re: How can I record these RTMP streams?


 
THANK YOU! It's doing it now, but it looks like it'd be fine. Can I ask - would you then convert it into a more 'usable' / easier to play format? mp4?

Any recommended converter you like?

svnpenn 05-16-2012 09:46 AM

Re: How can I record these RTMP streams?


 
Code:

ffmpeg -i commence2012.flv -c copy commence2012.mp4

babaganoosh 05-16-2012 09:55 AM

Re: How can I record these RTMP streams?


 
Wow! You guys are great!

babaganoosh 05-16-2012 03:05 PM

Re: How can I record these RTMP streams?


 
Sorry, one more question.

Is there a way to tell what the quality of the flv file is so that when i convert it to mp4 (using ojosoft total video converter), I don't choose super high quality and it takes so much longer to convert but there's no improvement in quality since I started with an flv that is 'good' quality and could have just chose a good quality for the mp4?

Right? (using somewhat of an analogy) making a blue ray of an old vcr tape will not give you blue ray quality. You'll just have a much bigger file and the quality will be vcr quality? Or taking a picture of a document with 14MP camera gives the same legibility of the text as a 200dpi scan would, but you have a much larger file?

greenythebeast 05-16-2012 03:28 PM

Re: How can I record these RTMP streams?


 
Quote:

Originally Posted by babaganoosh (Post 46226)
Sorry, one more question.

Is there a way to tell what the quality of the flv file is so that when i convert it to mp4 (using ojosoft total video converter), I don't choose super high quality and it takes so much longer to convert but there's no improvement in quality since I started with an flv that is 'good' quality and could have just chose a good quality for the mp4?

Right? (using somewhat of an analogy) making a blue ray of an old vcr tape will not give you blue ray quality. You'll just have a much bigger file and the quality will be vcr quality? Or taking a picture of a document with 14MP camera gives the same legibility of the text as a 200dpi scan would, but you have a much larger file?

Why don't you just use ffmpeg like the previous poster suggested? ffmpeg remuxes as opposed to converting and should be quick and light on your CPU.

babaganoosh 05-16-2012 09:06 PM

Re: How can I record these RTMP streams?


 
Greeny - why? ignorance : )

I will use it!

Just did. Damn! Much faster! and a problem I had with ojo was that the original feed was widescreen and the ojo mp4 is 640 x 480.

ffmpeg kept the proportions.

I make problems for myself : (

1 question - the audio of the mp4 using ffmpeg is just a tiny hair off from the video. Looking at the flv, they are in sync. Anything I can do about that?

You guys are GREAT!!!

svnpenn 05-16-2012 11:44 PM

Re: How can I record these RTMP streams?


 
. .

greenythebeast 05-17-2012 02:08 AM

Re: How can I record these RTMP streams?


 
Quote:

Originally Posted by babaganoosh (Post 46239)
Greeny - why? ignorance : )

I will use it!

Just did. Damn! Much faster! and a problem I had with ojo was that the original feed was widescreen and the ojo mp4 is 640 x 480.

ffmpeg kept the proportions.

I make problems for myself : (

1 question - the audio of the mp4 using ffmpeg is just a tiny hair off from the video. Looking at the flv, they are in sync. Anything I can do about that?

You guys are GREAT!!!

Try this:
Code:

ffmpeg -i commence2012.flv -c copy -async 1 commence2012.mp4


All times are GMT -6. The time now is 07:04 AM.