[Libav-user] muxing.c example

Stefano Sabatini stefasab at gmail.com
Tue Oct 23 22:26:10 CEST 2012


On date Monday 2012-10-22 21:30:08 +0200, Denis encoded:
> 
> Using muxing.c example, I obtain this error:
> 
> "Unable to find a suitable output format for 'a.mpg"
> 
> The problem is at row "avformat_alloc_output_context2(&oc, NULL, NULL, 
> filename);" of the muxing.c example.
> 
> Does muxing.c work well?
> I tried:
> a.mpg
> a.avi
> a.mpeg
> a.ogg
> but nothing.

Can't reproduce here.

Check that:
- you are running an updated copy of muxing.c
- output formats are enabled in your linked libavformat


More information about the Libav-user mailing list