Click here to go to the forum index Click here for the home page
 
Author Message

<  TAP and patch development  ~  freeze frame rears its ugly head

Page 1 of 1
gbmonster
Posted: Sun May 18, 2014 2:27 am Reply with quote
Joined: 29 Apr 2008 Posts: 14 Location: Colchester, Essex, UK
Hi all, it's been a while!

I've been rummaging around the archives to see if anyone else has managed to put a little time into a tiny tap (I expect) that would sort out the slightly rubbish freeze frame, frame advance things on the toppy.

I'm a film extra so I occasionally want to click through a recording a frame at a time, usually to confirm my two weeks filming has resulted in my elbow making it into shot!

It also has the obvious 'basic instinct' appeal.

I know others have asked in the past, if I knew where to start I'd code it myself... Haven't done any programming in about 15 years now though.

GB x
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
ryclark
Posted: Sun May 18, 2014 11:14 am Reply with quote
Frequent contributor Joined: 10 Jul 2005 Posts: 1604 Location: Shropshire
The problem is that DTT transmissions use fairly large GOPs (Groups Of Frames) in their lossy MPEG2 coding. This means that it is very difficult to produce individual still frames as there is only one complete frame transmitted every 15 or so frames. So a still frame is only produced about every .6 sec. When you are watching the moving pictures the intermediate frames are just built using the information that changes between each I frame (complete image frame).

http://en.wikipedia.org/wiki/Group_of_pictures

_________________
TF5800t, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Fm
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MyStuff 6.6; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; TSSaver v0.5;
Sig generated by MyInfo on 13/10/14
?
View user's profile Send private message
gbmonster
Posted: Sun May 18, 2014 11:30 am Reply with quote
Joined: 29 Apr 2008 Posts: 14 Location: Colchester, Essex, UK
[quote="ryclark"]The problem is that DTT transmissions use fairly large GOPs (Groups Of Frames) in their lossy MPEG2 coding. This means that it is very difficult to produce individual still frames as there is only one complete frame transmitted every 15 or so frames. So a still frame is only produced about every .6 sec. When you are watching the moving pictures the intermediate frames are just built using the information that changes between each I frame (complete image frame).

I guessed this was the cause from my generic knowledge of mpeg compression. Thanks for confirming it.

Doesn't this mean though that so long as you are moving FORWARD from a full index frame and maintain the changes in each subsequent bit frame that you should be able to inherently create each frame accurately. Going backwards would be slower at best, impossible at worst as each step backwards would mean going forward from the last index frame to the current frame minus 1; unless that could be done secretly in a buffer and then the output image changed it would be pretty ugly to look at.

Is this level of image control even possible within the SDK or are you limited to tweaking variables?

GB
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
ryclark
Posted: Sun May 18, 2014 6:10 pm Reply with quote
Frequent contributor Joined: 10 Jul 2005 Posts: 1604 Location: Shropshire
It also, of course, makes it difficult to do frame accurate video edits hence professional MPEG2 video uses I-frame only compression.

_________________
TF5800t, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Fm
TAPs: PcControl B1.4; MyInfo B5.6; EPG2MEI v0.96; MyStuff 6.6; MHEG On/Off A3; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; TSSaver v0.5;
Sig generated by MyInfo on 13/10/14
?
View user's profile Send private message
Laser
Posted: Sun May 18, 2014 10:30 pm Reply with quote
Frequent contributor Joined: 10 Jan 2008 Posts: 431
The GOP size or pattern is irrelevant to instant pause or frame manipulation. Each frame can and must be decoded as a separate entity in order to display it. (Streams of I-frames help editing because it requires no re-encode to achieve.) Frame advance should be no problem to implement, however frame back could be algorithmically more difficult depending on buffer implementation. DVDs and blu-rays also have GOP sequences and most players offer frame perfect control.

The woeful pause accuracy of the Toppy is far worse than the GOP sizes proposed. Often it is approaching two seconds before a pause is achieved. These permissable pause points are consistent though, so isn't simply control lag.

I wonder if it is to do with audio frame sizes, as the Toppy takes a fair amount of time to sort out playing audio after a pause.

A TAP almost certainly wont have the level of control necessary to achieve an improvement. A firmware patch possibly might, but the people who were most knowledgable about these things seem to no longer be active.

_________________
TF5800 250GB Black Panther FW 5.13.65 (Patched)
TAPs: MS6.6, EPG2MEI 0.96, Extend 1.7, SecCacheUK, EIT_Sub, UKSubtitle, SDS
TV: Pioneer PDP-4280XD. AVR: Onkyo TX-NR807. Transmitter: Tacolneston
View user's profile Send private message
gbmonster
Posted: Sun May 18, 2014 10:47 pm Reply with quote
Joined: 29 Apr 2008 Posts: 14 Location: Colchester, Essex, UK
Laser wrote:


