[Live-devel] Can't stream an mpeg-2 file
LATIFZAI, EMAL (JSC-ER2) (NASA)
emal.latifzai-1 at nasa.gov
Tue Mar 16 16:25:39 PST 2004
Hi,
I actually found two other video samples online (one being an mpeg-2 video
elementary stream file and the other being an mpeg-2 program stream file).
I tried these out and the result was pretty much the same. The
testMPEG1or2AudioVideoStreamer.exe program was run on the program stream
format and the following output was given with the last two lines
continuously repeating:
Beginning streaming...
Beginning to read from file...
...done reading from file
so it seems as though it is streaming. But when the clint program
testMPEG1or2VideoReceiver.exe is started, the output screen spits out random
ascii characters and the computer makes a high pitched sound. The program
also locked up.
When the video elementary stream file was run with
testMPEG1or2VideoStreamer.exe being the server program, the result was
exactly similar.
Next I ran testMPEG1or2Splitter.exe on the program stream file and it did
give me a video elementary stream and an audio elementary stream file.
However the audio file was empty. In addition I tried to stream the given
video elementary stream file using testMPEG1or2VideoStreamer.exe but the
result was the same as above.
I found a program online that takes multimedia files as input and tells you
what format they are. I checked the above two files I had found on the net
and they were what they were said to be.
However, here are the url's for the sample mpeg-2 files:
http://www.mpeg2.de/video/streams/ (this is the video elementary stream
file. tennis.m2v is what I tried...it's towards bottom of page)
http://www.traclabs.com/~bwolfe/VIDEO_TS.VOB (this is the program stream
file.)
Thanks in advance for your help.
Emal
-----Original Message-----
From: live-devel-bounces at ns.live.com
[mailto:live-devel-bounces at ns.live.com]On Behalf Of
live-devel-request at ns.live.com
Sent: Thursday, March 11, 2004 2:00 PM
To: live-devel at ns.live.com
Subject: live-devel Digest, Vol 5, Issue 10
Send live-devel mailing list submissions to
live-devel at lists.live.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.live.com/mailman/listinfo/live-devel
or, via email, send a message with subject or body 'help' to
live-devel-request at lists.live.com
You can reach the person managing the list at
live-devel-owner at lists.live.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of live-devel digest..."
Today's Topics:
1. Can't stream an mpeg-2 file (LATIFZAI, EMAL (JSC-ER2) (NASA))
2. Re: Can't stream an mpeg-2 file (Ross Finlayson)
----------------------------------------------------------------------
Message: 1
Date: Thu, 11 Mar 2004 10:35:59 -0600
From: "LATIFZAI, EMAL (JSC-ER2) (NASA)" <emal.latifzai-1 at nasa.gov>
Subject: [Live-devel] Can't stream an mpeg-2 file
To: "'live-devel at lists.live.com'" <live-devel at ns.live.com>
Message-ID:
<2E10582870FE3146A2E7A6E0ECFE4F0003F4BA25 at jsc-mail01.jsc.nasa.gov>
Content-Type: text/plain; charset="iso-8859-1"
HI,
I have downloaded and compiled your program on VC++ 6.0. I tested it out on
an mpeg-2 program stream test file by streaming it to my own computer, but
unfortunately it didn't work. I ran the testMPEG1or2AudioVideoStreamer.exe
file and it kept giving me the following output, repeating the last two
lines again and again:
Beginning streaming...
Beginning to read from file...
...done reading from file
When I opened the testMPEG1or2VideoReceiver.exe file, it just spit out the
following output and didn't do anything else:
Beginning receiving multicast stream...
I tried the testMPEG1or2Splitter.exe and it did create an out_audio.mpg and
an out_video.mpg files. I changed the name of the out_video.mpg to test.mpg
and streamed it using testMPEG1or2VideoStreamer.exe but it gave me the same
output as above with the testMPEG1or2AudioVideoStreamer.exe. The
testMPEG1or2VideoReceiver.exe file gave me same output as above use of
testMPEG1or2VideoReceiver.exe. In addition, I could at least play the
original test.mpg file just by opening it with RealPlayer but the
out_audio.mpg and out_video.mpg files are not recognized by it.
I thought maybe I had made a mistake and the original was actually an mpeg-2
elementary stream file rather than a program stream file so I used
testMPEG1or2VideoStreamer.exe to stream it and testMPEG1or2VideoReceiver.exe
for the client side. However the result was the same as above. Except the
testMPEG1or2VideoReceiver.exe file window gave me nothing but these weird
symbols and the computer made this really high pitched sound and locked up.
I don't know what's wrong. I know that what I'm doing wrong is probably
very simple to figure out but I'm very new to networking and streaming. In
fact this is my first time working on this subject. But I would really
appreciate any help you can give me.
Emal
------------------------------
Message: 2
Date: Thu, 11 Mar 2004 09:55:20 -0800
From: Ross Finlayson <finlayson at live.com>
Subject: Re: [Live-devel] Can't stream an mpeg-2 file
To: "LIVE.COM Streaming Media - development & use"
<live-devel at ns.live.com>
Message-ID: <6.0.1.1.1.20040311095355.027a49e0 at localhost>
Content-Type: text/plain; charset="us-ascii"; format=flowed
>I have downloaded and compiled your program on VC++ 6.0. I tested it out
on
>an mpeg-2 program stream test file by streaming it to my own computer, but
>unfortunately it didn't work.
Emal,
Please put a copy of your "test.mpg" file on a web server, and send me the
URL, so I can take a look at it, to try to figure out what's going wrong.
Ross Finlayson
LIVE.COM
<http://www.live.com/>
------------------------------
_______________________________________________
live-devel mailing list
live-devel at lists.live.com
http://lists.live.com/mailman/listinfo/live-devel
End of live-devel Digest, Vol 5, Issue 10
*****************************************
More information about the live-devel
mailing list