Recording from command line with SMplayer
Posted: Sun Sep 23, 2012 4:52 am
I'd like to be able to record YouTube videos by pasting the YT webpage for the video into a little utility called Launchy that would make SMplayer record the video. I know one can right click and choose record from Smtube.
I can record non-YT streams using Launchy now:
program:
C:\Progra~1\smplayer0.8.0\smplayer-portable-0.8.0\mplayer\mplayer.exe
arguments:
$$ -dumpstream -dumpfile c:videos\YouTubeVideo.mp4
but is there a way to record a stream from the command line using SMplayer since mPlayer is unable to extract the stream URL from a YouTube webpage for a video the way SMplayer does.
Is there a command line way to make SMplayer extract the YT video file address from a YouTube webpage and pass it to mPlayer and then pass " -dumpstream -dumpfile <output file> " to mPlayer instead of having those arguments being parsed by SMplayer? Thanks.
I can record non-YT streams using Launchy now:
program:
C:\Progra~1\smplayer0.8.0\smplayer-portable-0.8.0\mplayer\mplayer.exe
arguments:
$$ -dumpstream -dumpfile c:videos\YouTubeVideo.mp4
but is there a way to record a stream from the command line using SMplayer since mPlayer is unable to extract the stream URL from a YouTube webpage for a video the way SMplayer does.
Is there a command line way to make SMplayer extract the YT video file address from a YouTube webpage and pass it to mPlayer and then pass " -dumpstream -dumpfile <output file> " to mPlayer instead of having those arguments being parsed by SMplayer? Thanks.