| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Wed Oct 18, 2006 5:29 pm Post subject: oggfwd streams audio, but no video |
|
|
Hi everyone,
I'm trying to setup a streaming video service. My Icecast 2 server works fine and I have no problem with audio. The command I use looks like this:
ffmpeg2theora -x 320 -y 240 -o /dev/stdout /var/www/test.wmv | oggfwd -n "Private TV" hostname.example.com 8000 passwordhere /watch.ogg
I've tried different video formats for the input.
When accessing my stream using Winamp or VLC, all I get is the audio.
Is there something I'm forgetting to make my video work?
Thanks in advance! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Oct 18, 2006 6:49 pm Post subject: |
|
|
Make sure that icecast sees the theora stream, the error log should show information about theora being detected. If not then either it's not being sent or icecast isn't theora enabled.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Oct 18, 2006 7:27 pm Post subject: |
|
|
Turns out it wasn't compiling with Theora because my version of libtheora was too old.
Now, using rpmbuild, how can I tell it to compile my Icecast source RPM by looking for my newest libtheora file in /usr/local/lib instead of /usr/lib ?
I tried the following, but it didn't work:
VORBIS_PREFIX=/usr/local/lib rpmbuild --rebuild icecast.src.rpm
export VORBIS_PREFIX=/usr/local/lib; rpmbuild --rebuild icecast.src.rpm
rpmbuild --with vorbis=/usr/local/lib --rebuild icecast.src.rpm
(When I try to compile the source from the .tar.bz2 with those options, it is finding the file and is enabling Theora support.) |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Oct 18, 2006 7:50 pm Post subject: |
|
|
Nevermind. I just linked the libtheora file into /usr/lib. I was able to compile and install icecast WITH libtheora support, this time.
However... All this trouble was in vain: I /still/ can't see any video!
Is there anything else I can look for?
Thanks for all the help! |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Oct 18, 2006 8:02 pm Post subject: |
|
|
Okay, I was not building the RPM at the correct place, so I was installing the RPM I made yesterday without the theora support. However, the new RPM I just made says it requires "libtheora.so.1.0."
Honestly, I don't want to waste to much time trying to figure everything out... I just went ahead and compiled the source from the tarball the old-fashioned way. Now everything is working fine.
Thanks for your time, karl! |
|
| Back to top |
|
 |
|