I\'m trying to encode a H.264 video with the FFMPEG C API. I have successfully compiled and executed the decoding/encoding example provided by FFMPEG.
The problem I\'m f
As mentioned by nobody555, maybe your VLC simply cannot open that file because it is a raw stream.
Alternatives are listed at: https://superuser.com/questions/261774/converting-or-playing-a-264-video-file
ffplay
is an option, but it also works on VLC 2.2.1, Ubnuntu 15.10.
Also consider the example: https://github.com/FFmpeg/FFmpeg/blob/n3.0/doc/examples/muxing.c which generates a container format instead of a raw stream.