LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-18-2011, 10:53 AM   #1
shorto
Member
 
Registered: Jul 2006
Distribution: Debian 6.0.2.1 i386
Posts: 111

Rep: Reputation: 15
Streaming mp4 (with h264) via Debain server with VLC


Hey all!

Just wanted to ask I'm planing to make a little "streaming tv" but I'm having small problems.

I'm using the following code to get the stream up and running:

Code:
#!/bin/bash
/usr/bin/killall -9 screen
/usr/bin/killall -9 vlc
/usr/bin/screen -A -m -d -S test-1 /usr/bin/cvlc /home/shorto/video.mp4 -vvv input_stream --sout '#duplicate{dst=standard{access=http,mux=ts,dst=:8888}'
Now if I use an .mpg file everything works but when using a mp4 file with h264 only the sound streams on with no video.

Does somebody have a clue on how to fix this? Or perhaps if you can recommend a better alternative to VLC that can do this? The other problem I'm having here is that I would need to make a playlist of files, let's say I have 200 files to play and well I simply can't use this code to play those videos except if I stream every video on a different port and that is something I really don't want to do, just want a basic playlist that repeats itself when it's done so that it streams 24/7 and just plays one file after another.
 
Old 09-20-2011, 09:50 PM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
do you have the h264 codec installed?
Also, have you had a look at mythtv? or is that overkill for what you want?
 
  


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
[SOLVED] video streaming support with VLC(?) as the streaming server wachi Linux - Embedded & Single-board computer 3 03-28-2011 12:35 PM
VLC, GNUMP3d, streaming from remote cli server properganda Linux - Newbie 1 02-07-2008 09:38 AM
mplayer & h264 mp4 _slo Linux - Desktop 0 07-26-2007 03:01 PM
qestion about h264 to mp4 egad Linux - Software 0 04-30-2006 02:42 PM
Multiplexing mp3 and h264 in mp4 rcbaxter Linux - Software 1 03-05-2006 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration