Unknown encoder 'libx264' .I am using x264 and fdk-aac with avconv from libav

650

You don't need all that.

sudo apt-get update
sudo apt-get install ffmpeg

or

sudo apt-get update
sudo apt-get install libav-tools

This will install avconv as well.

Share:
650

Related videos on Youtube

user3663882
Author by

user3663882

Updated on September 18, 2022

Comments

  • user3663882
    user3663882 over 1 year

    I know that in Java we don't have paramaterized types at run-time, because of the erasure. But is it possible to get those erased parameters at run-time? Let me provide some example:

    public class MyClass<T>{ };
    
    public static void foo(MyClass<?> p){
        //do staff
    }
    
    public void main(String[] args){
        MyClass<Integer> i = new MyClass<Integer>();
        foo(i);
    }
    

    Now, we passed i to foo as an argument. Is it possible to enquire within the foo's body what type parameter i was instantiated with? Maybe some reflection facility keeps that information at runtime?

    • Danatela
      Danatela almost 10 years
      If someone's answer was helpful to you, then please consider marking it as the accepted answer so others may more easily find it in the future. This is also a polite way to thank the person answering your question for helping you out.
    • kaykay
      kaykay almost 9 years
      Possibly a duplicate of stackoverflow.com/questions/1570073/…
    • Grim
      Grim almost 9 years
      The runtime works on bytecode whereat those informations are already lost. You have to store this information somewhere.
    • Edwin Dalorzo
      Edwin Dalorzo almost 9 years
      Type parameters, possible, type arguments, doubtful.
  • Admin
    Admin over 10 years
    Will this install fdk-aac as well and make it available to avconv?
  • Brett Okken
    Brett Okken almost 9 years
    That library may make accessing generic type information in signature more convenient, but it is only making available information which is in either class signatures or variable declarations. That would not allow the foo method to know the type of MyClass.