Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-09-11 Thread Thilo Borgmann
Am 10.09.15 um 20:41 schrieb Michael Niedermayer: > On Tue, Jul 28, 2015 at 01:32:16PM +0200, Thilo Borgmann wrote: >> Hi, >> >> Am 27.07.15 um 18:08 schrieb Gianluigi Tiesi: >>> Hi, with the attached patch, ffmpeg avfoundation device input >>> is able to find my canopus dv firewire adapter. >>> I

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-09-10 Thread Michael Niedermayer
On Tue, Jul 28, 2015 at 01:32:16PM +0200, Thilo Borgmann wrote: > Hi, > > Am 27.07.15 um 18:08 schrieb Gianluigi Tiesi: > > Hi, with the attached patch, ffmpeg avfoundation device input > > is able to find my canopus dv firewire adapter. > > I only have 1 format 'muxed' and it's not possible to

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-28 Thread Thilo Borgmann
Hi, Am 27.07.15 um 18:08 schrieb Gianluigi Tiesi: Hi, with the attached patch, ffmpeg avfoundation device input is able to find my canopus dv firewire adapter. I only have 1 format 'muxed' and it's not possible to set resolution or framerate via 'setValue'. I've looked at the code in the

[FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
Hi, with the attached patch, ffmpeg avfoundation device input is able to find my canopus dv firewire adapter. I only have 1 format 'muxed' and it's not possible to set resolution or framerate via 'setValue'. I've looked at the code in the AVRecorder sample:

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
forgot to add the output: [avfoundation @ 0x7fa2bb824a00] Selected framerate (29.970030) is not supported by the device [avfoundation @ 0x7fa2bb824a00] Selected pixel format (yuv420p) is not supported by the input device. [avfoundation @ 0x7fa2bb824a00] Supported pixel formats: [avfoundation @

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
Hi, looks like setting capture_dict with: AVVideoScalingModeKey : AVVideoScalingModeResizeAspect fixes the problem -- Gianluigi Tiesi sher...@netfarm.it EDP Project Leader Netfarm S.r.l. - http://www.netfarm.it/ Free Software: http://oss.netfarm.it/

Re: [FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

2015-07-27 Thread Gianluigi Tiesi
If I force resolution to 720x576 using capture_dict = @{ (id)kCVPixelBufferWidthKey : @(720), (id)kCVPixelBufferHeightKey : @(576), (id)kCVPixelBufferPixelFormatTypeKey : pixel_format }; The video looks ok but resolution becomes 703(?)x576 Stream #0:0: