Newest 'x264' Questions - Stack Overflow

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

Les articles publiés sur le site

  • decode a mp4 video with gstreamer

    8 novembre 2019, par KKc

    I want to play a mp4 video in Gstreamer, but i got an error with the x264dec which is not found. I wrote this pipeline

      gst-launch filesrc \
         location=/media/thesis/Gstreamer/pub_Irma.mp4 \
       ! qtdemux name=demux demux. ! queue ! faad \
       ! audioconvert ! audioresample ! autoaudiosink demuxer. \
       ! queue ! x264dec ! ffmpegcolorspace ! autovideosink 
    

    After this step, my aim is to generate execution traces of a mp4 video decoding. I don't know where is the problem with x264dec.

  • Where is the initialization of motion vector in source code ?

    3 novembre 2019, par Alex

    In IMPROVED RATE CONTROL AND MOTION ESTIMATION FOR H.264 ENCODER this paper introduce initialize with extra motion vector. I would like to try some other initialization methods, but I can not find where the initialization code realized.

    In encoder/me.c I can only find the function which uses mvc. But for where mv is initialized, I am get confused with the code.

  • Converting vídeo from vp8 to x264 outputs different video with different length

    25 octobre 2019, par Thomas Anderson

    I have a webm file (vp8 codec) with 2m:39s of duration

    Using ffmpeg -i video.webm it says that the video have 15fps

    nput #0, matroska,webm, from 'video.webm': Metadata: encoder : Lavf54.17.3 Duration: 00:02:39.63, start: 0.000000, bitrate: 417 kb/s Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp (default) Stream #0:1: Video: vp8, yuv420p(progressive), 320x240, SAR 1:1 DAR 4:3, 15 fps, 15 tbr, 1k tbn, 1k tbc (default)

    I tried to convert setting to the same framerate and add to a mp4 container

    $ x264 --output intermediate.264 --fps 15 --preset slow --bitrate 400 --vbv-maxrate 800 --vbv-bufsize 1600 --min-keyint 48 --keyint 48 --scenecut 0 --no-scenecut --pass 1 --video-filter "resize:width=426,height=240" video.webm
    
    $ MP4Box -add intermediate.264 -fps 15 out.mp4
    

    But the generated file out.mp4 now have a 2m:57s duration

  • x264 threading latency

    8 octobre 2019, par TheRock

    I wonder why sliceless threading (http://akuvian.org/src/x264/sliceless_threads.txt) in x264 leads to latency? If I have for example 2 threads the first encode one frame and the second encode one frame. The seconds have to wait for the first in some cases. But they can be encoded in parallel.

    So two threads should be faster than only one, right?

  • How to use direct264 in Directshow ?

    6 octobre 2019, par Phung Tien Trieu

    I am finding a h264 (x264) directshow filter for my application and i found project direct264 here: https://sourceforge.net/projects/direct264

    When can see dump.ax from binary package but when i load it to GraphStudioNext (or try to register it by using regsvr32) i see error:


    (source: tientrieu.net)