Newest 'x264' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/x264

Les articles publiés sur le site

  • How to encode series of images into H264 using x264 API ? (C/C++)

    4 avril 2012, par Blender

    How to encode RBG images into H264 frames (Keyframe + some dependent frames)? So I created some images how to turn them into H264 now?

  • x264 Faster decode speed

    26 mars 2012, par ddlshack

    I'm using x264 to encode videos for a flash video streaming site. I use -tune fastdecode, which turns off cabac and deblock, which I've heard are the features which take most cpu to decode. However, I've still had reports of jerky video playback and high cpu usage.

    Heres a typical encode command:

    ffmpeg -y -i $infile -c:v libx264 -crf 28 -preset slow -vprofile main -tune fastdecode -f h264 -r:v 29.970 -vf "..." $outfile
    

    My users view the videos using flash, on all desktop OSes and a wide variety of hardware.

    Which encoding options are the most cpu-intense, and what are the recommended options for 'reasonable' playback on most machines?

  • How to fix selected processor does not support `movw ' when trying to compile x264 for amrv6 ?

    13 mars 2012, par newentry

    I am getting following error when trying to compile x264 for android armv6.

    common/arm/pixel-a.S: Assembler messages: common/arm/pixel-a.S:1206: Error: selected processor does not support movw ip,#:lower16:235963' common/arm/pixel-a.S:1206: Error: selected processor does not supportmovt ip,#:upper16:235963' make: * [common/arm/pixel-a.o] Error 1

    my x264 script

    ./configure --extra-ldflags='-march=armv6' --extra-cflags='-march=armv6' --cross-prefix=arm-linux-androideabi- --enable-pic --host=arm-linux

  • ffmpeg conversion skips audio

    10 mars 2012, par user504879

    While converting a video to mp4 format using ffmpeg the audio gets skipped because of which the audio goes out of sync with the Video.

    One can have a look at the following Video: https://vialogues.com/vialogues/play/486

    I am using the following options for conversion

    /usr/local/bin/ffmpeg -y -i $inputfile -acodec libfaac -ar 44100 -ab 96k -vcodec libx264 -level 41 -bufsize 20000k -maxrate 25000k -g 250 -r 20 -s 480x270 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +dct8x8+bpyramid -me_method umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 -bidir_refine 1 -refs 6 -crf 25 -deblockalpha 0 -vpre medium -deblockbeta 0 $outputfile
    

    Also the ffmpeg version is

    ffmpeg
    FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
      built on Feb 19 2011 19:03:56 with gcc 4.4.5
      configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
      libavutil     50.15. 1 / 50.15. 1
      libavcodec    52.72. 2 / 52.72. 2
      libavformat   52.64. 2 / 52.64. 2
      libavdevice   52. 2. 0 / 52. 2. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    Hyper fast Audio and Video encoder
    

    Any ideas as to why this would be happening?

  • Fail to set profile to high when using ffmpeg with libx264

    10 mars 2012, par user1258095

    Here is my command:

    ffmpeg -i input.avi -vcodec libx264 -vpre fast -vpre high -acodec copy output.avi
    

    The output:

    Input #0, avi, from 'short.avi':
      Metadata:
        encoder         : Lavf53.3.0
      Duration: 00:00:25.04, start: 0.000000, bitrate: 12705 kb/s
        Stream #0.0: Video: msmpeg4v2, yuv420p, 1920x1080, 24 tbr, 24 tbn, 24 tbc
        Stream #0.1: Audio: aac, 48000 Hz, 5.1, s16, 316 kb/s
        Metadata:
          title           : ED-CM-5.1-DVD-Final2
    File for preset 'high' not found
    

    However, I am able to successfully transcode files when setting the profile to baseline or main, from the man page of x264 it is clear that "high" should also be a valid argument. I also want to know where these preset files are located in the file system(I am running ubuntu 11.10) so that I can make sure what arguments I can actually use for presets and profiles at the moment. I am very frustrated by this issue and would really appreciate any input from you guys. Thanks in advance.