Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6473173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:26:03+00:00 2026-05-25T06:26:03+00:00

I am trying to encode a stream using x264 (by feeding individual images), but

  • 0

I am trying to encode a stream using x264 (by feeding individual images), but what’s unusual is that I already have some motion information for my frames. I know exactly which areas have been modified in each frame, and I know where motion has occurred in the frame.

Is there a way to feed x264 my own motion information? I’d like to give it motion vectors for given areas in the frame, and somehow tell it that certain areas in the frame are guaranteed to not have had any motion in them.

I think this might significantly improve the performance of the encoding (because I’m allowing the codec to completely skip the motion estimation phase), and should also somewhat increase quality in cases where the encoder’s motion estimation algos might have missed the motion that actually occurred.

Do I need to modify the encoder in order to do this, or is this supported in the existing API?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:26:04+00:00Added an answer on May 25, 2026 at 6:26 am

    Short answer: No you can’t feed in your motion estimation data to x264.

    Long Answer: IIRC, x264 does it’s work by being fed in the raw frame, with no extra data. To accommodate the motion estimation data you have, you’d have to modify the x264 source code to accomplish this.

    You may be able to find what you need within common\mvpred.c or encoder\me.c. I’m not sure how many of the x264 developers actually visit Stack overflow (I know one of their lead developers has an account here) but you can try talking to them through their usual channels on their IRC channel or on the doom9 forums.

    • doom9: http://forum.doom9.org/forumdisplay.php?f=77
    • doom10:http://doom10.org/index.php?board=5.0 IRC:
    • irc://irc.freenode.net/x264 and irc://irc.freenode.net/x264dev
    • Mailing list: http://mailman.videolan.org/listinfo/x264-devel

    I wish I could give you more information, but unfortunately I’m not particularly well versed in the code base. The developers are always willing and able to help anyone wishing to work on x264 though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several videos that I am trying to process using OpenCV and Qt
I'm trying to encode a URL using the HttpUtility.UrlEncode() method, why am I getting
I'm trying to encode some denotational semantics into Agda based on a program I
Weve recently been trying to work on an application that uses pandastream to encode
I have been struggling with trying to send an email with an attachment using
I am trying to stream my webcam video using the ffmpeg to wowza media
I'm trying to stream a live feed to a Publishing Point but keep getting
I am trying to grab some data from Delicious, using URL class, URL url
We are trying to build a silverlight application that allows a user to stream
so I'm using gstreamer for java and I'm trying to playback live video stream

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.