Streaming MPEG-4 with Linux

Internet video for the next generation.
Setting Up the Darwin Streaming Server

Starting from its fourth version, the Darwin Streaming Server does not stream only QuickTime movies but also MPEG-4 ones. The benefit is Darwin Streaming Server is completely free for non-commercial use, and it runs under Linux smoothly with a small load.

To get a copy of the streaming server, go to the Darwin project page. You are required to have a valid APSL (Apple Public Source License) registration in order to download the binary or the source. Follow the instructions on the web site for details on how to obtain an APSL registration. Get the server binary for Linux (the web site shows Red Hat Linux 7.x), and proxy if you need to serve clients behind firewall. Uncompress the package to a local directory and begin the installation:

tar zxvf DarwinStreamingSrvr4.1.2-Linux.tar.gz
cd DarwinStreamingSrvr4.1.2-Linux
./Install

Make sure you have Perl installed for the web-based administration interface. Install also Net::SSLeay and OpenSSL with a valid certificate if you want SSL support. The installation script automatically copies the files to suitable places and displays where they are copied to. It then asks you for an administrative user name and password, which is used later to log in to the web-based administration interface, where you can access most of the server's features.

Next, launch the administration interface using the Perl script streamingadminserver.pl. It launches Darwin Streaming Server if it is not already running. Point your favourite browser to the video server's port 1220, 1240 if you enabled SSL support. Log in with the account you set during the installation. As this is your first time logging in, you are presented with the Setup Assistant. It guides you through the basic settings with detailed descriptions for each item. You need a valid SSL certificate to enable SSL support, unless you modify the script. After completing the Setup Assistant, you will have a running Darwin Streaming Server ready to flood the line with MPEG-4 videos.

Streaming the Clip

Now you have an MPEG-4 clip on hand and ready to stream. One option is to stream it over HTTP; simply put the clip in a publicly accessible directory on your web server and point your player to the clip's URL. If you want to stream over RTSP, direct your player to rtsp://<server_name>/<clip_name>. (For example, rtsp://video.wyk.edu.hk/sample_100kbit.mp4 is a sample clip provided by Darwin Streaming Server.) Streaming over RTSP allows random seeking without waiting for the clip to be downloaded progressively.

If you want to create a playlist or make a live broadcast, you would need to create an SDP (session description protocol) file. To create one, log into your video server's administration interface and then go to the Playlists section. Create a new movie playlist and drag the accompanying media to the playlist. Give the playlist a name and a mount point, which is an SDP file. Save the list, and do not forget to start the list afterwards. Instead of pointing your player to the MPEG-4 file, supply the new URL, rtsp://<server_name>/<sdp_name> to receive the broadcast. Congratulate yourself! You have successfully created a streaming MPEG-4 system and your first MPEG-4 video clip.

If you want to stream live video from your capturing device, use mp4live which comes with MPEG4IP. You need a Video4Linux-compatible capturing device, Video4Linux and I2C support in the kernel for live broadcasting. The user interface of mp4live is quite self-explanatory. You can record the video to an MPEG-4 file or stream it to clients with unicasting or multicasting. Click the Generate button to generate an SDP file, and copy it to your video server's media directory.

If you are within a local LAN or enterprise, multicasting would be the best method. In this method (on both QuickTime, Real and gmp4player), you pass the SDP file directly to the program. Set up a web server on the broadcasting machine, then point the player to http://<server machine>/capture.sdp, where capture.sdp is the aforementioned generated SDP file. With unicasting, you would use rtsp://<server machine>/capture.sdp instead. The server machine must be running Darwin Streaming Server, and the result is the streams are unicasted and repeated. This should be used only where multicast is not available.

A Few Notes on Compatibility

People who try encoding the video may complain about the video quality. The MPEG-4 codecs used in Windows and Linux are the same, so what is the difference? The key component that determines the ultimate quality of the video is the rate controller. The fact is rate controllers in Linux still need some work. I recommend using the famous VirtualDub (free and licensed under the GPL) if you can, because it is more powerful in video encoding and processing and significantly enhances video quality.

