[FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

Nicolas George george at nsup.org
Sat Oct 25 15:16:08 CEST 2014


Le quartidi 4 brumaire, an CCXXIII, wm4 a écrit :
> Then there's no sane way to handle this. Basically, you need to know:
> yes, this is a video device.

And that does not exist.

> Such a flag might probably work...

Actually, probably not without more changes, because the devices do not
remove the protocol prefix from the file name.

> The "lavfi" libavdevice demuxer already accepts arbitrary options from
> URLs.

Yes, but the lavfi device can not be selected automatically from the URL in
the first place.

> All in all, I'd say ffmpeg is not optimized for security issues.

That is your opinion.

> Why can't the frame size be detected automatically?

... Thinking about what rawvideo means would probably have taken less time
than typing the question.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141025/98883548/attachment.asc>


More information about the ffmpeg-devel mailing list