Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-12-2009, 08:37 PM   #1
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
A question about vlc command line and playlists...

I am running Slackware 13 command line server, no gui at all. Anyhow, I want to stream mp3s off this server for my Iphone. I noticed that Iphones can read in .mp3 and are setup to accept mp3 as a valid MIME and plays the song through safari on a quicktime screen. Anyhow, I have been getting good success with this vlc command.

cvlc 1.mp3 2.mp3 3.mp3 4.mp3 5.mp3 6.mp3 --loop --sout '#transcode{ab=64}:standard{access=http,mux=ps,dst=}'
Only problem is that after each song, my Iphone drops conn and I have to reload the webpage to play the next song. I was looking at the logs in the console of vlc and after each song is played it drops the multiplexor and then creates a new http instance along with opening a new multiplexor.

Also, usually the dst is just a destination iport. However, inorder for the Iphone to play the mp3 I had to append '/stream.mp3' so that it knows how to handle the stream. I am thinkning that this may also be the problem.

I have tried the --playlist-autostart and --playlist-skip-ads but nothing works. All the songs play one right after the other and loop but on my Iphone I have to refresh after each song.

Aside from putting all my 6 songs on 1 giant mp3 is there a way to keep my Iphone playing from song to song instead of having to hit play after each song?

I know it's possible because I can play my Iphone across several songs while streaming SomaFM.

Last edited by trist007; 12-12-2009 at 08:39 PM.
Old 12-12-2009, 11:39 PM   #2
Registered: Oct 2007
Location: UK
Distribution: Ubuntu
Posts: 63

Rep: Reputation: 18
I reckon Ampache - - might be better streaming solution. It uses a database backend and browser frontend with playlists etc. Also you can use either the player on the device or an embedded flash player in the webpage

"Ampache is a web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device."

Last edited by explodingzebras; 12-12-2009 at 11:44 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VLC remote access with SSH and command line trox Linux - Networking 5 08-30-2014 08:18 AM
Adding echo/delay/reverb effects with SOX using VLC playlists trox Linux - Software 0 09-06-2009 11:33 PM
VLC loading default playlist or any other playlist from command line r00tb33r Linux - Software 0 12-29-2008 10:24 PM
VLC: Bookmarks, presets, saved playlists... Is this possible? rm_-rf_windows Linux - Software 3 07-01-2007 08:29 AM
VLC Streaming And The Command Line fortezza Linux - Software 1 06-30-2005 11:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration