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

Junior Member

Posts: 11
Threads: 4
Joined: May 2009
#791
2009-05-14, 09:22 AM
OK I've attached both of the scripts and both of the outputs (PP.bat/txt is the original one I had, where I've changed a few things throughout the script, and PPNew is the one you posted here, where I've only changed the four path settings at the top).

I forgot to mention too in my last post that I had checked guide_mode was set to yes, but the new script still wasn't prompting me for those options

Now that I've got ECHO on, it looks like the new script is saying I don't have mplayer installed where I said it is. I've checked the path many times, it's definately correct...
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#792
2009-05-14, 02:42 PM (This post was last modified: 2009-05-14, 04:56 PM by bbhank.)
Stattik, I'm using transcode_0.5.1f. I can drag and drop mpg files onto it and it will run Comskip then ask me for some options to encode them with. This works in the drag and drop mode. When I run it using a watched folder it does not produce a file. It only runs Comskip over and over. It also only recognizes some files in the folder, not all.
There is a line on the screen saying it's putting information into a file "if it exists" folowed by another that says it can't find it. It then runs Comskip on the next file. When all the files are done it starts over.
First, is there a way to set it to give mencoder the choices when it starts so it doesn't stop and ask me anything. And can it run on the watched folder the same as drag and drop.
Thank you.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#793
2009-05-15, 03:26 PM
Banex Wrote:OK I've attached both of the scripts and both of the outputs (PP.bat/txt is the original one I had, where I've changed a few things throughout the script, and PPNew is the one you posted here, where I've only changed the four path settings at the top).

I forgot to mention too in my last post that I had checked guide_mode was set to yes, but the new script still wasn't prompting me for those options

Now that I've got ECHO on, it looks like the new script is saying I don't have mplayer installed where I said it is. I've checked the path many times, it's definately correct...

Thanks for the files.

The problem with PP.txt is on line 111.

Code:
SET "ID_LENGTH=-9223372036854.78 "

The script thinks the source is -9223372036854 seconds long. The script is failing because of the negative number, plus the number is greater than 32bits, hence the error. Could you try a different file? I also noticed that your recording directory is F:\(Recordings)\. The parentheses are what's causing the problems with the new script. It will also fix the guided transcode issue.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#794
2009-05-15, 03:35 PM
bbhank Wrote:Stattik, I'm using transcode_0.5.1f. I can drag and drop mpg files onto it and it will run Comskip then ask me for some options to encode them with. This works in the drag and drop mode. When I run it using a watched folder it does not produce a file. It only runs Comskip over and over. It also only recognizes some files in the folder, not all.
There is a line on the screen saying it's putting information into a file "if it exists" folowed by another that says it can't find it. It then runs Comskip on the next file. When all the files are done it starts over.


It seems like the script is erroring out at the same point on all files. Try using the version of the script I posted here:

http://forums.gbpvr.com/showpost.php?p=3...tcount=788

Add your settings. Set the first line to @echo on and run the script. Attach the output here and I'll take a look at it.

Quote:First, is there a way to set it to give mencoder the choices when it starts so it doesn't stop and ask me anything. And can it run on the watched folder the same as drag and drop

Code:
SET guide_mode=no
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#795
2009-05-16, 01:18 AM (This post was last modified: 2009-05-16, 02:41 AM by bbhank.)
The script stops when it tries to send metadata to a file. It says the file can't be found.
Version transcode_0.5.1f does the same. I prefer transcode_0.5.1f because it is much more simple and I don't need all the features like iPod support and don't yet use gbpvr.

stattik's Mencoder Automation Script
Version 0.5.6cr

Variables Loaded. Script is starting.

It goes through the Comskip run here, collects needed data and makes its files except for some xml file that it needs later as shown in script..

V:\Encoder>ECHO off

Transferring metadata to destination file if it exists.
The system cannot find the file specified.

Transcode is complete.

Copying PTL file to create DNE file.

Both versions do this on drag and drop with guide set to no. With guide set to yes all goes well in drag and drop mode and it ask one to set parameters.

Could at least one part of the watched folder not working be this same problem? Looks like these parameters need to be sent to mencoder if guide is sent to no. I could find no metadata file. It is never created.

