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

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#451
2007-12-13, 06:48 PM
blizard Wrote:Stattik, would it be possible to add AVIDemux among one of those application recommended for cutting out commercials and post padding part?


So you're suggesting adding an option to use avidemux to cut the file before the script processes it? If so, that could be done. Do you have a CLI example that you use to perform the cutting?
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#452
2007-12-13, 08:41 PM
gnutech Wrote:Stattik,
It would be great if you could include an option to re-index an A/V file prior to using the edl feature.


Hi Gary,

I added a re-indexing option to the current development version of the script. If you'd like to test it out, I could post it here.
blizard
Offline

Member

Posts: 98
Threads: 14
Joined: Jan 2006
#453
2007-12-13, 11:37 PM
-stattik- Wrote:So you're suggesting adding an option to use avidemux to cut the file before the script processes it? If so, that could be done. Do you have a CLI example that you use to perform the cutting?

I don't use CLI as I use GTK+ (GUI) version to open, find which part to mark for cut, press delete and then that part is cut out (actually it is saved to an index file -idx- in the same way more or less as -edl- are used in MEncoder). You can also choice to mark that part you want to save and make your choices for encoding (copy=no transcoding for both sound and/or audio), pick a container and save file which start the transcoding process.

This is a faster method then to use comskip and get control by frame key to cut where it should not give problem. You can also create a project file which is a scripting tool. From that point I think most action should be possible to integrate into stattik_batfile if they are repeating in other case the GUI version deliver a faster solution to search through manually for commercials, edit and save file for use in IPod (there is a small script that set re-size and black border when needed), DVD or other situation.

I just suggested it as it faster in GUI, does not take long time to learn and have three interfaces: Command line interface, GTK+ or QT (not stable yet). It also can be set to create project file -scripting- ehich should make it easier to integrate part of operation into bat file usage.

It is also one package, very much in the same way as MENcoder and have setting that work much in the same way, but still different and it is capable to go from one container to another without use of AVI when you transcode MPEG2 to MP4 from user point of view.

AVIDEmux wiki
ECMAScripting in AVIDEmux (that is used when you make project files, useful to store all kind of setting for codec, filters, container and other operation that AVIDemux can handle)
AVIDemux Forum

Grunsters download for the latest version - both installer and zip version for windows (AVIDemux is also developed for Linux and Mac OS X).

If you don't find it interesting to use, Stattik, then you could at least add it to tools at the same place as Comskip on your wiki for stattik batch file? It would save time for those people that just want a simple way to cut out commercial fast in MPEG2 PS/TS and save it to be further processed with your batch file. You will not need MPEG2cutter or any other application to correct MPEG2 files and do work faster to work with then to wait for comskip to go through file to find points to cut. It is also compact to download as zip file in the same way as MPlayer/MENcoder package can be done and have many way to create automatic processing from both CLI and ECMAScripting.
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]
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#454
2007-12-17, 07:59 PM
I just upgraded from 0.5.1a to 0.5.1f, and something is broken.

I drop a .mpg on the script, select 1 - 4 for xvid/pillarbox, but the script just exits.

I attached the debug logging.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#455
2007-12-17, 08:42 PM
DrDDT Wrote:I just upgraded from 0.5.1a to 0.5.1f, and something is broken.

I drop a .mpg on the script, select 1 - 4 for xvid/pillarbox, but the script just exits.

I attached the debug logging.

The mplayer_path is incorrect

Code:
set mencoder_path=C:\Progra~1\MPlayer-1.0rc2\mencoder.exe

set mplayer_path=C:\Progra~1\MPlayer-1.0rc2

It should read

Code:
set mplayer_path=C:\Progra~1\MPlayer-1.0rc2\mplayer.exe
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#456
2007-12-17, 09:19 PM
-stattik- Wrote:The mplayer_path is incorrect

Code:
set mencoder_path=C:\Progra~1\MPlayer-1.0rc2\mencoder.exe

set mplayer_path=C:\Progra~1\MPlayer-1.0rc2

It should read

Code:
set mplayer_path=C:\Progra~1\MPlayer-1.0rc2\mplayer.exe

Thanks. Fixed.
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#457
2007-12-18, 02:17 PM
Is it possible to auto crop black bars? So 4:3 recordings are not cropped, but 16:9 recordings are letterboxed?

I do not always know it advance if a recording can be letterboxed.

One other minor issue: I get strange problems when trying to transcode 'Law & Order'. I guess the & is a problem.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#458
2007-12-20, 10:32 PM
DrDDT Wrote:Is it possible to auto crop black bars? So 4:3 recordings are not cropped, but 16:9 recordings are letterboxed?

Although mencoder has an autocrop feature, it was problematic. You had to run the file through mencoder with autocrop, parse the results, and then plug the suggested autocrop setting in the transcode.

The next version of the script provides a MOVE directory where recently transcoded files are cached in case you want to revisit them. You can set the size of the directory so it deletes old files as the new ones come in.

DrDDT Wrote:One other minor issue: I get strange problems when trying to transcode 'Law & Order'. I guess the & is a problem.

That's a common problem with scripting. You should be able to drop the file and transcode it but autotranscoding gets confused with "!", "&", brackets and parenthesis. I haven't found a solution but I'm open to suggestions.
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#459
2007-12-21, 09:28 AM
I received reports of people using the black bar detection feature of comskip to determine what cropping setting to use for mencoder.
Set
verbose=10
and the comskip log file seems to contain all the information you need.
Seems to work very well.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#460
2007-12-21, 04:48 PM (This post was last modified: 2007-12-21, 07:13 PM by -stattik-.)
Thanks Erik. I'll take a look at that. Would the same info be included for pillarbox detection?

edit: I reviewed the log file, threw something together, and it works great. Thanks for the suggestion erik!

I plan to release the next version of the script soon, possibly today. This should be included.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (89): « Previous 1 … 44 45 46 47 48 … 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