<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-multimedia/ffmpeg, branch styhead</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=styhead</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=styhead'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-11-30T13:41:59+00:00</updated>
<entry>
<title>ffmpeg: fix packaging examples</title>
<updated>2024-11-30T13:41:59+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2024-10-27T17:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7c76a24afb06e47fc2f14ee7a7f16bec14b077e2'/>
<id>urn:sha1:7c76a24afb06e47fc2f14ee7a7f16bec14b077e2</id>
<content type='text'>
* I've noticed that ffmpeg package isn't created in my builds, due
  to --disable-programs in EXTRA_OECONF added by our .bbappend, but
  was surprised that lib32-ffmpeg is created.

* lib32-ffmpeg was created only because it contained the examples
  which are installed in /usr/share/ffmpeg even when PN is lib32-ffmpeg
  as we pass --datadir=${datadir}/ffmpeg in EXTRA_OECONF here

* --disable-programs controls ${bindir}/ffprobe ${bindir}/ffmpeg and
  ${datadir}/ffmpeg/ffprobe.xsd ${datadir}/ffmpeg/libvpx-*.ffpreset

(From OE-Core rev: 24bf3ad245fa2dba14a59477279c6db3c8bcd088)

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit d7bf828b6431a254201675e41047f53da47912f5)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>ffmpeg: Add "libswresample libavcodec" to CVE_PRODUCT</title>
<updated>2024-11-11T17:16:26+00:00</updated>
<author>
<name>aszh07</name>
<email>mail2szahir@gmail.com</email>
</author>
<published>2024-10-17T05:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=26e83c3ca2fcc7ca209f567919fc2d27ff6d28ea'/>
<id>urn:sha1:26e83c3ca2fcc7ca209f567919fc2d27ff6d28ea</id>
<content type='text'>
Currently, CVE_PRODUCT only detects vulnerabilities where the product is "ffmpeg".

However, there are also vulnerabilities where the product is "libswresample",
and "libavcodec" as shown below.
https://app.opencve.io/vendors/?vendor=ffmpeg

Therefore, add "libswresample libavcodec" to CVE_PRODUCT to detect vulnerabilities
where the product is "libswresample libavcodec" as well.

(From OE-Core rev: 0b0299415ec719bb4c3764dfa0740e4ff6cc0362)

Signed-off-by: aszh07 &lt;mail2szahir@gmail.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 9684eba5c543de229108008e29afd1dd021a9799)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>ffmpeg: Disable asm optimizations on x86</title>
<updated>2024-11-11T17:16:26+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-10-13T19:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=84bb73b74a63bc27c99a8b9bb9bd689835d4d794'/>
<id>urn:sha1:84bb73b74a63bc27c99a8b9bb9bd689835d4d794</id>
<content type='text'>
disable asm code if PIC is required, as the provided asm
decidedly is not PIC for x86.

(From OE-Core rev: 03c20ece58f4368ff95241e90063269f75e1b81d)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Cc: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 941fc40ca971f87e61c19e5a0703caa304ec7547)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>ffmpeg: no need for textrel INSANE_SKIP</title>
<updated>2024-11-11T17:16:26+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-10-08T19:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2f866930d9d6da0c66ed8808ea33d201e4834b7d'/>
<id>urn:sha1:2f866930d9d6da0c66ed8808ea33d201e4834b7d</id>
<content type='text'>
It appears in testing that modern ffmpeg no longer needs to disable PIC,
so there's no need to ignore textrel warnings.

(From OE-Core rev: 6eebf4c2a9b5d30cf5145df61f1713ec1a6ce91a)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit 98d577fef75d54a59eeacaabb4a45e44b2f6832e)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>ffmpeg: nasm is x86 only, so only DEPEND if x86</title>
<updated>2024-11-11T17:16:26+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-10-08T19:30:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c4e3fe7dc33cc022ac0e93b17093e680e168311'/>
<id>urn:sha1:9c4e3fe7dc33cc022ac0e93b17093e680e168311</id>
<content type='text'>
No need to depend on nasm if we're not going to use it.

