[FFmpeg-user] Does libcdio indev AVOptions works with macOS?

桃源老師 xanadu6291 at dream.jp
Sun Sep 17 16:33:50 EEST 2017


Hello ffmpeg experts!!

> 2017/09/17 午前5:30、桃源老師 <xanadu6291 at dream.jp>のメール:
> 
> Hello ffmpeg experts!!
> 
>> 2017/09/16 午後9:07、桃源老師 <xanadu6291 at dream.jp>のメール:
>> 
>> Hello ffmpeg experts!!
>> 
>>> 2017/09/16 午後7:27、桃源老師 <xanadu6291 at dream.jp>のメール:
>>> 
>>> But this time I got linker error like the following when configuring ffmpeg with --enable-libcdio option.
> 
>>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>> ERROR: No usable libcdio/cdparanoia found
>> 
>> libcdio develop team told me that the above linker error is because "-Wl,-framework,DiskArbitration"  is missing in the ffmpeg link command. 
> 
>> Could you please fix this for the people who want to use libcdio function on ffmpeg for macOS?
> 
> I have found that by changing following line of ffmpeg configure script, I can get ffmpeg which supports libcdio on macOS...
> 
> Please fix ffmpeg configure script if my change is correct.
> 
> $ diff -u a/configure b/configure 
> --- a/configure	2017-09-16 15:02:06.000000000 +0900
> +++ b/configure	2017-09-17 04:53:34.000000000 +0900
> @@ -6151,7 +6151,7 @@
> 
> if enabled libcdio; then
>     check_lib libcdio "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
> -    check_lib libcdio "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
> +    require_pkg_config libcdio "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio && check_lib libcdio "cdio/paranoia/cdda.h cdio/paranoia/paranoia.h" cdio_cddap_open -lcdio_paranoia -lcdio_cdda -lcdio ||
>     die "ERROR: No usable libcdio/cdparanoia found"
> fi

should I apply this change locally or do you have any plan to change configure script?


Best Regards,


// Miya aka. TougenRoushi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3860 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170917/b4a5d8c8/attachment.bin>


More information about the ffmpeg-user mailing list