Most people prefer using QuickTime, RealPlayer or Windows Media Player to play streaming video. Starting with version 6, QuickTime has built-in support for MPEG-4, so what you need to do is upgrade your QuickTime Player. For RealPlayer and Windows Media Player, you must install the EnvivioTV plug-in, which can be freely downloaded and used. You may get your copy at www.envivio.com.

Many discussions of QuickTime 6's MPEG-4 support can be found on the Net. In short, a bunch of users cannot play streamed MPEG-4 with QuickTime 6, and sometimes they receive strange error messages. The problem lies in the implementation of MPEG-4 in QuickTime 6. It is known that MPEG-4 video encoded with GMC (global motion compensation), quarterpixels (qpel) and chroma motion cannot be played with QuickTime 6. QuickTime 6 also uses an MPEG quantizer, which improves cripsness and is better than H.263 for preserving quality. Extensive tests in my school show that MPEG-4 AAC audio with bit rates under 64 kilobits/second generate strange error messages in QuickTime 6. The players provided by MPEG4IP, however, do not have the same problems with QuickTime 6.

QuickTime 6:

  • Friendly user interface.

  • Popular.

  • Integrates with browsers.

  • Plays only some MPEG-4 files.

MPEG4IP mp4player:

  • The Windows version player lacks a good user interface.

  • Not very well known to the public.

  • Manual input of URL is required.

  • Plays most MPEG-4 files.

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

NK

Anonymous's picture

I want to convert MPEG4 part 2 into H.264 format for live video. How can i do this? Do you have any idea?

Thanks in advance
NK

Maybe try VLC at

Anonymous's picture

Maybe try VLC at http://www.videolan.org/ or mencoder with libx264

may be am too late

xpert-zone's picture

Hello,

but the above method doesn't work at all for me, i can't stream live, been trying to do so since hours :s no luck so far

Just perfect Looks

xpert-zone's picture

ah i tweaked it its working now, ty

problem with ffmpeg..

Anonymous's picture

hello..
I installed ffmpeg-0.4.6..and tried to use it..
but it is showing this error..

"ffmpeg: error while loading shared libraries: libdc1394_control.so.12: cannot open shared object file: No such file or directory"

i even searched for this library file, in /usr/lib
its not there..
please help me in this regard..
help me urgently..

This "secret" applies to audio streaming too.

Rhonda Byrne's picture

I'm working on bringing up audio streaming functionality on PowerPC-based single-board computer running Linux. This article alone together with The Neuros MP3 Digital Audio Computer have allowed me to setup audio streaming functionality from my box. My next goal is to figure out how to configure and use TCP/IP networking with my board.
Great info, thanks a lot.

Real Time encoding and then streaming

IH's picture

Is it possible (with out any fancy hardware) to encode a file on the fly while you stream it?

So basically I want to begin encoding the file and start streaming it before the encoding is complete.

If this IS possible, is it possible to change the quality of the encoding as you are streaming?
'
Thank you

Real Time

DrEaMeR's picture

It should be possible creating a pipe

Re: Streaming MPEG-4 with Linux

Anonymous's picture

I am facing a problem of unaable to creat RTSP client.
Also it shows unable to creat socket 111.
I dont understand kindly help
-Kiran

Re: Streaming MPEG-4 with Linux

Anonymous's picture

hi, i am new here.i have downloaded all the tool it need for installing the mpeg4ip, but i found some prolem to install it.i even can not install it even i double click on the install file.is it i need to change something before i install it??i have read a lot of this kind of article but i still a bit blur.so hope that someone can teach me in detail how to make it.thank!

Re: Streaming MPEG-4 with Linux

hans-juergen's picture

Maybe you should read the MPEG4IP forum (use the search function) and also the documentation files in their package and on their website about installing problems:

MPEG4IP Open Discussion

Another possibility is to search for compiled RPM packages with search engines like rpmseek.com or rpm.pbone.net.

mp4 file does not stream on DSS

emie's picture

hello !
i had a question .
i had a file in .avi format .I want to make it in mp4 format, hint it and stream it using DSS.
i have done that using the command given below . but DSS gives error :
There is (1) movie in the Playlist.

Ref Movie = /mnt/hdb3/movies/RoninComing_Soon.mp4
SDP file = /var/streaming/playlists/r/r.sdp

