CAMERA Video Player !

Just starting out? Need help? Post your questions and find answers here.
bidanh00co
User
User
Posts: 56
Joined: Thu Jul 07, 2005 10:06 am

CAMERA Video Player !

Post by bidanh00co »

There're so many Video Player over Internet. So why I post this topic ??

I have a camera to watch workers in our factory. At the end of the day, I want to view the video file which is recorded. You know, that video file is too big (8 hours long and 10GB).

It's impossible to view that video file. I search google for the special Video Player that can Play FAST FORWARD about 30 sec/frame. I think there's no kind of player like that.

So, I post this topic here to receive your help to Create a Small-simpler video Player that can play Fast (30 sec/Frame or better)

Thank you. If you have any suggestion, please help me.
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

[OT]If you can't view it again why you recorded it?
:lol:
bidanh00co
User
User
Posts: 56
Joined: Thu Jul 07, 2005 10:06 am

Post by bidanh00co »

Camera for censorship, but you can't view it all. So, I think it's better if we make a Fast Player to view it.
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

Hmm! a fast forward of 30 sec steps, and assuming the video is 30fps,
that would mean a playback rate of 900fps. Few systems can do that.
Even skipping frames at those speeds are hard.

My suggestion is to run a preview maker.
That goes thru the video and creates a preview file that contains
two frames per minute.

At a 30fps playback rate that would allow a fast view of 8hrs in just 16 minutes.
and if the preview has a time shown on each frame, you can easily note down the time,
then jump to the corresponding time in the real recording.

Media Player Classic is nice, as you can jump to any time position.
http://sourceforge.net/projects/guliverkli/
Scoll a bit down to find Media Player Classic.

it does have fast forward, but nothing able to do what you need to do.
So you really do have to create a preview movie of the 8 hrs.

http://www.virtualdub.org/ Might be able to do that.

Here is a link with info about VirtualDub's script language
http://www.virtualdub.org/docs/vdscript.txt
you may be able to make a simple script to make the preview file.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Here's something that works for me with MPG videos, it shows a frame
from every 5 seconds. Run it from within the IDE though, because trying
to click the Close button on the window doesn't work. :)

Code: Select all

; Shows every 5 seconds from a movie at 1/8th of a second intervals.

m$="C:\MyMovie.mpg"

If OpenWindow(0,0,0,352,240,#PB_Window_ScreenCentered|#PB_Window_SystemMenu,"test")
  InitMovie() : LoadMovie(0,m$) : numframes=MovieLength() : PlayMovie(0,WindowID())
  Repeat
    ev=WindowEvent() : If ev=0 : Delay(1) : EndIf
    MovieSeek(pos) : pos+150 : Delay(125) ; 150 = 5 seconds on a 30 fps movie.
  Until pos>numframes Or ev=#PB_Event_CloseWindow
EndIf
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply