Newest 'x264' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Cannot found yasm while i have installed it

    8 juin 2012, par user1201399

    I got a strange problem. I tried to install x264. When run sudo ./configure --enable-shared, it gave:

    Found no assembler Minimum version is yasm-0.7.0 If you really want to compile without asm, configure with --disable-asm.

    But I already installed yasm-0.7.0 ,to prove that ,i run yasm --version,it gave:

    *yasm 0.7.0.2066 Compiled on May 8 2012. Copyright (c) 2001-2008 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary.*

    I install yasm to /usr/local/yasm, Why can it not find yasm?

  • how to reencode with ffmpeg (with limited x264)

    26 mai 2012, par sarfraz

    Until now I used this script to reencode my rips for my box (tv decoder):

    ^_^ ( ~ ) -> cat ~/++/src/convert.sh 
    #! /bin/bash
    
    name=$(path -r "$1") # it gives the file name without the extension
    
    [ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy -acodec copy "$name".mkv
    x264 --preset veryfast --tune animation --crf 18 --vf resize:720,576,16:15 -o "$name".tmp.mkv "$name".mkv
    mkvmerge -o "$name [freeplayer sd]".mkv "$name".tmp.mkv --no-video "$1"
    rm -rf "$name".tmp.mkv
    [ "$1" = *.mp4 ] && rm -rf "$name".mkv
    exit 0
    
    #EOF
    

    It works on my ubuntu and archlinux laptops. But it doesn’t on my desktop witch runs fedora. Google says that the x264 package shiped by rpmfusion doesn,t support lavf and ffms2. And I cannot unistall it because smplayer (witch i like) needs it.

    Ok, so I have to compile it. Google then says "you have to build ffmpeg, ffms2 tnen x264 ensuring that the flags are correctly refered." Well, didn’t work (ffms2 cannot find LIBAV - even when I am telling where - and x264 does’t configure with lavf...)

    My question is: can I use ffmpeg alone to do what my script does. I have ffmpeg version 0.8.11, x264 0.116.2048 59cb2eb and gcc: 4.6.1 20110804 (Red Hat 4.6.1-7)

    Any hint wound be appreciated.

    EDIT: Ok, I found that: ffmpeg -i input file -acodec copy -vcodec libx264 -preset veryfast -tune animation [that part I don’t have] output

    PS: english is not my native, plz forgive any spelling fault.

  • If input is raw rgb24 data, how to fill structure of x264_encoder_encode() inorder to make a success conversion

    22 mai 2012, par 鍾漢雄

    So the question is

    If I have raw rgb data, with r, g, b, r, g, b, ...kind of alignment, and I know it width and height, I need to convert it to h264 raw, how to fill struct for x264_picture_t *pic_in?

  • x264vfw Configuration Settings in VC++

    18 mai 2012, par meghana

    i need to set All configuration settings of x264Vfw from pragmatically from code (in VC++ ).

    Do anybody have reference code or guide for that??

    Thanks

  • x264Vfw Bitrate issue

    18 mai 2012, par meghana

    I am using x264Vfw encoder with directshow to create Mp4 video which almost works fine , but no idea why video is 100-125 kbps bigger than whatever bitrate we set for X264Vfw .

    Can anybody have idea on this??

    Thanks