Problems found
--------------
- Movie set up failed: Movie file does not match SDP.
(file: /mnt/hdb3/movies/RoninComing_Soon.mp4 err: 16 Movie file does not match SDP.)
- PlaylistBroadcaster found one problem movie file.
There are no valid movies to play
Warnings: 1
Errors: 1

PlaylistBroadcaster preflight finished.

Here are the commands i used for encoding ,hiting steps.

ffmpeg -i RoninComing_Soon.avi -vn RoninComing_Soon_audio.wav
faac RoninComing_Soon_audio.wav
ffmpeg -i RoninComing_Soon.avi -an -vcodec mpeg4 RoninComing_Soon_rvideo.avi
avi2raw RoninComing_Soon_rvideo.avi RoninComing_Soon.mp4v
mp4creator -create RoninComing_Soon.mp4v -hint -rate 25 RoninComing_Soon.mp4
mp4creator -create RoninComing_Soon_audio.aac -hint -I RoninComing_Soon.mp4
mp4creator -optimize RoninComing_Soon.mp4

And here is the track created in the mp4 file.

mp4info RoninComing_Soon.mp4
mp4info version 1.2
RoninComing_Soon.mp4:
Track Type Info
1 video MPEG-4 Simple @ L1, 360.000 secs, 173 kbps, 320x240 @ 25.00 fps
2 hint Payload MP4V-ES for track 1
3 audio MPEG-2 AAC LC, 300.326 secs, 58 kbps, 44100 Hz
4 hint Payload mpeg4-generic for track 3
5 od Object Descriptors
6 scene BIFS
Metadata Tool: mp4creator 1.2

on placing the file in playlist of DSS and playing it it gives error as written above .

I have been searching for the soloution for over one week now , using google and source forge forum for mpeg4ip and apple forum too.havent find any specific answere yet.
Regards

mp4 file does not stream on DSS

emie's picture

hello !
i had a question .
i had a file in .avi format .I want to make it in mp4 format, hint it and stream it using DSS.
i have done that using the command given below . but DSS gives error :
There is (1) movie in the Playlist.

Ref Movie = /mnt/hdb3/movies/RoninComing_Soon.mp4
SDP file = /var/streaming/playlists/r/r.sdp

Problems found
--------------
- Movie set up failed: Movie file does not match SDP.
(file: /mnt/hdb3/movies/RoninComing_Soon.mp4 err: 16 Movie file does not match SDP.)
- PlaylistBroadcaster found one problem movie file.
There are no valid movies to play
Warnings: 1
Errors: 1

PlaylistBroadcaster preflight finished.

Here are the commands i used for encoding ,hiting steps.

ffmpeg -i RoninComing_Soon.avi -vn RoninComing_Soon_audio.wav
faac RoninComing_Soon_audio.wav
ffmpeg -i RoninComing_Soon.avi -an -vcodec mpeg4 RoninComing_Soon_rvideo.avi
avi2raw RoninComing_Soon_rvideo.avi RoninComing_Soon.mp4v
mp4creator -create RoninComing_Soon.mp4v -hint -rate 25 RoninComing_Soon.mp4
mp4creator -create RoninComing_Soon_audio.aac -hint -I RoninComing_Soon.mp4
mp4creator -optimize RoninComing_Soon.mp4

And here is the track created in the mp4 file.

mp4info RoninComing_Soon.mp4
mp4info version 1.2
RoninComing_Soon.mp4:
Track Type Info
1 video MPEG-4 Simple @ L1, 360.000 secs, 173 kbps, 320x240 @ 25.00 fps
2 hint Payload MP4V-ES for track 1
3 audio MPEG-2 AAC LC, 300.326 secs, 58 kbps, 44100 Hz
4 hint Payload mpeg4-generic for track 3
5 od Object Descriptors
6 scene BIFS
Metadata Tool: mp4creator 1.2

on placing the file in playlist of DSS and playing it it gives error as written above .

I have been searching for the soloution for over one week now , using google and source forge forum for mpeg4ip and apple forum too.havent find any specific answere yet.
Regards

Re: Streaming MPEG-4 with Linux

