Dear Ross, Thank you so much for releasing the new version of LIVE555 so quick. I tested the demo "testH264VideoToTransportStream" using 4 second h264 video clip, the program stucked at endless loop and didn't write any data to the output file. When I stepped into the codes, it got into the following conditions 1. "return 0; // the parsing got interrupted" in function H264VideoStreamParser::parse() 2. acquiredFrameSize=0 in MPEGVideoStreamFramer::continueReadProcessing
// We were unable to parse a complete frame from the input, because: // - we had to read more data from the source stream, or // - the source stream has ended. This happened when I reduced BANK_SIZE to 15000 which is larger than size of my video clip. Could you help me or guide me to fix this? Many thanks Dunling Li Cernium Corporation 1925 Isaac Newton Square, suite 300 Reston, VA 20190 Email: d...@cernium.com Phone: (703) 483-3387 Fax: (703) 483-3380 -----Original Message----- From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Wednesday, January 19, 2011 7:51 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Conversion from H.264 to MPEG2 Transport Stream >I'm a beginner of live555 Streaming Media and I would like to >convert H.264 video files to TS files. One of live555 test examples, >testMPEG1or2ProgramToTransportStream.cpp, show how to convert MPEG2 >file to TS file using functions in >MPEG2TransportStreamFromPESSource. Can anyone point me how to >convert H.264 to TS using live555 functions? Yes, we can now convert H.264 video elementary stream files into Transport Stream files. I have now released a new version (2011.01.20) of the "LIVE555 Streaming Media" code that now includes a new demo application (in the "testProgs" directory) named "testH264VideoToTransportStream". -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel