NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 2 3 4 5 6 … 125 Next »
Automated Cutting and Transcoding Guide Using Mencoder

 
  • 0 Vote(s) - 0 Average
Automated Cutting and Transcoding Guide Using Mencoder
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#711
2008-09-25, 02:24 PM
divinehammer Wrote:Yep it works now at cutting the commercials but now I have a new issue. at around the 15 minute mark of all of my new converted files I lose sound. The original mpg files are in good shape so something is happening in the conversion process. Do you have any clue to point me at what might be causing that?

-hr-edl-seek has been know to do that for me. I don't use it. The audio drops off after the first commercial break.
Code:
SET hr-edl-seek=no
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#712
2008-09-25, 06:39 PM
-stattik- Wrote:I think I've got this addressed now. The update is attached.

yep I think that finally nailed it - thanks for your help.

just as an fyi: i found that reindexing some of my files resulted in an avi file with really bad lip sync.

I'm currently running dirmon and a bat file to run videoredo on all my mpegs before letting your script loose on them (i failed in my attempts to get my bat file to work from within your script. I couldn't seem to pass the file name over)

cheers
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
superflysocal
Offline

Junior Member

Posts: 38
Threads: 5
Joined: Oct 2008
#713
2008-10-10, 03:21 AM
is there a way to make GBPVR point to the newly converted file (like with GBPVR built-in transcode function)
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#714
2008-10-10, 03:19 PM
if the new file has an .avi extension instead of mpg, gbpvr will find it ok
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#715
2008-10-10, 03:51 PM
gEd Wrote:if the new file has an .avi extension instead of mpg, gbpvr will find it ok

That is correct. However, if you are using GBPVR in client mode or if you are using the PCH (or perhaps the MVP) you can set the following in the script to update the GBPVR database.

Code:
SET update_db=yes
SET gbpvr_db_path=D:\Progra~1\devnz\gbpvr\gbpvr.db3
SET sqlite3_path=C:\Progra~1\devnz\gbpvr\ThirdP~1\
SET local_recordings_disk_letter=D:

You will need to download sqlite.exe from here:

http://www.sqlite.org/download.html

Choose the Windows command-line binary and drop it in the Third Party folder in GBPVR.

Note: I'll be updating the method the script uses to update the GBPVR database in the near future to something more robust.
superflysocal
Offline

Junior Member

Posts: 38
Threads: 5
Joined: Oct 2008
#716
2008-10-10, 05:46 PM
-stattik- Wrote:That is correct. However, if you are using GBPVR in client mode or if you are using the PCH (or perhaps the MVP) you can set the following in the script to update the GBPVR database.

Code:
SET update_db=yes
SET gbpvr_db_path=D:\Progra~1\devnz\gbpvr\gbpvr.db3
SET sqlite3_path=C:\Progra~1\devnz\gbpvr\ThirdP~1\
SET local_recordings_disk_letter=D:

You will need to download sqlite.exe from here:

http://www.sqlite.org/download.html

Choose the Windows command-line binary and drop it in the Third Party folder in GBPVR.

Note: I'll be updating the method the script uses to update the GBPVR database in the near future to something more robust.

yes, i am using pch. so where in the script should I put that specifically?
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#717
2008-10-10, 07:09 PM
superflysocal Wrote:yes, i am using pch. so where in the script should I put that specifically?

It's already in the script but disabled by default. It starts at line 263. The description for it starts at line 119....or you could search for it.
superflysocal
Offline

Junior Member

Posts: 38
Threads: 5
Joined: Oct 2008
#718
2008-10-10, 11:06 PM (This post was last modified: 2008-10-10, 11:15 PM by superflysocal.)
-stattik- Wrote:It's already in the script but disabled by default. It starts at line 263. The description for it starts at line 119....or you could search for it.

i am using 0.5.1f (from the wiki) and it's not there. I do see it in 0.5.6ar but should I use 0.5.6br instead and which version (I see it posted a few times).

Also, what should I set the move_dir to if I don't want the file moved?
superflysocal
Offline

Junior Member

Posts: 38
Threads: 5
Joined: Oct 2008
#719
2008-10-11, 02:56 PM
Ok i think i got it to work with 0.5.6br after changing it back to xvid.

