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

jonsmirl at gmail.com jonsmirl at gmail.com
Tue Apr 29 16:01:55 CEST 2014


On Tue, Apr 29, 2014 at 9:49 AM, Luca Barbato <lu_zero at gentoo.org> wrote:
> 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

It is something very simple....

output is to foo/....

do 'mkdir foo' to fix


>
> your problem is different and is probably the aac encoder.
>
> lu
> _______________________________________________
> libav-tools mailing list
> libav-tools at libav.org
> https://lists.libav.org/mailman/listinfo/libav-tools



-- 
Jon Smirl
jonsmirl at gmail.com


More information about the libav-tools mailing list