Page 1 of 1

Record and display from a dshow

Posted: 03 Feb 2014 17:43
by inspiracionv
Hi,

I have a problem for record a video with dshow.

When i use this optons :
:sout=#stream_out_duplicate{dst=display,dst=std{access=file,mux=avi,dst="+img+".avi}}

All works good, but the size of video is very big (5sec - 100MB)

I tried this :
:sout=#duplicate{dst='transcode{vcodec=h264}:std{access=file,mux=ts,dst="FILE.mpg"}'}

The video is displaying but don't record (file have 0 byte).

And if do this :
#transcode{vcodec=h264}:std{access=file,mux=ts,dst="FILE.mpg"}

The video record well but this of couse no display.

I would like to duplicate, display and record, but in a file without big size like the avi by default.

Re: Record and display from a dshow

Posted: 11 Feb 2014 17:48
by Jean-Baptiste Kempf
What is the message of rejection?

Re: Record and display from a dshow

Posted: 13 Feb 2014 18:23
by inspiracionv
Thanks for reply.

I found the problem. It was a problem of cache.
I was with 50ms who are very short for diplay and record.
i added a sout-cache=500 and all work well.