[FFmpeg-user] When merging an image with audio the resulting mp4 has a black screen

Moritz Barsnick barsnick at gmx.net
Tue Sep 2 20:47:15 CEST 2014


Hi gfmonk,

On Tue, Sep 02, 2014 at 11:14:56 -0700, gfmonk wrote:
> I am in the process of converting an existing application to the
> latest version of ffmpeg. When I merge an jpg and wav file to create
> an mp4 I get a black screen.

Which player are you using to view the resulting file? Because:

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

Have you confirmed the black video with ffplay, mplayer or vlc?

Moritz


More information about the ffmpeg-user mailing list