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
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#471
2007-12-23, 11:17 PM
The auto_aspect option doesn;t appear to work (by which I mean that I still have black bars around my avi file)

from .log file
Dominant aspect ratio: 1.2800

from modified .bat file
IF EXIST "%~dpn1.log" FOR /F "usebackq tokens=1,2,3,4 delims= " %%i in ("%~dpn1.log") do IF %%i EQU Dominant SET comskip_aspect=%%l
echo DAR is %comskip_aspect%
pause

when I run the script
Applying automatic encoding logic to source file.
DAR is
Press any key to continue . . .
“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
#472
2007-12-24, 01:17 AM
gEd Wrote:The auto_aspect option doesn;t appear to work (by which I mean that I still have black bars around my avi file)

from .log file
Dominant aspect ratio: 1.2800

from modified .bat file
IF EXIST "%~dpn1.log" FOR /F "usebackq tokens=1,2,3,4 delims= " %%i in ("%~dpn1.log") do IF %%i EQU Dominant SET comskip_aspect=%%l
echo DAR is %comskip_aspect%
pause

when I run the script
Applying automatic encoding logic to source file.
DAR is
Press any key to continue . . .

Run the script in debug mode and attach the output. While the watching the debug output you should notice the comskip logfile getting parsed, it takes up a considerable amount.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#473
2007-12-24, 01:32 AM
linfor Wrote:I just cannot get this to work. I have read all the posts with no luck.
My recordings are in the folder F:\Recordings. Files to be scanned are in the folder F:\Recordings\waiting I would like to convert them to avi and then move them to the folder F:\Recordings\AVIs and keep the originals appened with _original.mpg so they are not reprocessed or they can be moved to the AVIs folder as well. I do not use comskip as I have vodeoredo take out the commerials. The shows are normally 45 minutes long and I want them in file size of around 300MB

I set the location of the mplayer and encoder
SET mencoder_path=F:\Progra~1\mplayer\MPlayer-mingw32-1.0pre8\mencoder.exe
SET mplayer_path=F:\Progra~1\mplayer\MPlayer-mingw32-1.0pre8\mplayer.exe
SET comskip_path=D:\Progra~1\devnz\gbpvr\comskip.exe
SET recordings_path=F:\Recordings\
SET guide_mode=yes

and changed thse 2 of Auto Transcaode Settings
SET individual_transcode_directories="waiting"
SET recursive_transcode_directory=F:\Recordings\

In General Settings comskipmode is set to no and I made this change
SET move_dir=F:\Ready\

I still cannot get this work work. It produces an empty info file and a text file with the shows title. Can anyone help please?

I put it in debug mode and when it got to these areas is says missing operand
SET /a pre_pre_crop_height= *75833 / 100000
SET / a pre_crop_height = /16
SET /a pre_crop_height= (*16) +16
SET /a crop_border= < > / 2
SET /a h_multiplier= /336

vmq is probably correct on the mplayer_path variable. Verify that that works correctly.

What version of the script are you using? Are you dropping a show on the script or are you using autotranscode? The script won't add a _original.mpg if the file extensions are different (IE If you're converting mpg to avi.) Here's some more info.

The script keeps the avi in the original folder so GBPVR can find it.
The SET recursive_transcode_directory transcodes all file and folders in that directory so you probably don't to set that.
Attach the total debug output if you have any other questions.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#474
2007-12-24, 04:43 AM
erik Wrote:Did someone check if you need to enable the aspect_ratio method in Comskip?
I did not as I always have aspect_ratio enabled

Same here. I tested it without aspect ratio enabled and found that Aspect Ratio was 0.0000 so aspect ratio method needs to be enabled in comskip for autoaspect to work.
wazzag
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Dec 2007
#475
2007-12-24, 11:16 AM
can this transcode dvr-ms files?
I'm having trouble configuring the script to do this, any tips?
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#476
2007-12-24, 04:56 PM
Cool! Auto crop!

Where can I find the multi cpu mencoder?
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#477
2007-12-24, 05:55 PM
Stattik,

Thanks for adding the re-indexing bit to your new code.

Respectfully,


Gary
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#478
2007-12-24, 09:40 PM
DrDDT Wrote:Cool! Auto crop!

Where can I find the multi cpu mencoder?

Comskip detects 1:6300, so no autocrop occurs..... should be letterboxed.
I also have the black 'mini' bars left/right.
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#479
2007-12-24, 10:08 PM
During processing comskip detects all aspect ratio changes and lists the exact pixels location of the video image

Example:

Frame: 5109 Ratio: 1.99 MinY: 46 MaxY: 246 MinX: 10 MaxX: 404
Frame: 5860 Ratio: 1.70 MinY: 30 MaxY: 262 MinX: 10 MaxX: 404
Frame: 6235 Ratio: 1.48 MinY: 10 MaxY: 278 MinX: 10 MaxX: 404
Frame: 7003 Ratio: 1.67 MinY: 26 MaxY: 264 MinX: 10 MaxX: 404

To calculate the image size add min+max, in example above Y size is 292 and X size = 414


The final calculated dominant aspect ratio is the result the dominant horizontal size divided by the dominant vertical size so the ratio does not reveal if there have been black around the video
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
linfor
Offline

Member

Posts: 157
Threads: 42
Joined: Jun 2005
#480
2007-12-24, 11:22 PM
-stattik- Wrote:vmq is probably correct on the mplayer_path variable. Verify that that works correctly.

What version of the script are you using? Are you dropping a show on the script or are you using autotranscode? The script won't add a _original.mpg if the file extensions are different (IE If you're converting mpg to avi.) Here's some more info.

The script keeps the avi in the original folder so GBPVR can find it.
The SET recursive_transcode_directory transcodes all file and folders in that directory so you probably don't to set that.
Attach the total debug output if you have any other questions.

I changed the paths to F:\Programs\mplayer\MPlayer-mingw32-1.0pre8\mencoder.exe
and such and still errors. Whether dropping a file on it or otherwise.
How do I get the debug output.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (89): « Previous 1 … 46 47 48 49 50 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,403 2010-04-07, 03:39 PM
Last Post: carpeVideo
  Guide Questions native 6 4,285 2010-02-10, 01:23 PM
Last Post: native
  Mencoder with multiple TS audio streams lanmat 2 4,628 2009-11-09, 12:15 PM
Last Post: lanmat
  mencoder error messages fvfv 3 2,869 2009-10-19, 08:07 PM
Last Post: -stattik-
  TV guide table colour Pob 3 2,506 2009-09-21, 10:55 PM
Last Post: Snooze
  Searching Guide Contents skycyclepilot 1 2,035 2009-08-23, 03:30 PM
Last Post: McBainUK
  Search for Movies in TV Guide spdrac1 1 2,045 2009-05-23, 03:37 PM
Last Post: JavaWiz
  MPEG2 transcoding to Xvid/AAC -which plug-in/tool are best fit? blizard 6 5,146 2009-03-01, 05:43 PM
Last Post: Deusxmachina
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,707 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,775 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