NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 35 36 37 38 39 … 93 Next »
Idea for a plugin developer out there.

 
  • 0 Vote(s) - 0 Average
Idea for a plugin developer out there.
lumpy
Offline

Junior Member

Posts: 10
Threads: 5
Joined: Sep 2007
#1
2008-01-29, 02:47 PM
I am trying to get up to speed on making plugins but I cant horde my idea until I get up to speed, it's jsut a great idea that needs to be done.

The DVD ripper plugin is great but it is a hard drive space waster, fine if you have a terabyte on your gbPVR box, not fine if you don't like iso's or VOB's...

What's a avi or mp4 guy to do? The program Handbrake has a cli interface for Windows that could make a dvdripper plugin rip to a single AVI/MP4 file easily. It would not work for tv episode disks but it will work for most movie DVD's and if the plugin called a specific batch file it could be tweaked by the user easily for a favored bitrate. All the user needs is a text field to type in the name of the movie before clicking on the rip button, if you did it right you can run it at a low priority and the rip would not interfere with normal operation at all.

Just an idea. probably could be done in a short time by modifying the existing dvdripper plugin by someone that was up to speed and had a working dev environment all set up.

For example, I have a single click rip for all my DVD's on my PC like the following...

handbrakecli -i "D:\VIDEO_TS" -o "C:\movies\mymovie2.mp4" -e x264 -E lame -b 2500 -2 -T --detelecine -x ref=2:bframes=2Confusedubme=5:me=umh -B 160 -R 48 -v

the above does an auto-crop to get rid of black bars, 160bitrate mp3 audio (It can do ac3 passthrough as well) and detelecines the movie. this works great for 90% of the movies out there. it fails on Tv documentaries or shows that are not telecined but interlaced. (second button to run a second script for interlaced?)
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2008-01-29, 02:51 PM
Someone else would have to help with the details but can't the handbrake command line interface be used by the Video Library's transcode feature?

I'm sure I remember reading on the forum about adding a custom transcoder...maybe worth a search?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
lumpy
Offline

Junior Member

Posts: 10
Threads: 5
Joined: Sep 2007
#3
2008-01-29, 03:04 PM
probably, but I did not think that would point at a DVD in the DVD drive and work from there. does the video transcode happily work on a DVD directly?
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#4
2008-01-29, 03:06 PM
Hmm, good point. I forgot the file wasn't there to start with Sad
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#5
2008-02-01, 10:28 AM
if it's just a simple cli, why don't you do it with autoit script (runs in the background with no active window) & custom task? name the custom task "Rip DVD to MP4" & you could even get the output to i.e. the videos dir & named after the DVD label ;-)

try the following au3, whipped up in no time Wink , if it's working you could add some spice (error handling, display screenpopup when done etc...) for more comfort...
at the moment it's running your task & name the output like the disc label. if there is no disk label it will name the output as "DVDRip YYYY.MM.DD HH-MM-SS.mp4" with the current date&time.

have fun Big Grin

Code:
$Drive = "D:"
$outputdir = "C:\movies\"

;check volume label. If label is empty then generate label
$vollbl = DriveGetLabel($Drive)
If $vollbl = "" Then
    $vollbl = "DVDRip " & @YEAR & "." & @MON & "." & @MDAY & " " & @HOUR & "-" & @MIN & "-" & @SEC & ".mp4"
EndIf

Run ( 'handbrakecli -i "' & $Drive & '\VIDEO_TS" -o "' & $outputdir & $vollbl & '" -e x264 -E lame -b 2500 -2 -T --detelecine -x ref=2:bframes=2:subme=5:me=umh -B 160 -R 48 -v"')
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,823 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,349 2020-11-14, 08:01 PM
Last Post: sub
  ios app to control npvr ui idea jnbooker15 4 3,587 2015-09-21, 10:19 PM
Last Post: sub
  ios app to control npvr ui idea jnbooker15 0 2,467 2015-09-21, 06:39 PM
Last Post: jnbooker15
  VIdeo playback from plugin mvallevand 5 3,458 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,904 2014-11-14, 02:05 AM
Last Post: Benoire
  Absolute newbie trying to realize an idea - where to start? Oopsjoppe 13 5,556 2013-11-11, 05:33 PM
Last Post: Oopsjoppe
  API docs to help with plugin development? McBainUK 3 2,769 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,088 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,947 2013-03-12, 06:48 AM
Last Post: psycik

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

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

Linear Mode
Threaded Mode