DirectShow Capture support

Announcements made by users.

Re: DirectShow Capture support

Postby dansus » Sat Jul 02, 2011 2:12 pm

Excellent, this exactly what ive been looking for.

So if 'ffmpeg -f dshow -i list' doesnt show the id of my pci tv card, how do i work out what its called for the cmd?

Ive looked it up with graph edit but FF cant lock onto it.

Code: Select all
ffmpeg -f dshow -i video="7231 BDA Digital Capture DVBT" -r 25 -threads 0 -vcodec libx264 -f mp4 output.mp4
dansus
 
Posts: 1
Joined: Sat Jul 02, 2011 2:09 pm

Re: DirectShow Capture support

Postby ramiro » Sat Jul 02, 2011 10:50 pm

anyone interested in writing the code and posting a patch to ffmpeg-devel?
make a function similar to the first while() in dshow_open_device(), but instead of strcmp(device_name, buf) just print out the device's name. there's no need to open the device after that, just clean up properly.

EDIT: that is, for "-f dshow -i list" support. just return something false after printing out the data (with av_log).
ramiro
 
Posts: 153
Joined: Tue May 10, 2011 12:56 am

Re: DirectShow Capture support

Postby meilon » Sat Jul 16, 2011 10:49 am

Hi there!

I have a problem with dshow:

I have a video grabber with an old VCR behind it. I want to digitize some old childhood videos. The VCR and tapes are PAL, but ffmpeg reports the input is 640x480. How do I change that?

Regards

meilon
meilon
 
Posts: 4
Joined: Wed Jul 06, 2011 12:37 pm

Re: DirectShow Capture support

Postby essar » Tue Aug 02, 2011 10:09 am

Hi all I am new to dshow.

when I am using the executables from static build to windows -dshow option is working perfect. But when I am trying the same option with the executable that I build from the source file, it is not working... Its shooting an error that "Unknown option -dshow."

In this case its not showing dshow in the available formats <ffmpeg -formats>

What can I do ?

Do I need to change any thing in the config file for that ?

Thanks
essar
 
Posts: 6
Joined: Fri Jul 22, 2011 8:55 am

Re: DirectShow Capture support

Postby rogerdpack » Fri Aug 05, 2011 10:28 pm

maybe check for any new configure options?
rogerdpack
 
Posts: 1454
Joined: Fri Aug 05, 2011 9:56 pm

Re: DirectShow Capture support

Postby patelsattu » Sat Aug 06, 2011 11:11 am

When you configure FFMPEG dshow should be enabled by default.However the config.log file shows lots of error regarding "dshow.c" file. Once those errors are solved i think it should be okay.
patelsattu
 
Posts: 2
Joined: Thu Jun 23, 2011 9:47 am

Re: DirectShow Capture support

Postby patelsattu » Thu Aug 11, 2011 7:10 am

Hello everybody,
I have tried all sorts of things to enable 'dshow' as input device in ffmpeg...its working in the available static builds ..but not if i try using source code and compile it ..any help on this would be greatly appreciated.
patelsattu
 
Posts: 2
Joined: Thu Jun 23, 2011 9:47 am

Re: DirectShow Capture support

Postby rogerdpack » Thu Aug 18, 2011 11:26 pm

ramiro wrote:...testing on various devices, adding more features (like capturing the desktop, accepting normal files, selecting channels in tuners), and fixing the inevitable bugs.


One can capture the desktop using a directshow desktop capture source (shameless self-plug):
https://github.com/rdp/screen-capture-recorder-program

And it does seem to work:

$ ffplay -f dshow -i video="screen-capture-recorder"

Also you can get the list of devices from VLC's "Media" => "Open Capture Device" => (check "Show more options") select them from the dropdowns.
Enjoy.

-roger-
rogerdpack
 
Posts: 1454
Joined: Fri Aug 05, 2011 9:56 pm

Re: DirectShow Capture support

Postby rogerdpack » Mon Aug 29, 2011 5:52 pm

ramiro wrote:This is a great opportunity for you (yes, you!) to join FFmpeg development, by helping clean up the source code (there's some duplicate code from vfwcap, which should be factored out), adding information to the documentation, testing on various devices, adding more features (like capturing the desktop, accepting normal files, selecting channels in tuners), and fixing the inevitable bugs.


Ok I offered a bounty on the FFMPEG ML of $250 for
http://ffmpeg.org/pipermail/ffmpeg-user ... 02144.html
somebody to make it possible to specify "1280x1024 7.5fps" or the like.
Cheers!
-r
rogerdpack
 
Posts: 1454
Joined: Fri Aug 05, 2011 9:56 pm

Re: DirectShow Capture support

Postby ramiro » Tue Aug 30, 2011 12:15 am

what do you mean by "enumerate the options of a given capture source"? list the sizes and such?
ramiro
 
Posts: 153
Joined: Tue May 10, 2011 12:56 am

PreviousNext

Return to User Announcements

Who is online

Users browsing this forum: No registered users and 1 guest