[FFmpeg-user] USB Camera ffplay real-time and save to file

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 12 08:52:01 EEST 2020



> Am 12.09.2020 um 02:25 schrieb Hans Carlson <forbyta at gmx.com>:
> 
> but there's a couple warning messages and I'm curious if there's any way to avoid them:
> 
>  [swscaler @ 0x2b5bb00] deprecated pixel format used, make sure you did set range correctly
> 
> I'm assuming this is referring to the input pixel format (yuvj422p).  I have no idea how to do "set range correctly".

You cannot.

>  [mjpeg @ 0x2b2e580] unable to decode APP fields: Invalid data found when processing input
> 
> This one is rather annoying simply because repeats several times/sec.

Please provide the sample produced with the following command line:
$ ffmpeg -f v4l2 -input_format mjpeg -framerate 30 -video_size 1280x720 -i /dev/video2 -c copy -f rawvideo -t 5 invalidapp.mjpg

Carl Eugen


More information about the ffmpeg-user mailing list