Jump to content


Photo

ffmpeg Unknown encoder 'libx264'


  • Please log in to reply
5 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 10,297 posts

+347
Excellent

Posted 24 January 2022 - 06:42

Duo4k not support .avi files

#!/bin/bash
for i in ./*.avi; do
ffmpeg -i $i -vcodec libx264 -acodec copy -f mpegts $i.ts
done

 

ffmpeg Unknown encoder 'libx264'

Solution https://www.google.r...RPV42041SNrsTJF

 

How to do ffmpeg openpli?

Then I could write a simple conversion plugin.

 

 

What does it mean?

https://github.com/O...eg_4.4.1.bb#L81

--enable-encoder=libx264

 


Edited by Dimitrij, 24 January 2022 - 06:50.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: ffmpeg Unknown encoder 'libx264' #2 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 24 January 2022 - 09:48

Duo4k not support .avi files

#!/bin/bash
for i in ./*.avi; do
ffmpeg -i $i -vcodec libx264 -acodec copy -f mpegts $i.ts
done

ffmpeg Unknown encoder 'libx264'

 

 
You need to rebuild ffmpeg with enabled libx264 encoder:

--- a/ffmpeg_4.%25.bbappend
+++ b/ffmpeg_4.%25.bbappend
@@ -107,6 +107,7 @@ EXTRA_FFCONF = " \
        --enable-encoder=h263p \
        --enable-encoder=jpeg2000 \
        --enable-encoder=jpegls \
+       --enable-encoder=libx264 \
        --enable-encoder=ljpeg \
        --enable-encoder=mjpeg \
        --enable-encoder=mpeg1video \

And it could be safely added to develop branch I suppose...


Edited by blzr, 24 January 2022 - 09:48.

True sarcasm doesn't need green font...

Re: ffmpeg Unknown encoder 'libx264' #3 Dimitrij

  • PLi® Core member
  • 10,297 posts

+347
Excellent

Posted 24 January 2022 - 10:21

blzr

Big thanks

 

 

ffmpeg: Add libx264 encoder


Edited by Dimitrij, 24 January 2022 - 10:30.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: ffmpeg Unknown encoder 'libx264' #4 WanWizard

  • PLi® Core member
  • 70,381 posts

+1,807
Excellent

Posted 24 January 2022 - 11:20

It might have been removed by @betacentauri due to the size impact. What difference does adding this make?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: ffmpeg Unknown encoder 'libx264' #5 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 24 January 2022 - 11:59

I'm pretty sure this exact encoder was not removed by choice due to its size - as far as I remember, the first approach was that all ffmpeg encoders, decoders, etc. were enabled by default, then during "operationshrinkingimage" we went the (correct imho) opposite way disabling all of them and enable only these necessarily needed, and so far no one asked for libx264 .
Regarding weight added to ffmpeg my completely wild guess is it'll be rather in kB's than MB's. And we're adding it to develop for now, so...
 


True sarcasm doesn't need green font...

Re: ffmpeg Unknown encoder 'libx264' #6 WanWizard

  • PLi® Core member
  • 70,381 posts

+1,807
Excellent

Posted 24 January 2022 - 12:41

Ok.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users