PDA

View Full Version : rtmpdump on linux


jmersh
10-16-2012, 07:51 AM
Is there anyway to use rtmpdump on linux using a batch of different links? Meaning I have a set of links I would like to save the videos can that be done in a batch or script?

Also is it possible to have the software place the files in different directories automatically after it saves them?

svnpenn
10-16-2012, 09:26 AM
I already answered this. Stop posting new threads about the same thing.

stream-recorder.com/forum/showpost.php?p=55334&postcount=2

jmersh
10-16-2012, 10:04 AM
already told you that method doesn't work nor does it store certain files in different directories.

jmersh
10-16-2012, 12:32 PM
if you mean posting in the thread that you posted in the other day about the multiple url method not working then yes, telepathically:

http://stream-recorder.com/forum/showpost.php?p=55352&postcount=59

jmersh
10-16-2012, 02:26 PM
Comment #59
in Re: rtmp-host.sh, RtmpExplorer alternative

posted on: 10-14-2012, 05:58 PM

the bash for multiple videos doesn't work.

so apparently telepathically.

what i need to know is if i need to input the url of the direct rtmp stream or can i just use the regular http url? also if i can i set it up so files from certain links go into different directories?

svnpenn
10-16-2012, 02:55 PM
what i need to know is if i need to input the url of the direct rtmp stream or can i just use the regular http url? also if i can i set it up so files from certain links go into different directories?

Have you posted links to the pages in question?
Have you posted screen shots with error messages?
Have you posted code snippets with errors?

You are calling for answers and you have given almost no information, and you wonder why no has responded to not one, but two threads?

jmersh
10-16-2012, 09:07 PM
I need to know how I can properly get a script to run within RTMPDump to make sure it works also how can it be setup so where if there are any issues with downloading the files, the scripts restarts that download and increments it?

jmersh
10-17-2012, 11:44 AM
that was fruitless.

svnpenn
10-17-2012, 12:34 PM
that was fruitless.

Maybe you should explain what you are talking about, in language people can understand?

jmersh
10-18-2012, 03:22 PM
I need a script that I can run on LinuxMint that will pull videos and store them in specific places.

Example:

www.whatever.com/a ---> /a/a.flv
www.whatever.com/b ---> /b/b.flv

If there is an issue with the server or some kind of error that screws up the downloading process the script will retry the same file but increment it.

Example

www.whatever.com/a ---> /a/a.flv fails ---> /a/a-1.flv (second try)

peterpiper
10-26-2012, 11:54 AM
Something like this. Don't know why you want to start over each time instead of resuming with -e.

#!/bin/bash
STATUS=1
while [ STATUS -ne 0 ]
do
rtmpdump whatever.com/a -o a.flv
STATUS=$?
done