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

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#821
2009-06-02, 07:52 AM
-stattik- Wrote:I ran 5.6 successfully using your setting before I posted it. Did you make the changes in the previous post?



You'll need to post the debug output. In order to get more of it, you'll have to increase the Screen Buffer Size of the window you're using. (Right-click on the window icon and get properties.)

5.6 has never run on my set in either drag and drop or watched folder. Here is the result of the 5.1 which does drag and drop for me. This is the one that needs to work in watched folder mode.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#822
2009-06-02, 09:15 PM
What is secondary_transcode_directory set to?

It should be set to:

Code:
SET secondary_transcode_directory=v:\Videos\Transcode\

Also you should either set transcode_extension or secondary_transcode_extension to mpg but not both, otherwise the script will process each file twice. Once things are working for you, either set the script to delete or move the source files once they are done.
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#823
2009-06-03, 12:55 PM
-stattik- Wrote:What is secondary_transcode_directory set to?

It should be set to:

Code:
SET secondary_transcode_directory=v:\Videos\Transcode\

Also you should either set transcode_extension or secondary_transcode_extension to mpg but not both, otherwise the script will process each file twice. Once things are working for you, either set the script to delete or move the source files once they are done.

Tried several directories including the correct one where the test videos are and it does not process.

Tried several settings on the secondary transcode without result also. What and where is this "or and what is their settings? Which needs secondary_transcode to be set to what? All the script needs to do is rename the original. It doesn't have to move it. It needs to do this on any and all files in watched directory.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#824
2009-06-03, 02:12 PM
Quote:Tried several directories including the correct one where the test videos are and it does not process.

Do you have the debug output? You also could increase the Screen Buffer Size of the dos window the script is in. I set my to 9999. Just right-click the icon top-left and choose properties.


Quote:Tried several settings on the secondary transcode without result also. What and where is this "or and what is their settings? Which needs secondary_transcode to be set to what?


This works:
Code:
SET transcode_extension=mpg
SET secondary_transcode_extension=ts

This also works:
Code:
SET transcode_extension=ts
SET secondary_transcode_extension=mpg

This wont work very well:
Code:
SET transcode_extension=[B]mpg[/B]
SET secondary_transcode_extension=[B]mpg[/B]

Quote:All the script needs to do is rename the original. It doesn't have to move it. It needs to do this on any and all files in watched directory.

The script doesn't rename, it deletes or moves. You could create a directory called v:\Videos\Transcode-done\ and set it as the move directory.
JimmyA
Offline

Member

Posts: 215
Threads: 15
Joined: Jun 2008
#825
2009-06-03, 09:41 PM
I know you must be fed up debugging problems for those of us who know little about bat file processing, but I have tried in vain to determine why my script won't work. Hope you can help.

Thanks
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#826
2009-06-03, 11:56 PM
-stattik- Wrote:Do you have the debug output? You also could increase the Screen Buffer Size of the dos window the script is in. I set my to 9999. Just right-click the icon top-left and choose properties.




This works:
Code:
SET transcode_extension=mpg
SET secondary_transcode_extension=ts

This also works:
Code:
SET transcode_extension=ts
SET secondary_transcode_extension=mpg

This wont work very well:
Code:
SET transcode_extension=[B]mpg[/B]
SET secondary_transcode_extension=[B]mpg[/B]



The script doesn't rename, it deletes or moves. You could create a directory called v:\Videos\Transcode-done\ and set it as the move directory.

Script version 5.1 does rename the original file with an underscore and the word "original" which is better here since no move or delete is done.

Neither of these changes to either of the transcodes made any difference. Please see previous attachment where the script does not recognize that there are files in the folder.

5.1 does not have the option succinctly of where or how to set up a move folder, not that I want to move the files anyway - fine and preferable with the rename where they are.

Here are the results of the runs with the transcodes in each of the settings you said do.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#827
2009-06-05, 02:33 PM
Quote:Script version 5.1 does rename the original file with an underscore and the word "original" which is better here since no move or delete is done.

True, cutandcopy mode does rename the file but once you get directory monitoring working you will run into a looping issue.

Since you have target_extension=mpg, the script will find all the MPG files and process them. When it's done it will perform a scan for more MPG files and it will find the MPG files it just processed and process then again...

My suggestion is to currently leave the settings until the automation is working, then change target_extension=edl. That will get rid of the looping but you would have to preprocess the files with comskip. If that's a problem there may be a workaround if you need it.

Quote: Please see previous attachment where the script does not recognize that there are files in the folder.

Thanks for the debugs:

I think I found the problem. Change this:
Code:
SET recursive_transcode_directory=v:\Videos\Transcode\

To this:
Code:
SET secondary_transcode_directory=v:\Videos\Transcode\
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#828
2009-06-05, 02:59 PM
JimmyA Wrote:I know you must be fed up debugging problems for those of us who know little about bat file processing, but I have tried in vain to determine why my script won't work. Hope you can help.

Thanks

Hi JimmyA,

It looks like mplayer couldn't indentify your file. During the transcode process, you should see a <sourcefile>.info file. Attach that and I'll take a look at it.
JimmyA
Offline

Member

Posts: 215
Threads: 15
Joined: Jun 2008
#829
2009-06-05, 04:03 PM
stattik,

Firstly, thanks for the help. I am at work right now but remember looking for any files created after trying a transcode. The info was the only file created, and it was empty.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#830
2009-06-05, 04:27 PM
JimmyA Wrote:stattik,

Firstly, thanks for the help. I am at work right now but remember looking for any files created after trying a transcode. The info was the only file created, and it was empty.

Was this the only file you tested? Is it a MPG or TS? If it affects all files you try, could you make a 5-10 second sample and upload it to rapidshare so I can take a look at it?
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (89): « Previous 1 … 81 82 83 84 85 … 89 Next »
Jump to page 


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