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

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#801
2009-05-17, 07:31 PM (This post was last modified: 2009-05-17, 07:36 PM by Bluethunder.)
-stattik- Wrote:Here's the problem:



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?

.info file? i looked in the directory that the recording is in, but there is no .info
what generates this file?

This is just a recording off of the TV.

Thanks
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#802
2009-05-19, 04:16 AM
Bluethunder Wrote:.info file? i looked in the directory that the recording is in, but there is no .info
what generates this file?

This is just a recording off of the TV.

Thanks

The .info file is created by the script during processing. It's gets deleted after the script is done. You'll find it in the directory while the script is asking for transcode info.
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#803
2009-05-19, 08:48 PM (This post was last modified: 2009-05-19, 09:02 PM by bbhank.)
-stattik- Wrote: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.

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.

I'm not sure what you mean here but I think once we address the above problem, the rest should fall in.


attached is txt file of a run.



I wondering how to give it the same parameters I put in when it's running in the guided mode when it runs unguided or if it will default to something and give me the same file as it would have if I had run it in guided mode and selected how I wanted it done.

I'd like to get it to run on a watched folder and do what it does in the guided mode to any and all files in the watched folder unattended.

Thank you for the help.
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#804
2009-05-19, 09:58 PM
correct cmd window
attached result file has error
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#805
2009-05-20, 04:28 AM
bbhank Wrote:correct cmd window
attached result file has error

This error won't affect the output:
Code:
Transferring metadata to destination file if it exists.
The system cannot find the file specified.

Are you getting the result you desire? It looks like you are.

Quote:I'd like to get it to run on a watched folder and do what it does in the guided mode to any and all files in the watched folder unattended.

It looks like you're re-encoding a mpeg file to another mpeg using an EDL file. To make the script run the same thing on a watched folder, you can set these:
Code:
SET profile=dvd_pro
SET directory_monitoring=yes
SET secondary_transcode_directory=E:\video\  <== Add your watch directory

Considering what you're doing, have you tried option 9 in guided mode (cutandcopy)? That option will cut using the EDL file and the video quality will be unaffected. It's also much faster. If it works for you (sometimes it doesn't depending on the source), it may be the best solution.
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#806
2009-05-20, 02:15 PM
Tried these settings and it does not recognize any files in the watched directory. I'd like to use option 9 but not have to put this and the two preceding settings about how I want to encode and changing the name. I need it to not have to ask me to put the same settings in over and over again each time I run the script. These settings will always be the same.


stattik's Mencoder Automation Script
Version 0.5.1f
.
Variables Loaded. Script is starting.
.
Running Comskip on source file...
.
Automated Directory Scanning has been enabled.
transcodes=
transfilelist = "v:\Videos\Transcode\test.mpg" "v:\Videos\Transcode\test.mpg"
transdirlist=
pre_transcodes=
.
There are no files to transcode at this time....checking again in 1 minutes.
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#807
2009-05-20, 04:52 PM
-stattik- Wrote:This error won't affect the output:
Code:
Transferring metadata to destination file if it exists.
The system cannot find the file specified.

Are you getting the result you desire? It looks like you are.



It looks like you're re-encoding a mpeg file to another mpeg using an EDL file. To make the script run the same thing on a watched folder, you can set these:
Code:
SET profile=dvd_pro
SET directory_monitoring=yes
SET secondary_transcode_directory=E:\video\  <== Add your watch directory

Considering what you're doing, have you tried option 9 in guided mode (cutandcopy)? That option will cut using the EDL file and the video quality will be unaffected. It's also much faster. If it works for you (sometimes it doesn't depending on the source), it may be the best solution.

No I am not getting the result I desire. When I drag and drop onto it, it stops the process to ask me what kind of encoding do I want mencoder to do, something about some name change to which the answer is always No, and to select the cut and copy which is always the same-option 9. I don't want to have to select anything! I want to give it these options when it starts so it will not stop and ask me for them.
What I'm after is to have a script that does nothing else but cut and paste and produce the file without intervention from Comskip output, with watched folder capabilities exactly like drag and drop.
Tried it with the settings you gave and all it does is crash.
If there is another cutter that will work more simply and efficiently without all this please advise. Comskip does fine. If another program will do this job more simply than mencoder then that's the ticket.
All I want the encoder to do is cut - it doesn't have to re-encode anything or have any other bells and whistles. I want it to do this without my intervention both when dragged and dropped and from a watched folder.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#808
2009-05-20, 05:05 PM
bbhank Wrote:Tried these settings and it does not recognize any files in the watched directory. I'd like to use option 9 but not have to put this and the two preceding settings about how I want to encode and changing the name. I need it to not have to ask me to put the same settings in over and over again each time I run the script. These settings will always be the same.


stattik's Mencoder Automation Script
Version 0.5.1f
.
Variables Loaded. Script is starting.
.
Running Comskip on source file...
.
Automated Directory Scanning has been enabled.
transcodes=
transfilelist = "v:\Videos\Transcode\test.mpg" "v:\Videos\Transcode\test.mpg"
transdirlist=
pre_transcodes=
.
There are no files to transcode at this time....checking again in 1 minutes.

Can you attach the script you're using? It looks like it finds two files to process but they are removed from the list for various reasons.

Also. if you could attach the full output from the debug, I could take a look at it.
bbhank
Offline

Junior Member

Posts: 16
Threads: 0
Joined: May 2009
#809
2009-05-20, 07:56 PM
Here is the debug text. Each time it came to the part that seems to be sending information to mencoder it brought up the Microsoft error window. When this is cleared the scrip quits. If run in a DOS window, the text is what I sent you showing the last few lines where it errors.

Is there a more simple way to do this without all the hooks? All I want to do is send cutting instructions to whatever program will cut the file without changing anything else. Are there other programs that will take the output from Comskip and apply it to cutting a video without intervention.
I have a working drag and drop script but it still has me enter some parameters that I want to give it in the script so I don't have to interact with it.

I have NanoPeg editor. Will that take the output from mencoder. It's just a cutter - that's all i need. Know of any other scripts that will do this?
I'm not a programmer.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#810
2009-05-21, 03:31 PM
Quote:Here is the debug text. Each time it came to the part that seems to be sending information to mencoder it brought up the Microsoft error window.


The script shouldn't generate an error that brings up a MS error window. Perhaps it was mencoder-related.

Quote:When this is cleared the scrip quits. If run in a DOS window, the text is what I sent you showing the last few lines where it errors.

The output you attached shows the script stopped because mplayer was unable to determine the framerate of the source file.

Quote:Is there a more simple way to do this without all the hooks? All I want to do is send cutting instructions to whatever program will cut the file without changing anything else.


This would be the command that would be generated in your case:

Code:
"C:/path/to/mencoder.exe" %1 -edl "%~dpn1.edl" -of mpeg  -ovc copy -mpegopts format=mpeg2:tsaf:vbuf_size=1000 -oac copy -o "%~dpn1-cut.mpg"

Add your mencoder path. Add that to a BAT file and drop your files on it.

Quote:Are there other programs that will take the output from Comskip and apply it to cutting a video without intervention.

Comclean may be able to do it. It uses mencoder as well.
« Next Oldest | Next Newest »

Users browsing this thread: 5 Guest(s)

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


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