Anonymous's picture

How would someone go about installing this server software and setting it up to recieve multiple simulcast audio/video streams coming from computers that are using Windows on their desktops?

Any ideas?

Re: Streaming MPEG-4 with Linux

Anonymous's picture

How is it possible to create multi-layer video in separate files? I want for example a video splitted in 4 files that I need to receive incrementally and simultanuosy if I want to increase the perceived quality.
Is this achieveble, for example to use it for multi-layer multicast?

Tnx

Emiliano

Re: Streaming MPEG-4 with Linux

mrbinky3000's picture

Help!!

I do the following steps..
% ffmpeg -i MOV00148.MPG -vn audio.wav
% faac -m4 -b64 -r48000 -pLC audio.wav audio.aac

... and get this error message. What am I doing wrong?

FAAC - Freeware Advanced Audio Coder (http://www.audiocoding.com/)
Portions Copyright (C) 2001 Menno Bakker
Portions Copyright (C) 2002,2003 Krzysztof Nikiel
This software is based on the ISO MPEG-4 reference source code.
(see the faac.html file for more details)

libfaac version 1.20.1 beta (Jun 28 2004)
faac: invalid option -- b
faac: invalid option -- 6
faac: invalid option -- 4
faac: invalid option -- 4
faac: invalid option -- 8
faac: invalid option -- 0
faac: invalid option -- 0
faac: invalid option -- 0
faac: invalid option -- p
faac: invalid option -- L

Usage: faac -options infile outfile
Options:
-a Set average bitrate to approximately x kbps/channel.
-c Set the bandwidth in Hz. (default=automatic)
-q Set quantizer quality.
--tns Enable TNS coding.
-n Don't use mid/side coding.
-m X AAC MPEG version, X can be 2 or 4.
-o X AAC object type. (0=Low Complexity (default), 1=Main, 2=LTP)
-r RAW AAC output file.
-P Raw PCM input mode (default 44100Hz 16bit stereo).
-R Raw PCM input rate.
-B Raw PCM input sample size (16 default or 8bits).
-C Raw PCM input channels.
-I Input channel config, default is 3,4 (Center third, LF fourth)
--addsilent Add n silent frames at the end of output (default=1)
More tips on FAAC usage can be found in Knowledge base at www.audiocoding.com

Re: Streaming MPEG-4 with Linux

hans-juergen's picture

You are using a rather new FAAC version with the outdated command line options from the article written in 2003. For newer versions (current is v1.24+) you don't have to specify the profile anymore (default is LC), and the average bitrate counts for all input channels now, no longer per channel. So if your input file is stereo and you want a bitrate of 128 kbps, use -b 128. Defining the sample rate of the input WAV file when decoded with ffmpeg might not be necessary, but if you have to, use -R 48000, not -r 48000 (because -r is a completely unrelated option only for testing purposes).

So this command line should work:
%faac -b 128 audio.wav

This would give you a 128 kbps/stereo MPEG-2 AAC file with the same name as the input file. If you want to define another output file name, use the -o parameter which would also enable to wrap the AAC bitstream in the MP4 container when using the file extensions *.mp4, *.m4a or *.m4b with the latest version. MP4 tagging is also possible then.

For more information on the FAAC options etc. see the Wiki of Audiocoding.com, the homepage of the open source FAAC project:

FAAC Wiki page

A project summary is also available at Freshmeat.net now:

Freshmeat project page

Re: Streaming MPEG-4 with Linux/mp4player and playlists

Anonymous's picture

Well, very nice article! But "manual input of URL" into mp4player is
not true;-)
We dont have reference movies etc, but we have playlists,
see mpeg4ip/player/src/main.cpp and
gui_main.cpp, there are some MPEG Video Playlist extensions hardcoded.
See also www.uni-bonn.de/~uzs106/ ..
The "MPEG Video Playlist game" may be confusing first, but
you can ignore it since mp4player cannot stream HTTP MPEG Video
streams.
Best, H.

Re: Streaming MPEG-4 with Linux

Anonymous's picture