A TAP almost certainly wont have the level of control necessary to achieve an improvement. A firmware patch possibly might, but the people who were most knowledgable about these things seem to no longer be active.


That's a shame, the frustrating thing is we're not asking it to do anything clever, just do what it already does ( display each frame clearly) but much more slowly.

That to me sounds like a fairly easy bit of coding but sadly it would take me a week to get something up to even work on! Anyone got a quick quide to toppy firmware fiddling?

GB
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
juwlz
Posted: Mon May 19, 2014 2:22 pm Reply with quote
MyStuff Team Joined: 12 Aug 2005 Posts: 10801 Location: Wokingham, Berkshire (Hannington transmitter)
gbmonster wrote:
Anyone got a quick quide to toppy firmware fiddling?
ROFL. Those that did it had to reverse engineer the code.

_________________
5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+BmC0CfCtFsIMPePsR3UUuUxZ
5810, TS On, F/W: F/W: MS6 Recommended F/W 12/9/2009 +BmCfCtFsR3Z
MyStuff info; Help!; Reference
Harmony 885 remote. Sig date 8 April 2012
View user's profile Send private message Visit poster's website
gbmonster
Posted: Mon May 19, 2014 2:25 pm Reply with quote
Joined: 29 Apr 2008 Posts: 14 Location: Colchester, Essex, UK
juwlz wrote:
gbmonster wrote:
Anyone got a quick quide to toppy firmware fiddling?
ROFL. Those that did it had to reverse engineer the code.


That's good then... :-/

You'd think the topfield people would be keen to utilise committed, enthusiastic, and above all free software developers to improve their products.

Shakes head and rolls eyes.
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
juwlz
Posted: Mon May 19, 2014 2:45 pm Reply with quote
MyStuff Team Joined: 12 Aug 2005 Posts: 10801 Location: Wokingham, Berkshire (Hannington transmitter)
gbmonster wrote:
You'd think the topfield people would be keen to utilise committed, enthusiastic, and above all free software developers to improve their products.
They'd already abandoned UK Toppies by July 2008, when the Split NIT issued reared its ugly head. It's only because R2-D2 patched it then that our Toppies weren't all consigned to landfill 6 years ago.

Julie

_________________
5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy+BmC0CfCtFsIMPePsR3UUuUxZ
5810, TS On, F/W: F/W: MS6 Recommended F/W 12/9/2009 +BmCfCtFsR3Z
MyStuff info; Help!; Reference
Harmony 885 remote. Sig date 8 April 2012
View user's profile Send private message Visit poster's website
gbmonster
Posted: Mon May 19, 2014 3:44 pm Reply with quote
Joined: 29 Apr 2008 Posts: 14 Location: Colchester, Essex, UK
juwlz wrote:
gbmonster wrote:
You'd think the topfield people would be keen to utilise committed, enthusiastic, and above all free software developers to improve their products.
They'd already abandoned UK Toppies by July 2008, when the Split NIT issued reared its ugly head. It's only because R2-D2 patched it then that our Toppies weren't all consigned to landfill 6 years ago.

Julie


Aargh... You mean our beloved toppys are irreplaceable..! Nooooooooooo....



.....



.....some time later....



.....ooooooooooo!

R2-D2... Pass the ball!! Smile
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
MikB
Posted: Sat May 24, 2014 10:01 am Reply with quote
Frequent contributor Joined: 23 Sep 2006 Posts: 285 Location: West Midlands
Laser wrote:
The GOP size or pattern is irrelevant to instant pause or frame manipulation. Each frame can and must be decoded as a separate entity in order to display it.


Absolutely, it's a matter of how much effort you put into handling it. VideoRedo (software) allows individual frame forward/backward manipulation/editing of the very MPEG stream that Topfield can't handle precise-pause on (in hardware).

When I was at uni, someone's 3rd year project was a basic MPEG editor, with frame accurate edit points, which at the time was pretty hard to get hold of (1994?)

I don't think there's a way to get at the decoded MPEG stream "pictures", other than as done by screen-grab taps. Maybe triggering one of those to grab the screen and overlay it at 100% opacity?

Or, you can access the MPEG stream on disc and software decode it on the Topfield, might be a bit slow though. You'd need to figure out how far in the hardware was, run forward to that point, and decode for a while Sad

Wouldn't an upgrade to a VHS recorder be easier? Smile

_________________
Toppy Taps: http://toppy.signal11.org.uk

TF5800, IA On, TS On, F/W: 5.13.65T 14/4/2009 -AbCkEeEfEpHeKtRaRhRsSdStSyTeTfTpTsVr+Pf
TAPs: DescriptionExtender 2.1; MeiSearch 1.30; EPG Clean V1.01 Dev Version; EPGnavigator v5.1c; MyInfo B5.6;
Sig generated by MyInfo on 17/1/15
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum