Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#36685 - [cinelerra-cv][PATCH] Fix call to avcodec_open2() for quicktime files
Attached to Project:
Community Packages
Opened by Sung Pae (guns) - Tuesday, 27 August 2013, 03:51 GMT
Last edited by Ray Rashif (schivmeister) - Wednesday, 18 September 2013, 12:13 GMT
Opened by Sung Pae (guns) - Tuesday, 27 August 2013, 03:51 GMT
Last edited by Ray Rashif (schivmeister) - Wednesday, 18 September 2013, 12:13 GMT
|
DetailsDescription:
Cinelerra exits with `no codec supplied to avcodec_open2()` (not verbatim) when opening a Quicktime file. In my case, a DNxHD video file in a mov container. The reason for this is that the ffmpeg2.0.patch incorrectly translates avcodec_open() -> avcodec_open2(). Simple patch follows this message inline, and may also be found at: https://gist.github.com/guns/6349372/raw/cbbc0df36ca7c204b6e09dde7274580d3df7ec4c/ffmpeg2.0.patch.patch Additional info: * cinelerra-cv 1:2.2-17 Steps to reproduce: Import and attempt to preview a *.mov file (perhaps with DNxHD video). --- a/ffmpeg2.0.patch 2013-08-25 17:06:04.000000000 -0500 +++ b/ffmpeg2.0.patch 2013-08-26 22:33:52.606900207 -0500 @@ -75,7 +75,7 @@ } - if(avcodec_open(context, - ptr->decoder[i]) < 0) -+ if(avcodec_open2(context,(ptr->decoder[i]) < 0,NULL)) ++ if(avcodec_open2(context, ptr->decoder[i], NULL) < 0) { printf("quicktime_new_ffmpeg: avcodec_open failed.\n"); quicktime_delete_ffmpeg(ptr); |
This task depends upon
Closed by Ray Rashif (schivmeister)
Wednesday, 18 September 2013, 12:13 GMT
Reason for closing: Fixed
Wednesday, 18 September 2013, 12:13 GMT
Reason for closing: Fixed
simply fails to open it.
Thank you!