Streaming video formats

General discussion about netjukebox
Post Reply
hulby
User
Posts: 27
Joined: Mon Feb 12, 2007 6:54 am

Streaming video formats

Post by hulby »

Hi Willem,

will NJB stream .avi, or only .wvm?

-Hulby
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

netjukebox has no special engine for streaming video.
As long as you can stream it from a web server than it is also streamable from netjukebox.
Therefore you must select "Source" from the "Stream profile".

How do I know if a file is streamable?
Place the file on a web server.
Load the url in a playlist (Winamp add url).

Example:
Website: http://mywebsite.com
File to test: test.avi
Then load http://myweb.com/test.avi in the playlist.
hulby
User
Posts: 27
Joined: Mon Feb 12, 2007 6:54 am

video config

Post by hulby »

Yes, I was wondering if I would need to modify the config file in order to playback video? I ran your test, and my webserver can serve up video, but not through NetJuke. I thought maybe I needed a configuration for .avi.

Thanks much,

-hulby
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

First of all this is not the netjuke but the netjukebox project :wink:

By default the avi extension exist in the configuration file.
The only thing you have to do is select the source stream (webinterface: config > stream profile > source)

You may consider making the source stream the default profile (this is now the first profile: MP3 @ LOW)
See this post how to do it: http://forum.lan/viewtopic.php?p=1090#1090

PS
There is no video transcoding possible at the moment.
So you can only stream the file as it is.
hulby
User
Posts: 27
Joined: Mon Feb 12, 2007 6:54 am

Unsuccessful

Post by hulby »

Willem,

I am able to stream .wmv, but not .avi. Is this due to the transcoding you mentioned?

Thank you,

hulby
hulby
User
Posts: 27
Joined: Mon Feb 12, 2007 6:54 am

Streaming avi

Post by hulby »

Hi Willem,

I am not sure what I am doing wrong here. I am hoping you can shed some light. I am able to stream both .wmv and .mp3, but not .avi.

When I ran your test by placing a .avi on the web root, it does stream by hitting the web url/avi, but not within njb. Can you please tell me what I am doing wrong? Is there a configuration piece missing for .avi, cause like I said .wmv works.

Thank you,

hulby
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

In some situations netjukebox returns the wrong file extension for streaming.
When for example you have selected an mp3 stream profile and then try to stream an avi file the playlist added the wrong mp3 extension to the end.
Some media players like Winamp only trust on the extension and do not use the header send by the server.

With the fixed version I could stream asf, avi and mpg files.
This bug will be fixed in netjukebox 5.01b or 5.02.
Post Reply