Thank you. This script makes the process rock. Just trying to get it to run without intervention once requested parameters are put in.
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#796
2009-05-17, 05:33 PM
When I try to run the script, I get this error from mencoder.
MEncoder dev-SVN-r25953-4.2.3 © 2000-2008 MPlayer Team
CPU: AMD Athlon™ 64 Processor 3700+ (Family: 15, Model: 55, Stepping: 2)
SSE2 supported but disabled
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Error parsing option on the command line: -xvidencopts

Exiting... (error parsing command line)

This mencoder was from: http://tirnanog.fate.jp/mirror/mplayer/

Everything I have found online, tells me to compile mplayer with xvid enabled. But, I'm using compiled packages.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#797
2009-05-17, 05:41 PM
bbhank Wrote:The script stops when it tries to send metadata to a file. It says the file can't be found.

Transferring metadata to destination file if it exists.
The system cannot find the file specified.

The metadata is added by gbpvr as an NTFS alternate stream. The script trys to copy it if it exists. The error The system cannot find the file specified. most likely means the transcode failed. What was the full transcode line sent to mencoder? If you run that in a window by itself, it should tell you what the error was. If you post if here I'll take a look at it.


Quote:Both versions do this on drag and drop with guide set to no. With guide set to yes all goes well in drag and drop mode and it ask one to set parameters.

If I'm reading you right, that's how's it supposed to work. Guide mode asks you what you want to do. The output you printed here will happen either way.

Quote:Could at least one part of the watched folder not working be this same problem?
I'm not sure what you mean here but I think once we address the above problem, the rest should fall in.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#798
2009-05-17, 05:43 PM
Bluethunder Wrote:When I try to run the script, I get this error from mencoder.
MEncoder dev-SVN-r25953-4.2.3 © 2000-2008 MPlayer Team
CPU: AMD Athlon™ 64 Processor 3700+ (Family: 15, Model: 55, Stepping: 2)
SSE2 supported but disabled
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Error parsing option on the command line: -xvidencopts

Exiting... (error parsing command line)

This mencoder was from: http://tirnanog.fate.jp/mirror/mplayer/

Everything I have found online, tells me to compile mplayer with xvid enabled. But, I'm using compiled packages.

What was the full commandline? Post it here and I'll take a look at it.
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#799
2009-05-17, 05:55 PM
-stattik- Wrote:What was the full commandline? Post it here and I'll take a look at it.

c:\Progra~1\devnz\gbpvr\ThirdP~1\mplayer\mencoder.exe "D:\GBPVR\RECORDINGS\IRON MAN\IRON MAN_20090328_00050215.MPG" -edl "D:\gbpvr\recordings\Iron Man\Iron Man_20090328_00050215.edl" -sws 9 -passlogfile "C:\DOCUME~1\Video\LOCALS~1\Temp\Iron Man_20090328_00050215.twopasslog" -ovc xvid -xvidencopts bitrate=:me_quality=6:chroma_me:noqpel:chroma_opt:vhq=4:bvhq=1:trellis:hq_ac:quant_type=mpeg:turbo:pass=1 -nosound -oac mp3lame -lameopts abr:br=128 -vf pullup,softskip,pp=ci,scale=512:384, -fps 30000/1001-ofps 24000/1001 -o "D:\gbpvr\recordings\Iron Man\Iron Man_20090328_00050215.avi"

This was generated by skiptool.

Thanks!

The :p in the middle, is supposed to be : p (no space)
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#800
2009-05-17, 07:22 PM
Here's the problem:

Bluethunder Wrote:-xvidencopts bitrate=:me_quality=6:chroma_me:noqpel:chroma_opt:vhq=4:bvhq=1:trellis:hq_ac:quant_type=mpeg:turbo:pass=1

The script couldn't determine the bitrate. Is twopass encoding required by you? Could you post the output of the .info file that should be in your directory?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (89): « Previous 1 … 78 79 80 81 82 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,387 2010-04-07, 03:39 PM
Last Post: carpeVideo
  Guide Questions native 6 4,281 2010-02-10, 01:23 PM
Last Post: native
  Mencoder with multiple TS audio streams lanmat 2 4,623 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,142 2009-03-01, 05:43 PM
Last Post: Deusxmachina
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,703 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,759 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