Re: [Live-devel] Still working on a h264 framer

2008-06-27 Thread Mike Gilorma
Ok, I'll give that a shot. The FU-A framing was already done for me in the H264VideoRTPSink that came with live555. I did have to add some code to it to send the sps and pps packets before each IDR unit so VLC would play the stream. thanks for the help, I'll keep everybody posted on the progre

Re: [Live-devel] Still working on a h264 framer

2008-06-26 Thread Mike Gilorma
Thanks Ross, setting the frameDuration to the number of frames per second seemed to make things better. I guess I'll have to make that more dynamic later on, but the good news is I'm streaming H.264!!! the bad news? My file doesn't keep playing, I modeled my test program after testMPEG4VideoStre

Re: [Live-devel] H.264 Details

2008-06-25 Thread Mike Gilorma
thanks Jerry! that's some great info that will probably come in handy once I get my framer all ironed out! On Tue, 2008-06-24 at 13:06 -0700, Jerry Johns wrote: > Since there seems to be quite a few ppl writing H.264 frame > subclasses, I think i'll give a gist of what I learned when i was > crea

Re: [Live-devel] Still working on a h264 framer

2008-06-25 Thread Mike Gilorma
it up yet) On Tue, 2008-06-24 at 10:21 -0400, Mike Gilorma wrote: > All, > > I have been working on creating a h264 framer for about a week and feel > like I have headed in the wrong direction, so its time for a fresh > start. Would H263plusVideoFramer be a good starting point?

Re: [Live-devel] H.264 Encoded Video

2008-06-24 Thread Mike Gilorma
Actually we are tying to do the same thing, just different OS's. The process I was describing is how I created a h264 file in Linux. When you say you want to implement a subclass of H264VideoStreamFramer, does that mean you have an H264VideoStreamFramer? Because that is what I am trying to write

Re: [Live-devel] H.264 Encoded Video

2008-06-24 Thread Mike Gilorma
here's how I created a h264 file from a dvd (on linux fc7), (create avi file) mencoder dvd://1 -o ouput.avi -oac faac -ovc x264 (convert avi to mp4) ffmpeg -i output.avi -vcodec h264 output.mp4 (extract track from mp4) mp4creator -extract=1 output.mp4 (this creates output.mp4.t1) file output.mp

[Live-devel] Still working on a h264 framer

2008-06-24 Thread Mike Gilorma
All, I have been working on creating a h264 framer for about a week and feel like I have headed in the wrong direction, so its time for a fresh start. Would H263plusVideoFramer be a good starting point? I have been searching "h.264 site:lists.live555.com" and it seems that there are people ou

Re: [Live-devel] H264VideoStreamFramer

2008-06-23 Thread Mike Gilorma
forgot to attach the code! On Mon, 2008-06-23 at 14:07 -0400, Mike Gilorma wrote: > Well, I've gotten this far with my h264 stream framer: > > I have a class H264VideoStreamParser that subclasses > MPEGVideoStreamParser and have created a H264VideoStreamFramer. I have > a

Re: [Live-devel] H264VideoStreamFramer

2008-06-23 Thread Mike Gilorma
to make my test program and corresponding h264VideoStreamFramer code available to all who wish!! On Thu, 2008-06-19 at 16:37 +0300, Brian Marete wrote: > On Wed, Jun 18, 2008 at 9:37 PM, Mike Gilorma > <[EMAIL PROTECTED]> wrote: > > That sounds like it might be helpful, could you

Re: [Live-devel] H264VideoStreamFramer

2008-06-18 Thread Mike Gilorma
That sounds like it might be helpful, could you send that over to me? thanks, Mike On Wed, 2008-06-18 at 21:04 +0300, Brian Marete wrote: > On Wed, Jun 18, 2008 at 8:44 PM, Mike Gilorma > <[EMAIL PROTECTED]> wrote: > > Thank you for your response, but I am looking to inc

Re: [Live-devel] H264VideoStreamFramer

2008-06-18 Thread Mike Gilorma
type that makes use of FFmpeg's libavformat > library. It works, no matter what file format contains the H.264 data. > Or you want something that is "native" to live555? > > BGM. > > On Wed, Jun 18, 2008 at 7:09 PM, Mike Gilorma > <[EMAIL PROTECTED]> wr

[Live-devel] H264VideoStreamFramer

