Results 1 to 6 of 6

Thread: how can i use libx264 in avconv?

  1. #1
    Join Date
    Jun 2012
    Beans
    16

    how can i use libx264 in avconv?

    Can anyone please help me to learn how I can make my video output with libx264?
    I am using ubuntu 12.4 LTE 64bit and I am a noob.

    Thanks in advance.


    avconv -i /home/brandon/Downloads/Sintel_1080.mkv -i /home/brandon/Downloads/sintel_trailer-audio.flac -c:v libx264 -pix_fmt yuv422p -g 0 -c:a pcm_s24le -t 44 108042230i.mov
    avconv version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
    built on Mar 22 2012 05:09:06 with gcc 4.6.3
    [matroska,webm @ 0x137c7a0] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from '/home/brandon/Downloads/Sintel_1080.mkv':
    Metadata:
    ENCODER : Lavf53.21.0
    Duration: 00:00:41.76, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: mpeg4 (Simple Profile), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn, 30 tbc (default)
    [flac @ 0x1397580] max_analyze_duration reached
    Input #1, flac, from '/home/brandon/Downloads/sintel_trailer-audio.flac':
    Duration: 00:00:52.00, bitrate: 721 kb/s
    Stream #1.0: Audio: flac, 48000 Hz, 2 channels, s16
    Unknown encoder 'libx264'

  2. #2
    Join Date
    Jun 2012
    Beans
    16

    Re: how can i use libx264 in avconv?

    the problem seems to have fixed itself after the following software removals and reinstallations:




    Attached Images Attached Images

  3. #3
    Join Date
    Jul 2008
    Beans
    2

    Re: how can i use libx264 in avconv?

    For me it worked fine installing libavcodec-extra-53.
    apt-get install libavcodec-extra-53

    Run the following command before and after installing the libavcodec-extra-53 package:
    avconv -codecs | grep "264"

    You should see a new line with libx264 as below
    avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
    built on Jun 12 2012 16:52:09 with gcc 4.6.3
    D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    D V D h264_vdpau H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
    EV libx264 libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

  4. #4
    Join Date
    Aug 2012
    Beans
    104

    Re: how can i use libx264 in avconv?

    You might achieve better results with your encoding if you also use one of the x264 presets...

  5. #5
    Join Date
    Apr 2008
    Beans
    1

    Re: how can i use libx264 in avconv?

    Quote Originally Posted by OnOffPT View Post
    For me it worked fine installing libavcodec-extra-53.
    Worked for me... thanks. :]

  6. #6
    Join Date
    Oct 2011
    Beans
    1

    Re: how can i use libx264 in avconv?

    It worked for me also. Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •