Hans Verkuil wrote:
> On Wednesday 04 October 2006 23:10, Duncan Webb wrote:
> 
>> Is there a way to start and stop mpeg stream. When the mpeg stream is
>> opened then we get a GOP, so what would be nice is to be able to stop
>> the stream at the end of a group of pictures and finish reading the
>> data (with out having to parse a buffer). Or even better open the
>> stream in a paused mode and then send a start to start the stream
>> running. (A bit like using threads)
> 
> If you call IVTV_IOC_S_GOP_END with arg 1, then the card won't stop 
> capturing until the end of a GOP is reached.

Hope that this is not a silly question.

If I do this:
cat /dev/video0 >> ~/test.mpeg &
ivtvctl --device=/dev/video0 --end-gop=1

Would you expect the output to stop?

On another xterm running
watch ls -l ~/test.mpeg
shows the file still growing.

TIA
Duncan

I'm using a PVR-500 and ivtv-0.8.0


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to