NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 68 69 70 71 72 … 93 Next »
cutting movies within gbpvr

 
  • 0 Vote(s) - 0 Average
cutting movies within gbpvr
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#1
2005-07-20, 09:42 AM
hi all, with comskip and the automatic commercial cut-plugin we sure have nice cutting abilities. and myvideos does the burning job.
but how about a builtin cutter? i mean, a plugin, where you can define cutpoints with your remote. the plugin would show a still picture from the movie, pressing fast forward or so would jump minutes or seconds forward and show another picture. a timeline would display the cutpoints and the actual position.

there are two ways of using this: correct the comskip-cutpoints or using this without comskip (like i would do, because comskip won't work very well in germany). a cutted mpeg would then be generated and one could burn this file onto dvd with myvideos.

i have found sample code to do this. the sample code can generate screenshots from a movie within c#. and i could do this plugin. here are my questions:

- is this interesting for any other people except me?
- wouldn't it be better to include this ability to myvideos? with the popup-menu you could cut the file, it will be sent to the mydvd-section where you can burn it.

i would code a little bit and then send the code to reven, so he can include it in myvideos, if he wants.
---------------------
www.sitecomposer.de
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#2
2005-07-20, 09:49 AM
Quote:wouldn't it be better to include this ability to myvideos?
no, its to big of a task to add to my vids, it should be handled by itself, however it would be nice to easily launch into cutting mode, and then exit and return back to my videos (calling a plugin from another plugin and return to the originating plugin, but sub would have to add support for this).

i was just going to wait for sub to add chapter points (like xbmc handles these) and then take those chapter points and cut them using videoredo or something, but i have no idea when sub would add chapter points, if ever. it would be a nice feature to add, i would use it from time to time.

just how fast can you get this to work, and can you get a image from an mpeg2 file? (i had trouble with mpeg2 files, and generating thumbnails, if you can get a frame from that i would love to see the code that does that so i can add support for generating thumbnails for mpeg2 files).
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#3
2005-07-20, 10:18 AM
the code can handle every file-type except mpeg2-files. i've tried with gbpvr-recordings and it didn't work. strange.....

seems, that you use the same code for your thumbnails....
---------------------
www.sitecomposer.de
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#4
2005-07-20, 10:26 AM
i use the directx library, and for some reason it doesnt like mpeg2 files.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#5
2005-07-20, 10:36 AM
that's annoying! mediaplayer can play the mpeg2-files, so why doesn't directx like them? i'm searching the web....
---------------------
www.sitecomposer.de
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#6
2005-07-20, 10:41 AM
its not directx exactly, just the method to grab a frame via directx. i cant remember the code exactly, or the exact reason why, i gave up, wasnt that big of an issue for me, most of my vids are xvid/divx and it worked fine for them so i just moved on.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#7
2005-07-20, 11:02 AM
mplayer can save mpeg2-files as png. it should be possible to select single frames....maybe this could be an option. of course people using this must download mplayer....i'll take a look at the licensing.
---------------------
www.sitecomposer.de
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#8
2005-07-20, 11:31 AM
mplayer is gnu license. i managed it to save png-files with this command: mplayer filename -ss 55 -af volume:-200 -vo png which means, that it starts at 55 seconds with muted sound and saves every frame as png. the problem is, it doesn't stop :-)

searching again....
---------------------
www.sitecomposer.de
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#9
2005-07-20, 11:57 AM
this does it: mplayer filename -ss 55 -frames 2 -af volume:-200 -vo png
means, that mplayer plays 2 frames starting from second 55 and dumps them into png. with -frames 2 it generates one png-file, with -frames 1 nothing.

this is useful for you reven, you can make thumbnails. i don't know, if it's fast enough for me...i'll try!
---------------------
www.sitecomposer.de
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#10
2005-07-20, 12:08 PM
I was planning on doing this plugin too. I have a status bar that I can color to indicate commercials. collin had some code that works with mpeg 2 that he wrote I was trying to get a cli for it. but he got busy. i think it would be very useful.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recorded movies mvallevand 8 2,487 2021-12-29, 02:50 AM
Last Post: mvallevand
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 34,584 2015-08-20, 05:11 PM
Last Post: sub
  Roku & GBPVR pvruser 16 11,672 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,798 2011-07-22, 01:27 AM
Last Post: pvruser
  Live GBPVR CD/DVD/Thumb drive :D pBS 101 29,980 2010-01-03, 06:22 AM
Last Post: pBS
  some help on basic gbpvr plugin code Etacovda 12 4,862 2009-06-14, 08:24 PM
Last Post: Etacovda
  Linking gbpvr.db3 to Access 2003: get readonly tables Khurram 5 4,024 2008-09-11, 08:35 AM
Last Post: Khurram
  UAC and Vista with GBPVR systemshark 2 2,000 2008-08-03, 07:20 AM
Last Post: systemshark
  Controlling an Audio Receiver with the GBPVR remote erik 7 2,834 2008-06-01, 08:31 PM
Last Post: erik
  SkipTool, do you use the GBPVR SQLite database? mkenyon2 1 1,653 2008-04-21, 07:30 PM
Last Post: pastro

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode