LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-12-2009, 09:37 PM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,027

Rep: Reputation: 69
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.

Code:
cvlc 1.mp3 2.mp3 3.mp3 4.mp3 5.mp3 6.mp3 --loop --sout '#transcode{ab=64}:standard{access=http,mux=ps,dst=192.168.1.111:8000/stream.mp3}'
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 09:39 PM.
 
Old 12-13-2009, 12:39 AM   #2
explodingzebras
Member
 
Registered: Oct 2007
Location: UK
Distribution: Ubuntu
Posts: 63

Rep: Reputation: 18
I reckon Ampache - http://ampache.org/ - 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-13-2009 at 12:44 AM.
 
  


Reply


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 09:18 AM
Adding echo/delay/reverb effects with SOX using VLC playlists trox Linux - Software 0 09-07-2009 12:33 AM
VLC loading default playlist or any other playlist from command line r00tb33r Linux - Software 0 12-29-2008 11:24 PM
VLC: Bookmarks, presets, saved playlists... Is this possible? rm_-rf_windows Linux - Software 3 07-01-2007 09:29 AM
VLC Streaming And The Command Line fortezza Linux - Software 1 07-01-2005 12:15 AM


All times are GMT -5. The time now is 03:00 AM.

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