Newest 'x264' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Finding x264 coeffecients

    10 mai 2017, par Artemiy Gorodilov

    I'm newbe in programming and video codek. I'm trying to Eject DCT coeffecients after quantization. I'm using x264 codec with this sourses http://www.videolan.org/developers/x264.html How can I find this coeffecients to change it for testing watermark.

  • Laravel php-FFMpeg x264 error

    8 mai 2017, par Kji

    I installed FFMpeg for Ubuntu and php-FFMpeg for Laravel with composer.
    All worked great as long I take the format wmv or webm.
    If i take x264 to convert a video to mp4 i get two error messages.

    First this one:

    RuntimeException in Video.php line 168:
    Encoding failed
    

    and:

    ExecutionFailureException in ProcessRunner.php line 100:
    ffmpeg failed to execute command '/usr/bin/ffmpeg' '-y' '-i' 'video/Wildlife.wmv' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes573ed5409ca54kgxj2/pass-573ed5409cad7' 'video/export-x264.mp4'
    

    and this is my ffmpeg configuration

    configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
    
  • Laravel php-FFMpeg x264 error

    8 mai 2017, par Kji

    I installed FFMpeg for Ubuntu and php-FFMpeg for Laravel with composer.
    All worked great as long I take the format wmv or webm.
    If i take x264 to convert a video to mp4 i get two error messages.

    First this one:

    RuntimeException in Video.php line 168:
    Encoding failed
    

    and:

    ExecutionFailureException in ProcessRunner.php line 100:
    ffmpeg failed to execute command '/usr/bin/ffmpeg' '-y' '-i' 'video/Wildlife.wmv' '-vcodec' 'libx264' '-acodec' 'libfaac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes573ed5409ca54kgxj2/pass-573ed5409cad7' 'video/export-x264.mp4'
    

    and this is my ffmpeg configuration

    configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
    
  • How to decode using libx264 package ?

    6 mai 2017, par Peter

    Environment: Ubuntu 16.04, package libx264-148

    I am looking at decoding some x264-encoded data using libx264 library. I found a sample at https://code.videolan.org/solaris/x264/raw/7d35ba6bf080610d8f144f4270e961c69ba14f1c/x264.c. It is using APIs such as x264_decoder_open and x264_decoder_decode. However, when I examine /usr/include/x264.h, I see APIs only for encoding such as x264_encoder_open and x264_encoder_encode. There are no APIs for decoding. I am wondering if I am missing something. Are we supposed to use the same APIs for encoding as well as decoding? Also, pointer to any code sample will be highly appreciated. Regards.

    PS: It is a similar issue with x265.h as well.

  • How to decode using libx264 package ?

    6 mai 2017, par Peter

    Environment: Ubuntu 16.04, package libx264-148

    I am looking at decoding some x264-encoded data using libx264 library. I found a sample at https://code.videolan.org/solaris/x264/raw/7d35ba6bf080610d8f144f4270e961c69ba14f1c/x264.c. It is using APIs such as x264_decoder_open and x264_decoder_decode. However, when I examine /usr/include/x264.h, I see APIs only for encoding such as x264_encoder_open and x264_encoder_encode. There are no APIs for decoding. I am wondering if I am missing something. Are we supposed to use the same APIs for encoding as well as decoding? Also, pointer to any code sample will be highly appreciated. Regards.

    PS: It is a similar issue with x265.h as well.