Sout duplicating stream time by factor of 6
Posted: 28 Sep 2019 20:12
So I am trying to record a stream for 5 hours but ran into an issue with it not stopping at the end. To do some testing I was messing around with the --run-time and --stop-time commands at 15 seconds but now its recording the stream 6 times over. One file with the same 15 second clip 6 times. This scales with the time I set as well. When adjusted to 30 seconds, it is the same 30 second clip 6 times.
Here is the code I am using to test with. Is this an issue with me recording a mono stream as stereo or something?
Here is the code I am using to test with. Is this an issue with me recording a mono stream as stereo or something?
Code: Select all
@echo off
set CUR_YYYY=%date:~10,4%
set CUR_MM=%date:~4,2%
set CUR_DD=%date:~7,2%
set SUBFILENAME=Test_%CUR_YYYY%-%CUR_MM%-%CUR_DD%.mp4
start "" "C:\Program Files\VideoLAN\VLC\vlc.exe" "http://playerservices.streamtheworld.com/pls/KUSC.pls" --sout=#transcode{vcodec=none,acodec=mp3,ab=56,channels=2,samplerate=22050,scodec=none}:std{access=file,mux=mp3,dst='.../%SUBFILENAME%'} --sout-keep --run-time=15 --stop-time=15 vlc://quit