[Libav-user] video toolbox encoder support in latest git

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Libav-user] video toolbox encoder support in latest git

Steve Green
With the latest master, I’m not getting videotoolbox encoder support.  This has worked in the past but something has changed and I can’t get it working anymore.  config.log doesn’t help me and I don’t think it would be a good idea to paste it here?  Anyone know how to get this working?

My configure is as follows:

$ ./configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --cc=/usr/bin/clang --enable-gpl --enable-version3 --enable-avresample --disable-sdl2 --disable-libxcb --optflags=‘'

$ grep H264_VIDEOTOOLBOX config.h
#define CONFIG_H264_VIDEOTOOLBOX_ENCODER 0
#define CONFIG_H264_VIDEOTOOLBOX_HWACCEL 1

$ ls libavcodec/videotoolboxenc.o
ls: libavcodec/videotoolboxenc.o: No such file or directory
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: video toolbox encoder support in latest git

Carl Eugen Hoyos-2
2017-09-23 1:04 GMT+02:00 Steve Green <[hidden email]>:
> With the latest master, I’m not getting videotoolbox encoder support.  This has worked in the past but something has changed and I can’t get it working anymore.  config.log doesn’t help me and I don’t think it would be a good idea to paste it here?

(It's generally required for build issues.)

Please run a bisect.

> $ ./configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --cc=/usr/bin/clang --enable-gpl --enable-version3 --enable-avresample --disable-sdl2 --disable-libxcb --optflags=‘'

Unrelated:
Any reason for avresample or version3?
The empty optflags do not look useful.

Carl Eugen
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: video toolbox encoder support in latest git

Steve Green
On Sep 22, 2017, at 7:46 PM, Carl Eugen Hoyos <[hidden email]> wrote:
>
> 2017-09-23 1:04 GMT+02:00 Steve Green <[hidden email]>:
>> With the latest master, I’m not getting videotoolbox encoder support.  This has worked in the past but something has changed and I can’t get it working anymore.  config.log doesn’t help me and I don’t think it would be a good idea to paste it here?
>
> (It's generally required for build issues.)

Should I reply with it here or use something like pastebin?

> Please run a bisect.

As in git bisect to find the commit the changed this behavior?  I’ll start on that now.

>> $ ./configure --extra-cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib --cc=/usr/bin/clang --enable-gpl --enable-version3 --enable-avresample --disable-sdl2 --disable-libxcb --optflags=‘'
>
> Unrelated:
> Any reason for avresample or version3?

Perhaps not. That might have been a leftover from the past or just a mistake.  I’ll confirm.

> The empty optflags do not look useful.

I wanted to disable compiler optimizations so I could step through code.  That seemed to work.

~S
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: video toolbox encoder support in latest git

Carl Eugen Hoyos-2
2017-09-23 2:03 GMT+02:00 Steve Green <[hidden email]>:
> On Sep 22, 2017, at 7:46 PM, Carl Eugen Hoyos <[hidden email]> wrote:

>> The empty optflags do not look useful.
>
> I wanted to disable compiler optimizations so I could step through code.

Feel free to use --disable-optimizations.
(Which of course has implications, I cannot recommend it although
it should very significantly speed up compilation.)

> That seemed to work.

No, I can confirm that with "--optflags=''" you still get default
(full) optimization.

Avoid external resources if possible, Carl Eugen
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: video toolbox encoder support in latest git

Steve Green
Results from bisect:

9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d is the first bad commit
commit 9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d
Author: Clément Bœsch <[hidden email]>
Date:   Fri Jul 28 13:39:00 2017 +0200

    build: simplify weak-enabling of autodetected libraries

:100755 100755 b5e3629db0cdba08cc97d60f9b2d1a4d855af895 fea9f956b8c41e204bed03d3047ec334504ae9b6 M configure


> On Sep 22, 2017, at 8:07 PM, Carl Eugen Hoyos <[hidden email]> wrote:
>
> 2017-09-23 2:03 GMT+02:00 Steve Green <[hidden email]>:
>> On Sep 22, 2017, at 7:46 PM, Carl Eugen Hoyos <[hidden email]> wrote:
>
>>> The empty optflags do not look useful.
>>
>> I wanted to disable compiler optimizations so I could step through code.
>
> Feel free to use --disable-optimizations.
> (Which of course has implications, I cannot recommend it although
> it should very significantly speed up compilation.)
>
>> That seemed to work.
>
> No, I can confirm that with "--optflags=''" you still get default
> (full) optimization.
>
> Avoid external resources if possible, Carl Eugen
> _______________________________________________
> Libav-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/libav-user

_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user
Reply | Threaded
Open this post in threaded view
|

Re: video toolbox encoder support in latest git

Carl Eugen Hoyos-2
2017-09-23 2:19 GMT+02:00 Steve Green <[hidden email]>:
> Results from bisect:
>
> 9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d is the first bad commit
> commit 9ef5a2f5f30bdc4ac86275ae4b4708ab4681b21d
> Author: Clément Bœsch <[hidden email]>
> Date:   Fri Jul 28 13:39:00 2017 +0200
>
>     build: simplify weak-enabling of autodetected libraries

Please open a ticket on trac.ffmpeg.org

Please avoid top-posting here, Carl Eugen
_______________________________________________
Libav-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/libav-user