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

Tricky RTSP

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

TimBone3000 12-12-2011 03:24 PM

Tricky RTSP


 
Hey guys,
Having trouble capturing what should be a pretty simple .mov file. I've tried Replay media catcher, using vlc - pretty much everything I can find but no luck. It's actually an audio file that I'm after, quality is kind of important so I'm trying anything that simply isn't recording from my sound card via Audacity or something.

Here is the stream:
http://www.usarmyband.com/Broadcast/...sterclass.html
or:
http://www.usarmyband.com/Broadcast/...4/Yamamoto.mov

Bloody frustrating this. I've spent the past few hours googling around and tinkering with apps trying to get it. PLEASE let me know if any of you guys have a solution. Much thanks

evol 12-12-2011 03:47 PM

Re: Tricky RTSP


 
Just save the one that ends with .mov and convert it to what ever you like. :)

In Firefox
Code:

File -> Save Page As... Yamamoto.mov

TimBone3000 12-12-2011 04:09 PM

Re: Tricky RTSP


 
Thank you for the response!
Boy, I wish it were that easy.
When I view page source from here: http://www.usarmyband.com/Broadcast/...sterclass.html

there is a Yamamoto.mov I can save to my computer, but when I open THAT .mov in VLC it then opens the RTSP stream - which reads (according to VLC):
rtsp://stream.army.mil/army%20band/broadcast%20archives/2007/03/24/Yamamoto/yamamoto-128k.mov

It is here that I am stuck and need some assistance. In theory, if something is streaming to my computer, shouldn't I be able to capture it? Why is this proving to be so difficult(!)?

bat999 12-12-2011 06:53 PM

Re: Tricky RTSP


 
Hi
I think it might only be possible to download that stream in "real time".:mad:

With Windows the stream can be captured (without transcoding) using VLC-1.1.11 with a command like this:-
Code:

"C:\Program Files\VideoLAN\VLC\vlc.exe" rtsp://stream.army.mil/Army%20Band/Broadcast%20Archives/2007/03/24/Yamamoto/Yamamoto-128k.mov --sout "#std{access=file,mux=mp4,dst=C:\Yamamoto.m4a}"
But the result didn't sound so good.:mad:
VLC sample is here ---> http://www.mediafire.com/?hbijbwa425xbl6k

FFmpeg does a better job.:)
Like this:-
Code:

ffmpeg -i "rtsp://stream.army.mil/Army%20Band/Broadcast%20Archives/2007/03/24/Yamamoto/Yamamoto-128k.mov" -c:a flac Yamamoto.flac
:cool: :)
This sounds good to me. :)
FFmpeg sample is here ---> http://www.mediafire.com/?96q282vs67m9g4c

FFmpeg from here ---> http://ffmpeg.zeranoe.com/builds/
"just pick the static builds"

With VLC or FFmpeg, you can interrupt/abort after a minute or two to check the quality before you save the whole stream.


If you're not comfortable with command line, go with Audacity or something. :rolleyes:

EDIT
There's a problem with the flac file downloaded with FFmpeg.
It plays OK and sounds good, but it's not "seekable".:mad:
A way to overcome this is to convert it to mp3 like this:-
Code:

ffmpeg -i Yamamoto.flac -c:a libmp3lame -b:a 128k Yamamoto.mp3
mp3 sample is here ---> http://www.mediafire.com/?8acyvfis07hyktv

TimBone3000 12-13-2011 10:45 AM

Re: Tricky RTSP


 
Thanks for the help, bat999. For some reason ffmpeg doesn't want to work on my rig. I tried to record in real time with Audacity but for some reason the quality isn't nearly as good as what you're getting with ffmpeg (my audacity file sounds kind of dull and lacking in upper frequencies). Might this be a settings problem? Maybe my sound card just sucks?

If anyone else has any tips/tricks I'd greatly appreciate it

blimey 12-24-2011 01:11 AM

Re: Tricky RTSP


 
Old versions of RMC (prior to RMC becoming just rebadged jaksta) will download that rtsp link, also mass downloader (even very old versions) will download it too.

Was able to download Yamamoto-128k.mov using v3.4 of mass downloader.

TimBone3000 12-25-2011 11:47 AM

Re: Tricky RTSP


 
blimey, thanks for chiming in! happy holidays to you.

I just tried mass downloader 3.9 and was also able to download Yamamoto-128k.mov (a 60.7MB size file) but the damn thing doesn't seem to want to open (!!).

VLC media player pops up with:
"No suitable decoder module:
VLC does not support the audio or video format "undf". Unfortunately there is no way for you to fix this."

I've tried downloading twice now with failure both times.

I've also tried converting in Total Video Converter, opening with Sony Vegas, etc. I'm so bloody close...now it's just taunting me

blimey 12-25-2011 12:15 PM

Re: Tricky RTSP


 
I'm sorry, I mis-remembered which program worked out of the many I tried. It was actually NetTransport that downloaded it.

This is an audio-only file, right? It contained only aac, no video. Here is the original downloaded sample, it is a fileserve dot com link:

