asquared / openreplay

Framework for video instant replay on Linux
http://www.asquaredlabs.com/articles/17
GNU General Public License v3.0
9 stars 2 forks source link

Support for HD video formats #13

Open asquared opened 13 years ago

asquared commented 13 years ago

This will entail a few things...

RPI TV HD Sports... coming soon!

DMJC commented 13 years ago

Mate, I've been playing with your code... you already have support for HD video. :) All you have to do is change one line! line 59 of decklink_capture.cpp change it to: BMDDisplayMode selectedDisplayMode = bmdModeHD720p5994; Now it captures 720P HD Video! Changing this line has been tested and WORKS for 1080i video as well.

I wrote a wrapper script so I could play my PS3 at 720P on my computer through the blackmagic card:

decklink_capture 0 | mplayer -vo gl2 -demuxer rawvideo -rawvideo w=1280:h=720:fps=60:format=uyvy -vsync -

Thank you so much for writing the code to dump from the card. I had no idea where to start but once I got into the code I was able to tinker :)

asquared commented 13 years ago

It works all right... I tried it myself a few weeks ago when I learned our station (rpitv.org in case you're bored) was moving to an HD setup. I never pushed the patch because I'm rewriting a lot of it from the ground up. The MJPEG encoding doesn't work too great at 1080I (hence the rewrite), so it's no good for instant replay but fine for your PS3 :)

Thanks for the feedback anyway... it's good to hear this stuff is good for things I never even thought of. Also good to hear that someone besides me can read my code! Have fun...

-Andrew On Apr 15, 2011 6:36 PM, "DMJC" < reply@reply.github.com> wrote:

mikaelpfi commented 13 years ago

How is the progress of the HD rewriting going? Is it possible to do a PAL version from it?

asquared commented 13 years ago

The HD rewrite is in a usable state; I haven't gotten around to releasing it yet. In theory it should be possible to do a PAL version; some code will be needed to scale things nicely for the multiviewer and outputs. The existing code on github should also be able to do PAL with some tweaking.

-Andrew

On Sun, Oct 23, 2011 at 4:11 PM, mikaelpfi < reply@reply.github.com>wrote:

How is the progress of the HD rewriting going? Is it possible to do a PAL version from it?

Reply to this email directly or view it on GitHub: https://github.com/asquared/openreplay/issues/13#issuecomment-2497618

mikaelpfi commented 12 years ago

Hi. We are going to be in New York 6-9 November. Is there any chance to have a look at your replay solution during that period?

Regards /Mikael K

2011/10/24 Andrew Armenia < reply@reply.github.com>

The HD rewrite is in a usable state; I haven't gotten around to releasing it yet. In theory it should be possible to do a PAL version; some code will be needed to scale things nicely for the multiviewer and outputs. The existing code on github should also be able to do PAL with some tweaking.

-Andrew

On Sun, Oct 23, 2011 at 4:11 PM, mikaelpfi < reply@reply.github.com>wrote:

How is the progress of the HD rewriting going? Is it possible to do a PAL version from it?

Reply to this email directly or view it on GitHub: https://github.com/asquared/openreplay/issues/13#issuecomment-2497618

Reply to this email directly or view it on GitHub: https://github.com/asquared/openreplay/issues/13#issuecomment-2503624

asquared commented 12 years ago

We may be able to work something out. Where in New York are you going to be?

-Andrew

On Wed, Oct 10, 2012 at 9:44 AM, mikaelpfi notifications@github.com wrote:

Hi. We are going to be in New York 6-9 November. Is there any chance to have a look at your replay solution during that period?

Regards /Mikael K

2011/10/24 Andrew Armenia < reply@reply.github.com>

The HD rewrite is in a usable state; I haven't gotten around to releasing it yet. In theory it should be possible to do a PAL version; some code will be needed to scale things nicely for the multiviewer and outputs. The existing code on github should also be able to do PAL with some tweaking.

-Andrew

On Sun, Oct 23, 2011 at 4:11 PM, mikaelpfi < reply@reply.github.com>wrote:

How is the progress of the HD rewriting going? Is it possible to do a PAL version from it?

Reply to this email directly or view it on GitHub: https://github.com/asquared/openreplay/issues/13#issuecomment-2497618

Reply to this email directly or view it on GitHub: https://github.com/asquared/openreplay/issues/13#issuecomment-2503624

— Reply to this email directly or view it on GitHubhttps://github.com/asquared/openreplay/issues/13#issuecomment-9303211.

mikaelpfi commented 12 years ago

Hi. We are staying at 343 W 44th st. during 6-9 November. The schedule is not very tight at all so feel free to name a time and place and we happily meet you there.

/Mikael

2012/10/11 Andrew Armenia notifications@github.com

We may be able to work something out. Where in New York are you going to be?

-Andrew

On Wed, Oct 10, 2012 at 9:44 AM, mikaelpfi notifications@github.com wrote:

Hi. We are going to be in New York 6-9 November. Is there any chance to have a look at your replay solution during that period?

Regards /Mikael K

2011/10/24 Andrew Armenia < reply@reply.github.com>

The HD rewrite is in a usable state; I haven't gotten around to releasing it yet. In theory it should be possible to do a PAL version; some code will be needed to scale things nicely for the multiviewer and outputs. The existing code on github should also be able to do PAL with some tweaking.

-Andrew

On Sun, Oct 23, 2011 at 4:11 PM, mikaelpfi < reply@reply.github.com>wrote:

How is the progress of the HD rewriting going? Is it possible to do a PAL version from it?

Reply to this email directly or view it on GitHub:

https://github.com/asquared/openreplay/issues/13#issuecomment-2497618

Reply to this email directly or view it on GitHub: https://github.com/asquared/openreplay/issues/13#issuecomment-2503624

— Reply to this email directly or view it on GitHub< https://github.com/asquared/openreplay/issues/13#issuecomment-9303211>.

— Reply to this email directly or view it on GitHubhttps://github.com/asquared/openreplay/issues/13#issuecomment-9355556.