2008-06-18 Thread Mike Gilorma
I've read the FAQ and searched the mailing list on the subject of streaming H264 and understand that I need to implement my own H264VideoStreamFramer subclass. I was just wondering if anybody had written their own that they wouldn't mind sharing. Being that I'm not that familiar with video data s

Re: [Live-devel] streaming video and audio via RTSP

2008-06-18 Thread Mike Gilorma
-ovc lavc -lavcopts vcodec=mpeg4 - or - mencoder dvd://1 -o test.avi -oac faac -ovc x264 2. convert avi to mp4: ffmpeg -i test.avi -vcodec mpeg4 test.mp4 - or - ffmpeg -i test.avi -vcodec h264 test.mp4 3. extract tracks from mpeg4 file: mp4creator -extract= test.mp4 On Fri, 2008-06-13 at 11:07 -

Re: [Live-devel] streaming video and audio via RTSP

2008-06-13 Thread Mike Gilorma
I've attached my test program, each stream has rtcp, and the timestamps are being set using timeofday. The VLC says the streams are synchronized, but I am looking into doing more debug on the client side. It looks like the video is started streaming before the audio and that is where the streams g

Re: [Live-devel] streaming video and audio via RTSP

2008-06-12 Thread Mike Gilorma
frames of video are being read out before the audio starts streaming. How can I resolve this issue? I've attached the output and my test program. Thanks, Mike On Tue, 2008-06-10 at 17:28 -0400, Mike Gilorma wrote: > According to the output from VLC it says the rtp source has been > s

Re: [Live-devel] streaming video and audio via RTSP

2008-06-10 Thread Mike Gilorma
According to the output from VLC it says the rtp source has been synchronized twice (once for each??). I looked through the code and see where the timestamp is getting set for each packet, the absolute time for each packet is very close, but after convertToRTPTimestamp gets called the time stamps

Re: [Live-devel] streaming video and audio via RTSP

2008-06-10 Thread Mike Gilorma
-Mike On Mon, 2008-06-09 at 17:02 -0400, Mike Gilorma wrote: > How do you go about streaming video and audio at the same time using > RTSP? I want to stream two elemental streams that I got out of a mp4 > file to VLC and have them playback just as if I was watching the > original

Re: [Live-devel] Problems with streaming live h264 video on TI da Vinci platform.

2008-06-10 Thread Mike Gilorma
I have one of those board here and was thinking about trying to port live555 over to it. Are you running Virtual Logix Linux or did you actually port it over to the DSP? If you can send me your test code or project I can help debug. On Tue, 2008-06-10 at 17:46 +0800, Amit Lobo wrote: > Hi All, >

[Live-devel] streaming video and audio via RTSP

2008-06-09 Thread Mike Gilorma
How do you go about streaming video and audio at the same time using RTSP? I want to stream two elemental streams that I got out of a mp4 file to VLC and have them playback just as if I was watching the original file. Using the testOnDemandRTSPServer I can open the video stream in one instance of

[Live-devel] RTP Unicast of ADTS AAC file

2008-06-03 Thread Mike Gilorma
hi, I have written a simple program to stream an ADTS AAC file that I extracted from an MPEG-4 file using mp4create -extract. I based my test program off of ADTSAudioFileServerMediaSubsession and ADTSAudioFileSource. When I open the stream with VLC on my remote pc, it connects but does not decod

Re: [Live-devel] how to stream G711 raw bit stream

2008-06-02 Thread Mike Gilorma
I've managed to write a streamer and receiver program based on the test programs that successfully transmits my audio file from one pc to another via rtp (unicast). To do this however, I had to modify the WAVAudioFileSource.cpp file to not complain about my file not being a wav file. Is there a b

Re: [Live-devel] how to stream G711 raw bit stream

2008-06-02 Thread Mike Gilorma
I miss-typed, I meant to say that I couldn't find an example for streaming raw audio. The reason I say raw audio is that I have a eval board from TI that can encode video and audio into two separate files. The audio file shows up as data and the video file shows up as mpeg-4. I was able to stream

[Live-devel] how to stream G711 raw bit stream

2008-05-30 Thread Mike Gilorma
I have a g711 raw bit stream and mpeg4 video bit stream that I am trying to stream using rtp to have played back on vlc. I used the testMPEG4video program with success. I can't seem to find a good example for streaming raw video. The audio is encoded at 8000 S/s and 64kbit per second. Any help