[FFmpeg-devel] [PATCH] dshow: allow for more codecs take 2

Don Moir donmoir at comcast.net
Mon Feb 18 20:57:31 CET 2013


----- Original Message ----- 
From: "Roger Pack" <rogerdpack2 at gmail.com>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
Sent: Thursday, February 14, 2013 3:46 PM
Subject: Re: [FFmpeg-devel] [PATCH] dshow: allow for more codecs take 2

Thanks roger. I was thinking about this when I saw you started on it.

The one main thing for me is to enumerate the devices and formats in a convienent way.

We have list_devices and list_formats but this is routed thru av_log which to me is sick.

I currently still do the enumeration in my own app because it makes the best sense. There are 2 problems with this. One is I have to 
tie my code to dshow which means its not as portable as I would like but I could get around this by just doing another library but 
avdevice is already there.  Two is I don't know the option names for the various pixel formats. Like I get mmioFOURCC 
('I','4','2','0') as an optional pixel format and I had to lookup that it maps to yuv420p so I could set that option if I needed it.

Now that info comes thru with list_formats etc., but looking thru the av_log output is silly.

I think there is a desire to have something like:

"get_dshow_device_list" which contains the devices and their formats in one call...

and also "free_dshow_device_list"




More information about the ffmpeg-devel mailing list