[libav-tools] Could not write header for output file #0 (incorrect codec parameters ?): Protocol not found

Luca Barbato lu_zero at gentoo.org
Tue Apr 29 15:49:50 CEST 2014


On 29/04/14 15:00, jonsmirl at gmail.com wrote:
> Still no luck. I am not hitting your debug statement so it must be
> something else. I definitely have file protocol turned on and I just
> pulled from git.
> 
> jonsmirl at linaro-developer:~/libav$ ./avconv -v verbose -f alsa -ac 2
> -i pulse -f video4linux2 -i /dev/video0 -strict experimental -vcodec
> libx264 -acodec aac -ab 384k -hls_time 10 -hls_list_size 999999999
> foo/output.m3u8

Maybe -strict:a experimental

> Output #0, hls, to 'foo/output.m3u8':
>   Metadata:
>     encoder         : Lavf55.16.0
>     Stream #0.0: Video: libx264, yuv420p, 640x480, q=-1--1, 90k tbn, 30 tbc
>     Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp, 384 kb/s
> Stream mapping:
>   Stream #1:0 -> #0:0 (rawvideo -> libx264)
>   Stream #0:0 -> #0:1 (pcm_s16le -> aac)



> Could not write header for output file #0 (incorrect codec parameters
> ?): No such file or directory

your problem is different and is probably the aac encoder.

lu


More information about the libav-tools mailing list