using live-record with MP4
I'm trying to record a live stream from an AXIS IP camera as an MP4 file. I'm currently using v 2.1.0
I've setup the rtplive application as described in the quick start guide "All Players" version, and have no problem (re)streaming the live video. I cannot, however get live recording to work.
Here's what I've tried:
1. changing the <StreamType> to "live-record", then going to stream manager and activating camera.stream using mediaCaster "rtp"
Result: Stream is available for viewing, but I cannot find a recorded file anywhere
2. leaving <StreamType> as "live" and activating "camera.stream" with mediaCaster "rtp-record".
Result: This successfully records an FLV file in the content directory, but I require an MP4 file. It should also be noted that the created FLV can be played in Flash, but CANNOT be loaded by the Adobe Media Encoder, as it reports the file as corrupted.
3. leaving <StreamType> as "live" and activating "mp4:rtsp:<ip>/..." with mediaCaster "rtp-record".
Result: This successfully records an FLV file in the content directory, but I require an MP4 file. Reading the user guide putting "mp4" on the front of the stream should cause a MP4 file to be created.
4. setting <StreamType> as "live-record" and activating "mp4:rtsp:<ip>/..." with mediaCaster "rtp".
Result: No recording file is produced
I'm sure I just don't have the right setting somewhere, but I cannot figure out what I'm missing. Anyone have MP4 recording working that could guide me in the right direction?
The recorded file will be in the content folder, wherever /conf/[appName]/Application.xml /StorageDir points to.
But take a look at this post about:http://www.wowzamedia.com/forums/sho...d.php?t=6473#3
If a file in generated, such as in case #2, it does appear in the content directory. But I am unsuccessful at getting "live-record" to record a file at all. and #2 will only record an FLV file.
I reviewed the link you sent, but it only discusses recording from Flash/webcam and using the LiveStreamRecording package. The package is not an option for me because I need 24/7 recording that will tollerate the stream being interrupted and cannot require manual intervention. "live-record" StreamType seems to be the answer, but I cannot get it to work.
There is a problem with this right now. #3 should work but it doesn't. That post is the work-around.
So am I correct in that "live-record" doesn't work at all? or the bug is only with using mp4: prefix with the streammanager? Is there a way to get the Server to default to mp4 instead of flv?
As a side note, since the incoming stream is an H.264 stream being wrapped into flash, shouldn't the files have an f4v extension?
I sent you an email direct. The answer is the LiveStreamRecord package: