Loading...

streaming-server-users@lists.apple.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Newbie Questions - mp4 streaming on Linux Andrew Myers Wed Oct 07 21:01:14 2009

Hi,

I'm investigating Darwin Streaming Server for use on a website I
maintain, but I'm unfortunately a bit stuck with a few issues.

The videos I am looking at streaming are currently all in WMV format.
As I only have access to a PC or Linux, I have used WinFF to convert a
few of these as a test.

I've used the "MPEG-4 H.264 video (high quality)" preset.

These videos work and play the file without issue if I open the files
in QuickTime (on Windows) or VLC Player (on Windows or Linux).

Next - I copied them across to my test server (Ubuntu 9.04, DSS
5.5.5).  They didn't play initially, and I worked out this was because
there was no hinting.

So, I found a forum post advising to hint them like so:


# mp4creator -optimize GCM02100908.mp4
# mp4creator -hint=1 GCM02100908.mp4
# mp4creator -hint=2 GCM02100908.mp4
# mp4creator -list GCM02100908.mp4

This gave me some success.  In VLC player if I open the stream
rtsp://<SERVER_IP>/GCM02100908.mp4 it plays fine.

If I open the same stream in QuickTime Player, I either get just
audio, or it just hangs.  If I embed it in HTML, eg:

<EMBED SRC="http://localhost/GCM02100908.mp4" width="428" height="240"
href="rtsp://localhost/GCM02100908.mp4" target="QuickTimePlayer">

I get audio and no video.

So what I'm not sure of is why it works when I open it as a FILE in
QuickTime, and why it won't work when I open it as a STREAM.  Could
the hinting I'm doing with mp4creator be causing the problems?  Are
there any extra options I need to include?

Any assistance would be greatly appreciated.

Many thanks,
Andrew.

P.S.  There were a couple of errors when I used mp4creator -hint -
they are shown below.  Not sure if it's related, but thought I should
include these:

[EMAIL PROTECTED]:~$ mp4creator -hint=1 GCM02100908.mp4
MP4ERROR: MP4File::FindIntegerProperty: no such property -
moov.trak[0].mdia.minf.stbl.stsd.*.esds.decConfigDescr.objectTypeId
MP4ERROR: MP4File::FindIntegerProperty: no such property -
moov.trak[2].mdia.minf.stbl.stsd.*.esds.decConfigDescr.objectTypeId

[EMAIL PROTECTED]:~$ mp4creator -hint=2 GCM02100908.mp4
MP4ERROR: MP4File::FindIntegerProperty: no such property -
moov.trak[0].mdia.minf.stbl.stsd.*.esds.decConfigDescr.objectTypeId
MP4ERROR: MP4File::FindIntegerProperty: no such property -
moov.trak[2].mdia.minf.stbl.stsd.*.esds.decConfigDescr.objectTypeId
MP4ERROR: MP4File::FindIntegerProperty: no such property -
moov.trak[3].mdia.minf.stbl.stsd.*.esds.decConfigDescr.objectTypeId

[EMAIL PROTECTED]:~$ mp4creator -list GCM02100908.mp4
Track   Type    Info
1       video   H264 [EMAIL PROTECTED], 72.680 secs, 245 kbps, 428x240 @ 
25.000000 fps
2       audio   MPEG-4 AAC LC, 72.736 secs, 110 kbps, 32000 Hz
3       hint    Payload H264 for track 1
4       hint    Payload mpeg4-generic for track 2
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]