(From OE-Core rev: 0830e65afc2e7d828ae1667addb6f7499ea8ddd0)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
(cherry picked from commit b99ea7f130c3f945af9a09a6ecf85b6ff8f4b710)
Signed-off-by: Steve Sakoman &lt;steve@sakoman.com&gt;
</content>
</entry>
<entry>
<title>ffmpeg: Fix build on musl linux systems</title>
<updated>2024-09-04T11:38:44+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-09-02T21:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d4f765cb16109ea2f1d806ea94f51860f2f58d54'/>
<id>urn:sha1:d4f765cb16109ea2f1d806ea94f51860f2f58d54</id>
<content type='text'>
Improved detection of ioctl API makes it easier to use the right
implementation rather than bunch of ifdef condition checks.

(From OE-Core rev: a81fa08cada35a1b1163a56b80fa72110dcf1e7f)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ffmpeg: Package example files in ffmpeg-examples</title>
<updated>2024-09-01T11:28:10+00:00</updated>
<author>
<name>Ola x Nilsson</name>
<email>olani@axis.com</email>
</author>
<published>2024-08-27T09:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bbc4b561862bb55b47613ee6310732e6771adbe4'/>
<id>urn:sha1:bbc4b561862bb55b47613ee6310732e6771adbe4</id>
<content type='text'>
The most future proof way to not always ship the example files is to
package them separately.

(From OE-Core rev: ee405b4d75ed7361e8fd6220532c4a79b0b6bba6)

Signed-off-by: Ola x Nilsson &lt;olani@axis.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ffmpeg: update 6.1.1 -&gt; 7.0.2</title>
<updated>2024-08-28T08:14:27+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2024-08-27T05:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=aa463a8da13ce39d467c634deba472c4f042a8f9'/>
<id>urn:sha1:aa463a8da13ce39d467c634deba472c4f042a8f9</id>
<content type='text'>
(From OE-Core rev: d913e9cf997a2b2455bc336565fc69e76eac9b70)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ffmpeg: fix build with binutils 2.43 on arm with commerical codecs</title>
<updated>2024-08-09T21:33:38+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2024-08-09T10:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b997e4dc9cce85afeddf5c53b094e00379f7caae'/>
<id>urn:sha1:b997e4dc9cce85afeddf5c53b094e00379f7caae</id>
<content type='text'>
binutils 2.43 is stricter with label names, so rename a label to stop
assembler errors.

[ YOCTO #15570 ]

(From OE-Core rev: 06d29af58521b94518c924468db34d0eed1cb056)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ffmpeg: backport patch to fix errors with GCC 14</title>
<updated>2024-06-18T07:44:41+00:00</updated>
<author>
<name>Dmitry Baryshkov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2024-06-15T11:11:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=29f38b334df6a1431cdfe9c7c4144e65cb5d652c'/>
<id>urn:sha1:29f38b334df6a1431cdfe9c7c4144e65cb5d652c</id>
<content type='text'>
On ARMv7 compilation of ffmpeg breaks if Vulkan support is enabled.
Backport a patch from the trunk to fix compilation issues:

| src/libavcodec/vulkan_av1.c: In function 'vk_av1_create_params':
| src/libavcodec/vulkan_av1.c:214:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   214 |         .videoSessionParametersTemplate = NULL,
|       |                                           ^~~~
| src/libavcodec/vulkan_av1.c:214:43: note: (near initialization for '(anonymous).videoSessionParametersTemplate')
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
| make: *** Waiting for unfinished jobs....
| src/libavcodec/vulkan_decode.c: In function 'ff_vk_decode_prepare_frame':
| src/libavcodec/vulkan_decode.c:191:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   191 |     vkpic-&gt;img_view_ref  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:192:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   192 |     vkpic-&gt;img_view_out  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:193:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   193 |     vkpic-&gt;img_view_dest = NULL;
|       |                          ^
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1

(From OE-Core rev: 52001cabd021b7c856acf426b668b99a72561de0)

Signed-off-by: Dmitry Baryshkov &lt;dmitry.baryshkov@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
