Newest 'x264' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Get video stream from camera in MFC

    3 février 2017, par lolo

    I need to get the video from a camera and play it into a MFC dialog just as any player, using the URL of the camera, but I get confused in the way to find information and how to do it.

    It's possible to embed a video player into the MFC Application? That was the option someone told me but I'm not pretty sure if that's the best way.

  • can someone explain this difference between H.264 and H.265 ?

    19 janvier 2017, par Muhammad Abu bakr

    I have studied this in a research paper:

    "The off-the-shelf video codecs like H.264 handle all the movements equally. In our case there are some non moving region that lies in region of interest and need to be encode in high quality and there are some moving regions which don't need such requirements. H.265 can help us in such circumstances."

    How H.265 deals with movements differently?

  • h264 RTP timestamp

    9 janvier 2017, par user269090

    I have a confusion about the timestamp of h264 RTP packet. I know the wall clock rate of video is 90KHz which I defined in the SIP SDP. The frame rate of my encoder is not exactly 30 FPS, it is variable. It varies from 15 FPS to 30 FPS on the fly. So, I cannot use any fixed timestamp.

    Could any one tell me the timestamp of the following encoded packet.
    After 0 milisecond encoded RTP timestamp = 0 (Let the starting timestamp 0)
    After 50 milisecond encoded RTP timestamp = ?
    After 40 milisecond encoded RTP timestamp = ?
    After 33 milisecond encoded RTP timestamp = ?

    What is the formula when the encoded frame rate is variable?

    Thank you in advance.

  • GOP size for realtime video stream

    7 janvier 2017, par MadMass

    I'm working on a kind of rich remote desktop system, with a video stream of the desktop encoded using avcodec/x264. I have to set manually the GOP size for the stream, and so far I was using a size of fps/2. But I've just read the following on Wikipedia:

    This structure [Group Of Picture@ suggests a problem because the fourth frame (a P-frame) is needed in order to predict the second and the third (B-frames). So we need to transmit the P-frame before the B-frames and it will delay the transmission (it will be necessary to keep the P-frame).

    It means I'm creating a lot of latency since the client needs to receive at least half of the GOP to output the first frame following the I frame. What is the best strategy for the GOP size if I want the smallest latency possible ? A gop of 1 picture ?

  • GOP size for realtime video stream

    7 janvier 2017, par MadMass

    I'm working on a kind of rich remote desktop system, with a video stream of the desktop encoded using avcodec/x264. I have to set manually the GOP size for the stream, and so far I was using a size of fps/2. But I've just read the following on Wikipedia:

    This structure [Group Of Picture@ suggests a problem because the fourth frame (a P-frame) is needed in order to predict the second and the third (B-frames). So we need to transmit the P-frame before the B-frames and it will delay the transmission (it will be necessary to keep the P-frame).

    It means I'm creating a lot of latency since the client needs to receive at least half of the GOP to output the first frame following the I frame. What is the best strategy for the GOP size if I want the smallest latency possible ? A gop of 1 picture ?