Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:54 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : asciimation

     Page 2 of 2    
Author Message
javavi

Senior Member

Joined: 01/10/2023
Location: Ukraine
Posts: 213
Posted: 10:56am 08 Feb 2024
Copy link to clipboard 
Print this post

Hi All!

Added a function to the player [pause/play]
adding the code to the beginning of the main player loop

 If Inkey$=" " Then
   Do
     FRAMEBUFFER write n
     Pause 500
     Text MM.HRes/2,MM.VRes-70,"[ PAUSE ]",cm,,2
     Pause 500
     Text MM.HRes/2,MM.VRes-70,"         ",cm,,2
     FRAMEBUFFER write f
   Loop While Inkey$=""
 EndIf


Are there other films?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4234
Posted: 06:42pm 08 Feb 2024
Copy link to clipboard 
Print this post

If you want a universal player, we have to adapt the compression format.

Look at MPEG compression, they have I frames(initial),P frames(partial) and B frames( we don’t need those).
The I frames are I.e. one every 30 frames, and contain the whole screen. All 13 lines of 68 characters.
The P frames are the difference from previous frame.

The current SW1-c.txt has only one I frame, the first. And from there only P frames. This means you can’t go fast forward without processing all the P frames in between.

For this to work well, we need the compressor to leave a full  I frame every 30 frames. Fast forward or backward would search for the next I frame and start playing from there.

Volhout

The B frames are bi-directional, and help when showing video durin rewind without costing too much bandwidth,
Edited 2024-02-09 04:46 by Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024