Failures on recording stream (audio)
Posted: 06 May 2007 16:03
Greetings,
I am using the following command to capture a live Quicktime (M4V/M4A) stream from a Darwin Streaming Server:
/Applications/VLC.app/Contents/MacOS/clivlc -I dummy rtsp://xxx.xxx.xxx/xxx.sdp --sout '#standard{access=file,mux=mov,dst=/xxx/xxx/xxx.mov}'
It works great.. Well, almost. About 50% of the time, it seems the audio track of the resulting file does not exist. On closer examination, it does exist but is unable to be played back by VLC or QuickTime. MPlayer on the other hand does play it back. When I look at the properties in QuickTime, I see that the audio track duration and start time is off. The Start Time is a series of negative numbers '-18:-38.-61' and the duration is approximately this start time plus the duration of the video (41:27.86 when the video is 22:49.38 given the above Start Time).
Again, this only seems to happen 50% of the time. I am at a bit of a loss. Any suggestions?
Thanks,
shawn
I am using the following command to capture a live Quicktime (M4V/M4A) stream from a Darwin Streaming Server:
/Applications/VLC.app/Contents/MacOS/clivlc -I dummy rtsp://xxx.xxx.xxx/xxx.sdp --sout '#standard{access=file,mux=mov,dst=/xxx/xxx/xxx.mov}'
It works great.. Well, almost. About 50% of the time, it seems the audio track of the resulting file does not exist. On closer examination, it does exist but is unable to be played back by VLC or QuickTime. MPlayer on the other hand does play it back. When I look at the properties in QuickTime, I see that the audio track duration and start time is off. The Start Time is a series of negative numbers '-18:-38.-61' and the duration is approximately this start time plus the duration of the video (41:27.86 when the video is 22:49.38 given the above Start Time).
Again, this only seems to happen 50% of the time. I am at a bit of a loss. Any suggestions?
Thanks,
shawn