Mpeg4/Divx streaming HELP!!!!

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
MTHawk
New Cone
New Cone
Posts: 3
Joined: 23 Jan 2004 00:34
Location: East Europe, Ukraine
Contact:

Mpeg4/Divx streaming HELP!!!!

Postby MTHawk » 23 Jan 2004 00:54

hello ALL!
i have vls 0.5.5 under Red Hat 9.0
it is successfuly broadcast films in dvd, mpeg2-PS/TS and mpeg1-PS. but i can't start to broadcast subj.
could somebody tell me what is the stream TYPE in vls.cfg for subj???

BEGIN "program_number"
name="film"
filename="bla-bla-bla.avi"
type="???????"
END
thnx anyway....

User avatar
hans-jürgen
Blank Cone
Blank Cone
Posts: 85
Joined: 15 Jan 2004 11:50
VLC version: 3.0.18
Operating System: Windows 10 Home
Location: Hamburg, Germany
Contact:

Re: Mpeg4/Divx streaming HELP!!!!

Postby hans-jürgen » 23 Jan 2004 09:05

could somebody tell me what is the stream TYPE in vls.cfg for subj???

BEGIN "program_number"
name="film"
filename="bla-bla-bla.avi"
As far as I know, the AVI format is not streamable (one of its disadvantages), so you would have to use e.g. the MP4 container in order to stream a MPEG-4 video combined with either AAC or MP3 audio. VLS cannot use this container format for streaming at the moment, at least that's what I understood from the feature list. But hopefully this will change in the future.

If you are looking for a working live-streaming solution for MP4 files, you could try the tools of the open source MPEG4IP project. Their mp4live app only exists in a Linux version though.
ZZee ya, Hans-Jürgen
BLUEZZ BASTARDZZ - "That lil' ol' ZZ Top cover band from Hamburg..."
INDIGO ROCKS - "Down home rockin' blues. Tasty as strudel."

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 23 Jan 2004 11:27

VLS can't deal with anything else than MPEG PS or MPEG TS files (with mpeg1/2 video and mpeg audio).

If you want to stream anything else then you should have a look at VLC which can eat/stream a lot more formats.

To hans-jürgen:
I don't think VLS will ever be extended to eat/stream anything else than MPEG PS/TS because it was designed to be a simple and effective MPEG TS server.
However VLC might be extended in the future to handle MP4 streaming... the only problem right now is that VLC is designed for streaming real-time content so the streaming layer can't send the MP4 moov header until all the movie data has been sent. Which is why only MP4 stream output to a file is supported for now.

User avatar
hans-jürgen
Blank Cone
Blank Cone
Posts: 85
Joined: 15 Jan 2004 11:50
VLC version: 3.0.18
Operating System: Windows 10 Home
Location: Hamburg, Germany
Contact:

Postby hans-jürgen » 24 Jan 2004 10:09

To hans-jürgen:
I don't think VLS will ever be extended to eat/stream anything else than MPEG PS/TS because it was designed to be a simple and effective MPEG TS server.
I see, thanks for the info. As far as I know, MPEG-2/4 AAC is also a standard-compliant audio bitstream within the MPEG PS/TS container, although this possibility is not used very often, I guess, only in Japan's HDTV/DVB broadcasts probably.
However VLC might be extended in the future to handle MP4 streaming... the only problem right now is that VLC is designed for streaming real-time content so the streaming layer can't send the MP4 moov header until all the movie data has been sent. Which is why only MP4 stream output to a file is supported for now.
Supporting MP4 live-streaming in VLC would be great of course, because this would make things even easier than dealing with different programs for server and client. And you would be the first open source Windows application that could stream rich MPEG-4 content over RTSP, because MPEG4IP's mp4live won't be ported to Windows (available for Linux only).

I wonder how mp4live handles the moov header sending, probably you could simply look it up there. The most important infos about the RTSP stream are sent in a SDP file first, as far as I know, and then the MP4 file (if it is a file) is started from the DSS or other appropriate servers. Each elementary stream = track in the MP4 file has to be hinted first of course in order to keep the timing, and the file has to be optimized, so the necessary header infos are placed at the beginning of the file. For ISMA-compliant streaming there have to be BIFS and OD tracks in the MP4 container, too, so each video and audio track is properly described within the MPEG-4 Systems "scene".
ZZee ya, Hans-Jürgen
BLUEZZ BASTARDZZ - "That lil' ol' ZZ Top cover band from Hamburg..."
INDIGO ROCKS - "Down home rockin' blues. Tasty as strudel."

MTHawk
New Cone
New Cone
Posts: 3
Joined: 23 Jan 2004 00:34
Location: East Europe, Ukraine
Contact:

thnx

Postby MTHawk » 25 Jan 2004 10:07

thank U all...
i'll keep trying.
---------
be well
Max "The Hawk" Litvinov


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 13 guests