Record and display from a dshow

This forum is about all development around libVLC.
inspiracionv
New Cone
New Cone
Posts: 6
Joined: 19 Sep 2013 19:48

Record and display from a dshow

Postby inspiracionv » 03 Feb 2014 17:43

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Record and display from a dshow

Postby Jean-Baptiste Kempf » 11 Feb 2014 17:48

What is the message of rejection?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

inspiracionv
New Cone
New Cone
Posts: 6
Joined: 19 Sep 2013 19:48

Re: Record and display from a dshow

Postby inspiracionv » 13 Feb 2014 18:23

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests