Opened 14 years ago

Closed 14 years ago

#1213 closed enhancement (fixed)

Work on video devices

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-2.0-dev
Component: pjmedia Version: 2.0-dev-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

This is placeholder ticket for all works related to video devices.

Change History (17)

comment:1 Changed 14 years ago by bennylp

(In [3459]) Re #1213 (video devices):

  • fixed devices to correctly increment the frame timestamp
  • minor fix in video port to set default "active" value to 1 in the param

comment:2 Changed 14 years ago by ming

(In [3467]) Re #1213 (video devices):
Modified ios_dev and qt_dev to use pjmedia_vid_dev_stream

comment:3 Changed 14 years ago by nanang

(In [3470]) Re #1213:

  • Added encoding format conversion (only format ID) in video port.
  • Fixed few bugs in direct show capture device:
    • VIDEOINFOHEADER.AvgTimePerFrame? calculation overflow which caused failure in opening capture device.
    • AM_MEDIA_TYPE.formattype validation to avoid bad type casting (of VIDEOINFOHEADER).

comment:4 Changed 14 years ago by ming

(In [3484]) Re #1213:

  • Move Mac OS' CFRunLoop object from vid_dev_test inside qt
  • Remove NSApplication object management and auto release pool from vid_dev_test. Temporarily depend on SDLmain library for these.

comment:5 Changed 14 years ago by bennylp

(In [3489]) Re #1213 (Video devices):

  • Video device now opens in "best effort" mode, i.e. it may open with different size and fps than requested. The actual size and fps will be reflected in the "param" upon return. The vidport must check this against any differences, and create converter accordingly.
  • Removed const for param argument in vid_create_stream() API
  • Currently converter in vidport will not work if vidport is opened in bidir. Converter for renderer is untested

comment:6 Changed 14 years ago by ming

(In [3499]) Re #1213:
Add OpenGL support for SDL renderer

comment:7 Changed 14 years ago by bennylp

(In [3505]) Re #1213: added printing error message when fails to open DirectShow? device

comment:8 Changed 14 years ago by ming

(In [3507]) Re #1213: In case of failure, Dshow capture dev now tries re-opening the device with default setting (size and/or fps).

comment:9 Changed 14 years ago by ming

(In [3509]) Re #1213:

  • Add pjmedia_frame_copy()
  • Add converter for renderer videoport
  • Add checking in SDL device since it may receive a frame size bigger than expected

comment:10 Changed 14 years ago by ming

(In [3511]) Re #1213:
(Minor): Add check to dshow so that it doesn't need to change the output param when not trying to use default size and/or fps.

comment:11 Changed 14 years ago by ming

(In [3516]) Re #1213: Fixed error space number allocation for video devices.

comment:12 Changed 14 years ago by ming

(In [3525]) Re #1213: Fixed SDL OpenGL to run on Windows.

comment:13 Changed 14 years ago by bennylp

(In [3527]) Re #1213: fixed compilation error in sdl_dev.c if OpenGL is not available

comment:14 Changed 14 years ago by ming

(In [3535]) Re #1213: Add on-the-fly format change capability for SDL OpenGL.

comment:15 Changed 14 years ago by ming

(In [3537]) Re #1213: Fixed typo and compiler warning for SDL device on Mac

comment:16 Changed 14 years ago by ming

(In [3539]) Re #1213: Fixed format change detection when there is a converter in place.

comment:17 Changed 14 years ago by bennylp

  • Milestone changed from release-2.0-alpha to release-2.0-dev
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.