[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 19:18:00 CEST 2014


On Tue, Apr 29, 2014 at 11:45 AM, Luca Barbato <lu_zero at gentoo.org> wrote:
> On 29/04/14 16:01, jonsmirl at gmail.com wrote:
>> 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
>
> Oh, you spotted an interesting bug since it should report a completely
> different error =)
>
> I hope the rest works fine now.

After testing CPU is too slow to h264 encode. That means I will have
to deal with getting this closed source library from Allwinner
working. I was hoping to avoid that.

Has anyone reported any success using the Mali GPU to h.264 encode?

>
> 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