LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2009, 02:41 PM   #1
shadoxx428
Member
 
Registered: Jan 2005
Location: Los Angeles, CA
Distribution: Xubuntu
Posts: 41

Rep: Reputation: 16
Streaming Video - Best Tool(s) For The Job?


I've been trying for about a week now to come up with a solution for streaming videos from my home connection (~512kbps upstream) to another location, but so far have come up empty. I can't seem to find any good client software that will transcode the video to the server...at least without crashing (VLC *cough*).

My question is, do any of you out there know of a good client software that will transcode a video to an IceCast server that's free? Also, what would be a good container/audio/video combination? I'm pretty sure IceCast supports Theora, but I haven't been able to get it to work. Thanks in advance!

One more thing. Preferably this would all be from the command line, as I don't have X installed on any of the boxes I work with.
 
Old 04-07-2009, 03:40 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hmm, not sure if this will help (and I don't understand your environment at all) but take a look at the MPlayer package. If I remember right it has some streaming capabilities, and with the right codec packs it is fully OGG / Theora "aware". It can be run on the commandline in a headless configuration setting, AND it has a very powerful encoder (the mencoder binary) that comes along with it.
 
Old 04-07-2009, 09:55 AM   #3
shadoxx428
Member
 
Registered: Jan 2005
Location: Los Angeles, CA
Distribution: Xubuntu
Posts: 41

Original Poster
Rep: Reputation: 16
I've found a configuration string that works in VLC...at least when I'm streaming one episode at a time.

Code:
:sout=#transcode{vcodec=theo,vb=300,scale=.5,acodec=vorb,ab=48,channels=2,deinterlace}:duplicate{dst=std{access=shout,mux=ogg,dst=source:password@tv.someserv.er//mount_point}}
That config string uses the Theora codec for video and the Ogg Vorbis codec for audio. It takes the source material and scales it by half, and then deinterlaces it. The stuff at the end just connects the transcoded stream to the IceCast2 server. The source material that I'm streaming is 4:3, so I don't know if this will work with 16:9 videos. Let it also be noted that when streaming, this setup only uses ~20-40KB/sec of bandwidth. So you can stream to one client from say, a cable or DSL connection. Great if you have internet and want to stream a video from home to wherever you're at.

The problem I was having with VLC was that if you don't have just the right settings, VLC crashes. It took me about 15 crashes before I found the right combination of options.

I'll check out MPlayer rlyan76, and report back on my findings.

Last edited by shadoxx428; 04-07-2009 at 10:03 AM.
 
Old 04-08-2009, 01:48 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Cool, ok, I've learned something here too.. thanks for posting that commandline!
 
  


Reply

Tags
icecast, icecast2, streaming, video


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
right tool for the job ? / code expander / auto C loop unrolling demosuzki Programming 6 01-02-2008 08:55 AM
ftp video files - cron job extracts video info & posts to web page? muskiediver Linux - General 6 11-23-2006 08:41 AM
best tool for the job or how to tell what distro is best for me Desidarius Linux - Distributions 1 10-08-2004 09:55 AM
any tool than can streaming my powerpoint? htm Linux - Software 4 05-27-2004 10:06 PM
Streaming Video robeb Linux - Software 1 06-15-2002 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:54 PM.

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