[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - Recording from command line with SMplayer

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Recording from command line with SMplayer

Problems, bugs, suggestions... anything related to SMPlayer.

Recording from command line with SMplayer

Postby bonacker » 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.
bonacker
 
Posts: 3
Joined: Sat Sep 22, 2012 6:38 pm

Re: Recording from command line with SMplayer

Postby rvm » Sun Sep 23, 2012 11:23 am

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España


Return to General

Who is online

Users browsing this forum: Google [Bot] and 41 guests