Save playlist FLV streams, command line
Posted: 09 Jun 2007 09:50
Greetings ladies and gentlemen,
Since I have a poor internet connection, my prefferred way of watching online FLV video fullscreen is to use VLC to stream it to disk, and then use another player to view the unfinished streams fullscreen (since VLC I have, 0.8.6b, starts playing FLV streams fine, but once it ends up having to wait for a segment, it freezes )
To ease the process, I like to save a command line in a bat file, and edit the URLs in it, and then just run everything from a command line. For a single stream/file, the following command works for me:
If I run the batch file with this command, VLC starts streaming to a flv file, I wait some 10 seconds, then start watching the flv, all good. Note that for some reason, if you do not incldue "--no-play-and-stop" VLC will start up, but it will not start streaming. By including "vlc:quit" on the end, you force the player to end, so you can copy several of these commands in a bat file, and have unique URLs be copied to unique file names - as in a playslist.
Although great for single file, it is still a bit too much typing if it is for several streams , so I'd like to have it easier, and I'm wandering if it is possible. I so tried this command line:
This command will queue all the URLs in the plalist, and will start streaming - however, each time a stream ends and a new one starts, obviously myfile.flv is overwritten. I hoped then, if I remove the demuxdump-file argument, I would cause auto naming - but, I get a file called "stream-demux.dump" with the exact same behaviour as before (maybe if the streams ended with *.flv those names would have been used, but the streams don't end like that) So first question is - is there a possibility for auto naming?
Ideally, I'd like these streams all appended to a single file, so I tried
But, although the streams are indeed appended (on disk), only the first stream is played back... So, another question is, is there a way to do this, so all appended streams play? Must it necesarilly involve transcoding? If so, what would a command line be like?
I've seen these answers from before:
viewtopic.php?t=37653
Thanks
Since I have a poor internet connection, my prefferred way of watching online FLV video fullscreen is to use VLC to stream it to disk, and then use another player to view the unfinished streams fullscreen (since VLC I have, 0.8.6b, starts playing FLV streams fine, but once it ends up having to wait for a segment, it freezes )
To ease the process, I like to save a command line in a bat file, and edit the URLs in it, and then just run everything from a command line. For a single stream/file, the following command works for me:
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" --no-play-and-stop http://www...... :demux=dump :demuxdump-file="C:\VID\myfile.flv" vlc:quit
Although great for single file, it is still a bit too much typing if it is for several streams , so I'd like to have it easier, and I'm wandering if it is possible. I so tried this command line:
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" --no-play-and-stop http://www1.... http://www2..... http://www3..... --demux=dump --demuxdump-file="C:\VID\myfile.flv" --demuxdump-append vlc:quit
Ideally, I'd like these streams all appended to a single file, so I tried
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" --no-play-and-stop http://www1.... http://www2..... http://www3..... --demux=dump --demuxdump-file="C:\VID\myfile.flv" --demuxdump-append vlc:quit
I've seen these answers from before:
viewtopic.php?t=37653
viewtopic.php?t=36151VLC has no means (ATM) to create a new file name for the new incoming file. Appending the new file won't work as most containers will play only the first file saved. Try the features request section of the forum. An auto naming convention would be a logical solution.
so I'm guessing that probably what I'm asking for is not implemented (yet), but I'd really appreciate an answer/confirmation..Transcoding, copying or dumping info is done one file at a time naming each file individually.
Thanks