I got to making my mp4 and testing it before setting up the streaming server and when I open it in QuickTime 6.5 I get this error: "You may experience problems playing a video track in "movie.mp4" because the compressor found that the image data may be corrupted." It will let me play the movie and it works perfectly, but I want the warning message gone!

Re: Streaming MPEG-4 with Linux BUT NO VIDEO

Anonymous's picture

Hi,
this is the best how to i read ever about mp4creator.
Now I have a litte imagination about the parameters.

But one problem : When I create a mp4 file I can play it with quicktime 6.
But streaming over darwin... no way. I can hear the sound but become a white video area with no action.
When i try to make an sdp with darwin there comes an error :

Problems found
--------------
- Movie set up failed: Movie file is invalid.
(file: /usr/local/movies//my.mp4 err: 17 Movie file is invalid.)
- PlaylistBroadcaster found one problem movie file.
There are no valid movies to play
Warnings: 1
Errors: 1

PlaylistBroadcaster preflight finished.
-------------

My capture scripts (capture from tv-card) :
mencoder -tv on:channel=SE17:fps=25:driver=v4l:width=384:height=288 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=500 -fps 25 -oac copy -vop pp=lb -o $1.avi

converting script :
-snip-

echo "avi -> m4v"
avi2raw --video $1.avi $1_enc.m4v

echo "ffmpeg -> mp3 dump"
ffmpeg -y -i $1.avi -r 25 -vn $1_enc.wav

echo "faac wav -> mp3"
faac -m 4 -c 44100 $1_enc.wav output_enc.aac

echo "mp4creator aac >> mp4"
mp4creator -c $1_enc.aac -H -I $1_final.mp4

echo "mp4creator m4v -> mp4"
mp4creator -c $1_enc.m4v -H -r 25 $1_final.mp4

-snip-
Has anyone a suggestion?

Hi, i'm from spain. Sorry for

cr0n's picture

Hi, i'm from spain. Sorry for my english.

This is my problem:

- [admin@Streaming pruebas]$ faac -m4 -b 64 -c44100 avi.wav avi.aac
- Freeware Advanced Audio Coder
- FAAC 1.24
-
- Multiple input files not supported yet

Could somebody help me?

Re: Streaming MPEG-4 with Linux BUT NO VIDEO

Anonymous's picture

I forgoten said my email:

generalcordoba@yahoo.es

Re: Streaming MPEG-4 with Linux BUT NO VIDEO

Anonymous's picture

Hello!, I have a problem wiht Darwing Streaming Server. The program said me:

========================================
There is (1) movie in the Playlist.

Ref Movie = /usr/local/movies//Dido_LifeForRent.mp4
SDP file = /var/streaming/playlists/dido/dido.sdp
- SDP generation failed (error: 15).
Warnings: 0
Errors: 1

PlaylistBroadcaster preflight finished.
=======================================

Some people can help me???

I am from Spanish, excuse me for my english.
Thank!

Error 15 is

Shuaibe's picture

Error 15 is eMovieFileNoHintedTracks, which is set when the QTFile library tries to open the file, doesn't find any hint tracks, and returns QTRTPFile::errNoHintTracks.

you need to add the hint trakc to the file. you can use QuickTime Pro for that.

Re: Streaming MPEG-4 with Linux

Anonymous's picture

Hi, very very compliment for the article, it's the best I ever read, but I've had a problem... I've installed all the needed software, my original movie was a .avi movie (xvid + mp3), and in particularly I've made:

ffmpeg -i u571streamaudio3.avi -vn u571streamaudio3.wav
Input #0, avi, from 'u571streamaudio3.avi':
Stream #0.0: Video: mpeg4, 704x288, 25.00 fps, 800 kb/s
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 115 kb/s
Output #0, wav, to 'u571streamaudio3.wav':
Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 239990kB time=1279.9 bitrate=1536.0kbits/s

and

faac -m4 -b64 -r48000 -pLC u571streamaudio3.wav u571streamaudio3.aac
FAAC - command line demo of Jul 17 2003
Uses FAACLIB version: 1.0

Encoding u571streamaudio3.wav took: 13 min, 12.00 sec. of cpu-time

and

ffmpeg -i u571streamaudio3.avi -an -b 300 -vcodec mpeg4 u571streamaudio3out.avi
Input #0, avi, from 'u571streamaudio3.avi':
Stream #0.0: Video: mpeg4, 704x288, 25.00 fps, 800 kb/s
Stream #0.1: Audio: mp3, 48000 Hz, stereo, 115 kb/s
Output #0, avi, to 'u571streamaudio3out.avi':
Stream #0.0: Video: mpeg4, 704x288, 25.00 fps, q=2-31, 300 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=31999 q=31.0 size= 47914kB time=1280.0 bitrate= 306.7kbits/s

and

mp4creator -c u571streamaudio3.avi -hint mytest.mp4
mp4creator: Warning: no Visual Object Sequence Start (VOSH) header found in MPEG-4 video.
This can cause problems with players other than mp4player included
with this package.

and

mp4creator -optimize mytest.mp4

and

mp4creator -list mytest.mp4
Track Type Info
1 video MPEG-4 Simple @ L3, 1279.960 secs, 1231 kbps, 704x288 @ 25.00 fps
2 audio MPEG-1 (MP3), 1279.968 secs, 116 kbps, 48000 Hz
3 hint Payload MP4V-ES for track 1
4 hint Payload MPA for track 2
7 audio MPEG-4, 1279.957 secs, 64 kbps, 48000 Hz
8 hint Payload mpeg4-generic for track 7
9 od Object Descriptors
10 scene BIFS

and I0ve installed Darwin Streaming server, I've created SDP with admin panel but I obtain this error:

- Movie set up failed: Movie file does not match SDP.
(file: /Users/client_kylix/movies/mytest.mp4 err: 16 Movie file does not match SDP.)

[sorry for the length...]

Problem with Streaming MPEG-4 with Linux

Skillo's picture

I have the same problem. The version the MPEG4IP is 1.4.1, faac 1.24.
Is possible to explain me how to fix the problem or the solution to my stream?
Thanks,
Skillo

Re: Streaming MPEG-4 with Linux

Anonymous's picture

Shouldn't
3 hint Payload MP4V-ES for track 1
come before
2 audio MPEG-1 (MP3), 1279.968 secs, 116 kbps, 48000 Hz
?

Re: Streaming MPEG-4 with Linux

Anonymous's picture

I have got the same problem. My platform is Linux, mpeg4ip versions tested 1.0 and 1.1, Darwin Streaming Server 4.1.2 and 5.1.1. Tested mp4 contains two streams from an avi file - xvid encoded MPEG-4 and mp3 audio (hinded and interleaved).

use of H264 for streaming

adithyan's picture

Can I use H 264 streaming for a virtual classroom in linux,from where I get free software

Re: Streaming MPEG-4 with Linux

Anonymous's picture

got the same problem

Re: Streaming MPEG-4 with Linux

Anonymous's picture

were you using DivX to encode your video? That's the same error I get when I try to DivX-encode, but XviD doesn't give that error (as of 1.0 beta 2). Try using XviD if you want a VOSH, and it shouldn't get you any more errors.

Re: Streaming MPEG-4 with Linux

Anonymous's picture

i use xvid and i got the same problem
i thougt this is because of some non obvious error in the PlayListBroadCster as when you try to launch it in a konsole you got some strange error

Re: Streaming MPEG-4 with Linux

Anonymous's picture

I can stream mp4 after I installed Apple Darwin Streaming Server (eg. rtsp://192.168.0.99/sample_100kbit.mp4), but I cannot stream mp3 even I open port 8000 in firewall.
(eg. rtsp://192.168.0.99/sample.mp3)

anyone can help? Thanks alot!

The only method I know is to

Anonymous's picture

The only method I know is to wrap the bla.mp3 into a bla.mp4 with mp4creator -H bla.mp3 bla.mp4 and put that bla.mp4 into DSS.
BUT: Apple boycotts mp3 audio in mp4s (for whatever reason).
Real Player (Linux) doesnt like it as well. Older versions did play it (Real/Envivio).
Currently the only player that streams such rtsp://bla/mp3.mp4s fine is the dear and noble Cisco MPEG4IP mp4player.

H.

An example is rtsp://gurke.bootlab.org/venice24.mp4 (audio only)

Re: Streaming MPEG-4 with Linux

Anonymous's picture

I want to use streaming of video from IP camera on Linux? What are the things I have to use. Currently I am using qt/embedded, ffmpeg. ffmpeg requires kde objects like arts and kdelibs. x11 in arts doesn't compile? Am I missing anything? Which are the other products I should use. I will be compiling on PowerPC. Do I require gcc 3.2? tmake 1.1x? Any kind of help is appriciated

Vinod
vbhat@bay-soft.com

Re: Streaming MPEG-4 with Linux

Anonymous's picture

Another MPEG-4 player under Windows which is possibly better in some ways than QT and certainly has a better user IF than the wmp4player (i.e., MPEG4IP's) is the Philips Platform4 player, see

http://www.digitalnetworks.philips.com/InformationCenter/Global/FArticle...

G. Kinal

Re: Streaming MPEG-4 with Linux

Anonymous's picture

could you tell me more about the format of Mpeg4?

i suggest you to include some introduction on Mpeg4 fomat.

Re: Streaming MPEG-4 with Linux

Anonymous's picture

Visit the official MPEG homepage, a good start is to read the FAQs about all MPEG-4 parts (Sytems, Video, Audio etc.). Furhter descriptions are also available there:

http://mpeg.telecomitalialab.com/

Re: Streaming MPEG-4 with Linux

Anonymous's picture

The MPEG homepage has moved:

hans-jürgen's picture

The MPEG homepage has moved:

FAQs

Re: Streaming MPEG-4 with Linux

dszeto's picture

Introduction to MPEG-4 itself could be a full-length article like this or even longer. In short, MPEG-4 is a video format target for low bitrate video which offers better compression over the former MPEG formats. It is engineered to become a standard format for Internet video (it could store vector graphics), but could also be used to store video at higher bitrates (e.g. movies in DivX).

I love this article, I am always interested in video algorithms;

Anonymous's picture

This article is well explained, even well organized to the point where this article can fracture off into a book or informative pamphlet. However i see absolutely nothing wrong with this article, it has precisely what it needs in it; a perfect article.

Re: I love this article, I am always interested in video algorit

Anonymous's picture

I agree with you.

The article is extremely well written. The authour must have a very deep understanding in this field. I am very proud to have such a talent as my classmate. Actually, he is the director of our school's computer team. I look forward to seeing his next pieces.

Rgs,

Beethoven

Re: I love this article, I am always interested in video algorit

dszeto's picture

Hey... It's not playground here... Only in classroom please.

Re: I love this article, I am always interested in video algorit

dszeto's picture

Thanks! =) I'll work on more articles soon. =)

From mpeg4ip.net:

Mpeg4ip Version 0.9.8 Released

wmaycisco - 2003-03-06 13:25

Hurray! =D

Re: Streaming MPEG-4 with Linux

Anonymous's picture

FFmpeg 0.4.6 is quite old, I recommend using CVS version instead.

Anyway for encoding video you can use mencoder (from MPlayer) too. Same applies for playbac, MPlayer can play mpeg4 files/streams fine.

For rtsp:/ playback see www.live.com/mplayer

A'rpi

Re: Streaming MPEG-4 with Linux

Anonymous's picture

Well, very nice article! But "manual input of URL" into mp4player is not true;-)
We dont have reference movies etc, but we have playlists,
see mpeg4ip/player/src/main.cpp and
gui_main.cpp, there are some MPEG Video Playlist extensions hardcoded.
See also www.uni-bonn.de/~uzs106/ ..
The "MPEG Video Playlist game" may be confusing first, but
you can ignore it since mp4player cannot stream HTTP MPEG Video streams.

Best, H.

Re: Streaming MPEG-4 with Linux

Anonymous's picture

Ageed, V.good

P

Re: Streaming MPEG-4 with Linux

dszeto's picture

Thanks for your comment. =)

Also if you got problems on audio playback with mp4player you might try the CVS version of the player.

(I actually use CVS versions for most of the tools described. But it's better to write for stable versions, as most people would be successful. =)

I would like to see a more in

Anonymous's picture

I would like to see a more in-depth explanation of streaming live content from TV cards :)

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState