[FFmpeg-user] libx264 vs android 4.4

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jul 11 08:55:11 CEST 2014


Patrick Shirkey <pshirkey <at> boosthardware.com> writes:

> ffmpeg -f rawvideo -i /dev/graphics/fb0

This looks plain wrong.
ffmpeg cannot warn about this, it cannot know 
that /dev/... is a device (and not a file).

Careful with your other input options, I haven't used 
the FFmpeg framebuffer input device but the 
documentation indicates that you should neither set 
codec nor pix_fmt.
I am surprised that you should set the input frame 
rate, this may indicate a bug.

> Codec AVOption preset (Set the encoding preset (cf. 
> x264 --fullhelp)) specified for output file #0 
> (http://localhost:8090/feed1.ffm) has not been used 
> for any stream. The most likely reason is either 
> wrong type (e.g. a video option with no video 
> streams) or that it is a private option of some 
> encoder which was not actually used for any stream.

This would indicate that something is wrong with your 
command line.
It works fine here, what version of x264 did you 
compile?

> No pixel format specified, yuv444p for H.264 
> encoding chosen. Use -pix_fmt yuv420p for 
> compatibility with outdated media players.

This is no problem for FFmpeg but I suspect you want 
to read this carefully (and test with your desktop 
computer).

Carl Eugen



More information about the ffmpeg-user mailing list