If I am running comskip here in your script (as PostProcessing.bat with comskip=yes) should I set commercial detection to None in GBPVR config program?


Also I am trying to integrate the following script into PostProcessing.bat (which is your script only right now). It supposedly renames the filename and puts it in a variable called %newname%, but I don't know where to put it and what changes I need to make in your script.

PHP Code:
@Echo off
set GBPVRDIR
=c:\Program Files\Devnz\Gbpvr
set LOGFILE
=logs\WizRenameRecording.log
 
pushd 
%GBPVRDIR%
WizRenameRecording "%~f1" "{show}{[-]}{episode}"
If %ERRORLEVEL%==0 (
 
REM last line in logfile is the new filename
 
for /f "tokens=*" %%i in (%LOGFILE%) do set newName=%%i
 
Echo %newName%
) ELSE (
 Echo 
WizRenameRecording failed.
)
popd 

here is the part of your script I'm not sure about:
PHP Code:
::      BEGIN MAIN SCRIPT
SET name
=%1
SET short_name
="%~nx1"
SET title="%~n1"
SET source_size=%~z1
SET start_opt
="%short_name:"=% - stattik_transcode" /low /wait /min 

so what i want is:
originalname.mpg to newfilename.mpg (wizardrename)
newfilename.mpg converted to newfilename.avi (stattik's script)
library point to newfilename.avi (stattik's script)

or
originalname.mpg to originalname.avi (stattik's script)
originalname.avi to newfilename.avi (wizardrename)
library point to newfilename.avi (stattik's script)

lastly i still want to know what to set move_dir to if I don't want the file moved.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#720
2008-10-13, 02:13 AM
Not 100% sure (stattik should verify), but I think you need to add the following after the :cleanup label in the batch file:

Code:
:cleanup
IF /I %update_db% EQU yes (
  ECHO.
  ECHO Updating GBPVR database with new extension--%output%
  ECHO.
  FOR %%d in (%output%) DO (
    FOR %%b in (%name%) DO (
    %sqlite3_path%sqlite3.exe -separator "," "%gbpvr_db_path%" "UPDATE RECORDING_SCHEDULE SET filename = '%local_recordings_disk_letter%%%~pnxd' where filename like '%local_recordings_disk_letter%%%~pnxb';"
    SET question_mark_check1=%local_recordings_disk_letter%%%~pnd
    SET question_mark_check2=%%~nxd
    SET question_mark_check3=%local_recordings_disk_letter%%%~pnb
    SET question_mark_check4=%%~nxb
    )
  )
)
[B][SIZE=3][COLOR=red]IF /I %dvdrip% NEQ yes ([/COLOR][/SIZE][/B]
    [B][SIZE=3][COLOR=red]WizRenameRecording "%newname%" -default[/COLOR][/SIZE][/B]
[B][SIZE=3][COLOR=red])[/COLOR][/SIZE][/B]
%debug%

This implies that you've run WizRename recording and set a default pattern.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (89): « Previous 1 … 70 71 72 73 74 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,395 2010-04-07, 03:39 PM
Last Post: carpeVideo
  Guide Questions native 6 4,282 2010-02-10, 01:23 PM
Last Post: native
  Mencoder with multiple TS audio streams lanmat 2 4,624 2009-11-09, 12:15 PM
Last Post: lanmat
  mencoder error messages fvfv 3 2,868 2009-10-19, 08:07 PM
Last Post: -stattik-
  TV guide table colour Pob 3 2,505 2009-09-21, 10:55 PM
Last Post: Snooze
  Searching Guide Contents skycyclepilot 1 2,034 2009-08-23, 03:30 PM
Last Post: McBainUK
  Search for Movies in TV Guide spdrac1 1 2,042 2009-05-23, 03:37 PM
Last Post: JavaWiz
  MPEG2 transcoding to Xvid/AAC -which plug-in/tool are best fit? blizard 6 5,144 2009-03-01, 05:43 PM
Last Post: Deusxmachina
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,705 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,765 2008-03-27, 11:45 PM
Last Post: _Dude_

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

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

Linear Mode
Threaded Mode