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

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#441
2007-11-04, 04:24 PM
Since your script requires an EDL file, whenever I write the .txt file out, I also create an EDL file.
After cutting commercials, your script deleted the EDL file, but the txt file still remained with the commercial cuts. Can you build this into the scripts? Otherwise a user will have to reenter the plugin and kill all the commercial skips and write that out.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#442
2007-11-04, 06:59 PM
The .txt file should be deleted.

SET cleanup_extensions= "txt" "log" "csv" "dne" "edlp"

According to the script I sent you, the above extensions should be deleted after the script finishes. The EDL file gets deleted once the associated MPG file is deleted.

Do you delete the MPG file after processing?
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#443
2007-11-06, 02:43 AM
I think the only thing that was deleted was the edl file but
I looked a little more carefully and saw that I need a couple of settings set to yes.
SET file_delete=no
SET cleanup=no

I think that should fix it up.
thx.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#444
2007-11-26, 06:28 AM
Finally finished work on skiptool with built in support for running your scripts. Works well, thanks for the help.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#445
2007-11-28, 05:12 AM
Sounds great. I'll have to check skiptool out sometime.
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#446
2007-12-02, 01:16 AM
Stattik,

I would first like to compliment you on a great interface for mencoder.

I just ran into the issue where a file called "Program" is being created in C:\ by your script. I noticed also that you mentioned that this is fixed in version 0.5.1f of the auto transcode script. May I suggest you update the GB-PVR wiki to include this version of the script for download. The wiki is presently offering version 0.5.1d of the script which apparently is a version that still had the issue.

While I have your attention, here is a feature wish list request. Not all A/V encoders index their streams properly for use with mencoder's edl feature. It would be great if you could include an option to re-index an A/V file prior to using the edl feature. I've poorly hacked your script for my needs. But an official feature like this would save some of us the effort of having to manually re-index before using your script with edl.

Keep up the awesome work!

Respectfully,


Gary
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#447
2007-12-02, 04:44 AM
gnutech,

I've updated the wiki. Thanks for the input. So you want an option to reindex the mpg file before it gets encoded? What was your hacked version setup like? Typically I use TSAF which can take some time. What kind of capture card do you have that creates poorly indexed files?
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#448
2007-12-02, 05:40 AM
i suppose you could just manually throw in a line using ffmpeg or mencoder to reindex the mpeg before launching the "main" script
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#449
2007-12-02, 08:05 AM
I have a couple of Emuzed Maui-III G hardware encoders.

I made all my changes in your comskip routine (as it is the only instance that I would need to re-index for use with the edl file).

:: COMSKIP START CODE
IF /I %comskipmode% == yes (
ECHO .
ECHO Re-indexing source file due to Maui-III poor timestamp implimentation...
MOVE %1 "%~dpn1_precomskip.mpg"
REM SET comskip_name="%~dpn1_precomskip.mpg"
start /low /wait /min %mencoder_path% "%~dpn1_precomskip.mpg" -of mpeg -ovc copy -mpegopts format=dvd:tsaf -oac copy -o "%~dpn1.mpg"

ECHO .
ECHO Running Comskip on source file...
start /low /wait /min %comskip_path% %1
)

I'm sure you can come up with a more elegant solution.

Thank you for the consideration.

Respectfully,


Gary
blizard
Offline

Member

Posts: 98
Threads: 14
Joined: Jan 2006
#450
2007-12-13, 08:39 AM (This post was last modified: 2007-12-13, 11:01 AM by blizard.)
Stattik, would it be possible to add AVIDemux among one of those application recommended for cutting out commercials and post padding part? I am thinking on that wiki you have for this batch file that it could be one option as for comskip. It do support transcoding and a range other option to manipulate video and audio. I have used AVIDEMUX now for some time instead of comskip on my MPEG2 PS recording and it work very much faster to load, manually cut out or just mark that part you want to keep and save it as MPEG PS (A+V) in "copy" mode. In that mode it only make small "smart" transcoding for those frames in the cutting point and leave the rest to be copied to new file. (When you open an MPEG AVIDmux creates and index file (idx) which make it possible to cut several places and even to reload faster for editing in one step.) That way you will not have to deal with trimming comskip for detecting of commercial on each channel as it take some time to find each channels setting and many time those channel try to trick comskip form auto detecting and cutting out those parts.

It is also possible to use AVIDemux as CLI which also would make it possible to integrate this application for batch file tasks much in the same way as MENcoder with some added features. It is also possible to use re-encode DTS and AC3 file (for editing), if dll are added to AVIDemux folder.

Here are some CLI: http://avidemux.org/admWiki/index.php?ti...line_usage
Abit AT8-32X/Athlon64 X2 4200+@2200Mhz/2GB DDR RAM/Samsung 2x 250 GB/Club3D X1950XT+PowerColor Theatre 550 pro (PCIe x1)
CRT 19 inch/ 1600 x 1200 pxl/32 bit colour
Logitech Z-5400 surround system - DDL/DD ProLogic2 (96kHz/24kbit)/DTS decoder


[COLOR="Blue"]OS: Windows XP Pro x64 edition.
PVR: GBPVR v.1.1.15;MPC+FFDshow+Haali splitter and renderer (use SM 2.0 on videocard);Avidemux+AutoMen+MPlayer/MEncoder/Stattik batch file[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 5 Guest(s)

Pages (89): « Previous 1 … 43 44 45 46 47 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,402 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,034 2009-08-23, 03:30 PM
Last Post: McBainUK
  Search for Movies in TV Guide spdrac1 1 2,044 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