Newest 'x264' Questions - Stack Overflow

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

Les articles publiés sur le site

  • ffmpeg 10.04 Could Not Find Codec Parameters [closed]

    9 septembre 2019, par Dmitry

    I am getting an error while executing the command ffmpeg -i /path/to/video.mp4 :

      ffmpeg version git-2012-07-24-93342de Copyright (c) 2000-2012 the FFmpeg developers
          built on Jul 24 2012 23:55:41 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
          configuration: --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-swscale --enable-vdpau --enable-version3 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab
          libavutil      51. 65.100 / 51. 65.100
          libavcodec     54. 44.100 / 54. 44.100
          libavformat    54. 20.100 / 54. 20.100
          libavdevice    54.  2.100 / 54.  2.100
          libavfilter     3.  3.100 /  3.  3.100
          libswscale      2.  1.100 /  2.  1.100
          libswresample   0. 15.100 /  0. 15.100
          libpostproc    52.  0.100 / 52.  0.100
        [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a1b240] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), 1280x720): unspecified pixel format
        Consider increasing the value for the 'analyzeduration' and 'probesize' options
        /path/to/video.mp4: could not find codec parameters
    
  • How does one encode a series of images into H264 using the x264 C API ?

    20 août 2019, par Rella

    How does one use the x264 C API to encode RBG images into H264 frames? I already created a sequence of RBG images, how can I now transform that sequence into a sequence of H264 frames? In particular, how do I encode this sequence of RGB images into a sequence of H264 frame consisting of a single initial H264 keyframe followed by dependent H264 frames?

  • Do I need to open source my application If I use x264 through Android MediaCodec ? [closed]

    14 août 2019, par sanjay

    I want to encode some animation and save them as video. I want to use x264 Lib. But x264 license is GPL or commercial so I can not link with it directly without purchasing license. Do I need to opensource my app, If I use Android MediaCodec (https://developer.android.com/reference/android/media/MediaCodec) to encode which internally uses x264 ?

  • How to find the upper limit of hardware decoder instances for Google Pixel 2 phone

    14 août 2019, par MSD Paul

    Can anyone please tell me how to check how many hardware decoder instances (OMX.qcom.video.decoder.avc)can be created in my android phone (i.e. Google Pixel 2) for decoding H.264 video stream?

    How to check this configuration?

  • How do video encoding standards(like h.264) then serialize motion prediction ?

    12 août 2019, par Nephilim

    Motion prediction brute force algorithms, in a nutshell work like this(if I'm not mistaken):

    1. Search every possible macroblock in the search window
    2. Compare each of them with the reference macroblock
    3. Take the one that is the most similar and encode the DIFFERENCE between the frames instead of the actual frame.

    Now this in theory makes sense to me. But when it gets to the actual serializing I'm lost. We've found the most similar block. We know where it is, and from that we can calculate the distance vector of it. Let's say it's about 64 pixels to the right.

    Basically, when serializing this block, we do:

    • Ignore everything but luminosity(encode only Y, i think i saw this somewhere?), take note of the difference between it and the reference block
    • Encode the motion, a distance vector
    • Encode the MSE, so we can reconstruct it

    Is the output of this a simple 2D array of luminosity values, with an appended/prepended MSE value and distance vector? Where is the compression in this? We got to take out the UV component? There seem to be many resources that take on the surface level of video encoders, but it's very hard to find actual in-depth explanations of modern video encoders. Feel free to correct me on my above statements.