[FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

Thilo Borgmann thilo.borgmann at mail.de
Fri Sep 11 19:24:34 CEST 2015


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 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:
>>> https://developer.apple.com/library/mac/samplecode/AVRecorder/Introduction/Intro.html
>>>
>>> it's able to correctly record (audio and video) from dv adapter
>>> using almost same api calls of ffmpeg.
>>>
>>> with my patch ffmpeg is able to record too (video only) but looks like
>>> there is a problem with video resolution.
>>>
>>> http://oss.netfarm.it/mplayer/upload/with-avrecorder.png
>>> http://oss.netfarm.it/mplayer/upload/with-ffmpeg.png
>>>
>>> and videos:
>>>
>>> http://oss.netfarm.it/mplayer/upload/with-avrecorder.mov
>>> http://oss.netfarm.it/mplayer/upload/with-ffmpeg.mp4
>>>
>>> I known the patch can be improved, but I should at least solve
>>> the resolution problem.
> 
> whats the status of this patch
> 
> does it wait for a review? does it need changes ?
> it still applies cleanly
> 
>>
>> I'm not available to look further in this until next week.
>> For the time being, you might want to try to allow AVMediaTypeMuxed for audio
>> and video devices and see if the device is then listed properly and what comes
>> out then if recording from these.
>>
>> I think I don't have any devices detected to be a muxed type available, so this
>> might need close collaboration to fix the issue. Please consider opening a
>> ticket on trac for that.

I had been put offline by the all mighty ISP up to this minute.
I will continue working on the avfoundation issues next week, there are
several.

Sorry for delay :(

-Thilo



More information about the ffmpeg-devel mailing list