Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics Development, discussions, problems and suggestions.
  • Page:
  • 1

TOPIC:

pl_ORCA and DirectShow Stream mirrored 10 years 8 months ago #4332

  • Sonnleitner Norbert
  • Sonnleitner Norbert's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 2
I have a DirectShow stream rendered on a TD2Rectangle as Bitmap in ORCA (therefore I use a selfmade DS-RendererFilter)
i use this code:
s := TMemoryStream.Create;
            B := TD2Bitmap.Create(FVideoWidth, FVideoHeight);
            d2MoveLongword(FSample, B.StartLine, FVideoWidth * FVideoHeight);
            B.SaveToStream(s);
            FAD2Rectangle.Fill.Bitmap.Bitmap.LoadFromStream(s);
            FAD2Rectangle.Repaint;
            B.Free;
            s.Free;
The FSample is the Sample used in the DoRenderSample of the DS-RendererFilter.
The routine is working. But the Video is mirrored and rotated. Anybody knows how a bitstream can be copied to the TD2Bitmap so that the Video isn't mirrored or rotated?

Please Log in or Create an account to join the conversation.

pl_ORCA and DirectShow Stream mirrored 10 years 8 months ago #4337

  • Sonnleitner Norbert
  • Sonnleitner Norbert's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
  • Thank you received: 2
Also a problem with rendering to high definition. DivX with 512x288 and LAV Filters with orginal size no problem
if resize up to 1920x1080 the playback fails after around 1-2 minutes with error.
With the original size the video runs the whole lenght.

Someone has an idea? I believe it could be a timing problem, maybe the resampling needs more than 40ms?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1