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

want to automatically start playback of playlist AND video

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

want to automatically start playback of playlist AND video

Postby ZippyDan » Fri Aug 27, 2010 8:54 am

...to SEPARATE and SPECIFIC outputs

have a Windows 7 machine that i want to use as a "media center" in a store.

the machine will output video and audio to an LCD TV over HDMI

and will also output audio from a preselected mp3 PLAYLIST to the store's sound system via a USB sound card

i need to be able to start a media program (either two instances of the same program, or two different programs) from the command line on every boot to do this, and be able to SPECIFY the audio output to use

is this possible?
ZippyDan
 
Posts: 2
Joined: Fri Aug 27, 2010 8:52 am

Re: want to automatically start playback of playlist AND video

Postby rvm » Fri Aug 27, 2010 10:23 pm

I think for that it would be easier to run mplayer directly, instead of smplayer.

You can specify the video ouput with the option -vo, the audio output with -ao, the playlist with -playlist and -fs to start in fullscreen mode.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: want to automatically start playback of playlist AND video

Postby ZippyDan » Sun Aug 29, 2010 4:43 pm

thanks for the help!

i have since figured out that i need to use -loop 0 for infinite looping playback, and that playlist can be a simple text file with one file per line

i am finding it difficult to find comprehensive command line options for mplayer

the official documentation http://www.mplayerhq.hu/DOCS/HTML/en/commandline.html gives very little (for example, i had to google that "0" was necessary for infinite looping)

a google for -ao or -vo returns practically nothing. how exactly do i specify which output to use? is it a 1, 2, 3 number system?

edit: ok i found -ao help. i'm not sure that does exactly what i want. i'll have to test when i get back to the computer in question (the computer i'm on right now only has 1 sound card), but i basically have a computer that has two sound cards, and i want to specify which sound card to use. -ao seems to specify the TYPE of audio output, not the audio DEVICE. am i wrong? or will the various sound cards show up as dsound1 and dsound2?

i also need to specify which of two screens the video playback should start on, edit again: oh wait, i guess i'm dumb, video output should = screen output. though again I'm not sure how exactly that will show up. i guess i will have to run -vo help when i am at that computer. specifically, i will have one screen hooked up to VGA and one screen hooked up to HDMI (on the SAME video card), but I will want to specify output to the HDMI port

is there any comprehensive command line list? edit again: ugh i am blind. i should have been looking at the MAN page. nevermind :)
ZippyDan
 
Posts: 2
Joined: Fri Aug 27, 2010 8:52 am


Return to General

Who is online

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