Code:

http://www.**************/file/Qsu9b5t/Yamamoto-128k.mov

I used v296b.615 of NetTransport.

TimBone3000 12-26-2011 07:06 AM

Re: Tricky RTSP


 
Feeling pretty noobish here, I've been playing around with NetTransport (aka NetXfer) (2.96c) but haven't had any luck - when I ask it to download here: http://www.usarmyband.com/Broadcast/...4/Yamamoto.mov
it nabs a 343 byte size file that just opens up the stream in VLC

The fact that you were able to get the whole file in its original state is very exciting/keeps my faith up. Much thanks to you.
So, might some of my settings be off? Which feature of NetTransport did you use to capture the file?

TimBone3000 12-27-2011 08:55 AM

Re: Tricky RTSP


 
Wow, I only needed to pull my head out of my ass to see that what I was looking for was right in front of me.
D'oh

Bahman 12-27-2011 09:36 AM

Re: Tricky RTSP


 
Quote:

Originally Posted by TimBone3000 (Post 36414)
Feeling pretty noobish here, I've been playing around with NetTransport (aka NetXfer) (2.96c) but haven't had any luck - when I ask it to download here: http://www.usarmyband.com/Broadcast/...4/Yamamoto.mov
it nabs a 343 byte size file that just opens up the stream in VLC

The fact that you were able to get the whole file in its original state is very exciting/keeps my faith up. Much thanks to you.
So, might some of my settings be off? Which feature of NetTransport did you use to capture the file?

Hey, you must use rtsp link in NetTransport, instead of http link:
rtsp://stream.army.mil/army%20band/broadcast%20archives/2007/03/24/Yamamoto/yamamoto-128k.mov



note: if you use one "thread" is better!!

Good Luck!!;)

TimBone3000 12-27-2011 12:08 PM

Re: Tricky RTSP


 
Bahman, I don't know what to say other than thank you. What a tit move I made to not try the rtsp link I posted at the top of the thread. I've been trying to capture this stuff for months and now I finally have it. Thanks x1000000
Thanks to Blimey, as well for pointing me in the right direction. And bat999 for his suggestions.
cheers fellas, happy trails

Stream Ripper 12-28-2011 12:03 AM

Re: Tricky RTSP


 
Bahmans a great resource and we're glad to have her here :D

Bahman 12-28-2011 12:21 AM

Re: Tricky RTSP


 
@Stream Ripper, Thanks x1000000 !!:D

@TimBone3000, You're so welcome!!;)

compn 01-16-2012 04:25 PM

Re: Tricky RTSP


 
Quote:

Originally Posted by bat999 (Post 35448)
FFmpeg does a better job.:)
Like this:-
Code:

ffmpeg -i "rtsp://stream.army.mil/Army%20Band/Broadcast%20Archives/2007/03/24/Yamamoto/Yamamoto-128k.mov" -c:a flac Yamamoto.flac

in the future, just copy the audio to mp4 like so:

ffmpeg -i "rtsp://stream.army.mil/Army%20Band/Broadcast%20Archives/2007/03/24/Yamamoto/Yamamoto-128k.mov" -acodec copy yamamoto-128k.mp4

reencoding is bad. even to lossless flac :)

bat999 01-16-2012 07:39 PM

Re: Tricky RTSP


 
Quote:

Originally Posted by compn (Post 37599)
in the future, just copy the audio to mp4 like so:

ffmpeg -i "rtsp://stream.army.mil/Army%20Band/Broadcast%20Archives/2007/03/24/Yamamoto/Yamamoto-128k.mov" -acodec copy yamamoto-128k.mp4

Yes, I agree, this method is best.:)
Let FFmpeg mux straight into mp4 (or m4a).
No need to transcode.:cool:

chap 01-16-2012 11:54 PM

Re: Tricky RTSP


 
Quote:

in the future, just copy the audio to mp4 like so:

ffmpeg -i "rtsp://stream.army.mil/Army%20Band/Broadcast%20Archives/2007/03/24/Yamamoto/Yamamoto-128k.mov" -acodec copy yamamoto-128k.mp4
file does not open:(
Code:

General
Complete name                    : E:\ffmpeg-git-7d531e8-win32-static\bin\yamamoto-128k.mp4
Format                          : MPEG-4
Format profile                  : Base Media
Codec ID                        : isom
File size                        : 503 KiB


bat999 01-17-2012 03:47 AM

Re: Tricky RTSP


 
Quote:

Originally Posted by chap (Post 37611)
file does not open:(
Code:

General
Complete name                    : E:\ffmpeg-git-7d531e8-win32-static\bin\yamamoto-128k.mp4
Format                          : MPEG-4
Format profile                  : Base Media
Codec ID                        : isom
File size                        : 503 KiB


The files size is 503 KiB?

chap 01-17-2012 05:15 PM

Re: Tricky RTSP


 
I apologize - I'm not careful:(
need to stop recording to press [q]
I just closed the window ffmpeg:confused:


All times are GMT -6. The time now is 08:57 AM.