[FFmpeg-devel] avfoundation AVMediaTypeMuxed device support

Michael Niedermayer michaelni at gmx.at
Thu Sep 10 20:41:04 CEST 2015


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.
> 
> -Thilo
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150910/d42843a6/attachment.sig>


More information about the ffmpeg-devel mailing list