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
#841
2009-07-06, 04:05 AM
dhgb256 Wrote:Hi Stattik,

Due to processor load issues I switched back to the TS Mux. I am not using the Full TS Mux per your suggestion and unfortunately I am still getting the audio sync problems. I tried -tsprog 1 through 6 to no avail, and the mencoder website said there was 65,534 possibilities, but I didn't have that kind of time Smile

I have uploaded an example file again. Any help is much appreciated.

http://rapidshare.com/files/252385679/Be...00.ts.html


It's most likely because the TS file has 2 audio streams. Are you cutting the file at all? This worked for me.

Code:
D:\Progra~1\mplayer\MPlayer-rtm-svn-26446\mencoder.exe Z:\scratch\Beach_Volleyball_20090705_16301800.ts -edl "Z:\scratch\Beach_Volleyball_20090705_16301800.edl" -sws 9      -lavdopts threads=2    -ovc xvid -xvidencopts fixed_quant=3:me_quality=6:chroma_me:noqpel:chroma_opt:vhq=4:bvhq=1:trellis:hq_ac:quant_type=mpeg:turbo:threads=2 -oac mp3lame -lameopts cbr:br=128 -af volnorm -vf pullup,softskip,field=0,scale=608:336, -fps 30000/1001 -ofps 24000/1001  -o "Z:\scratch\Beach_Volleyball_20090705_16301800.avi"


If you're still having problems, you can try adding -aid 1 instead of -tsprog.
hand sanitizer
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Dec 2008
#842
2009-10-16, 03:12 PM
I currently run your script in my postprocessing.bat and have it cut the commercials and trancscode to xvid. No problems there.

How do I setup the script to just cut the commercials but not transcode? The videos are just mpeg2 files since its analog cable.

Please be specific on settings.

Thanks
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#843
2009-10-19, 08:08 PM
SET profile=cutandcopy

That should be all that's needed.
hand sanitizer
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Dec 2008
#844
2009-10-20, 05:07 PM
I am looking through stattik_transcode_0.5.6 and it looks to me that if you do not use the Guide_mode=yes with menus or USER-DEFINED PROFILE BY PATTERN IN FILE NAME DEFINTIONS and define shows as cutandcopy patterns then it won't call cutandcopy even if you set Profile=cutandcopy.

Under the line marked :: Transcode Parameters, mencoder is called under the Confusedtandard heading unless the script jumps to the :cutandcopy heading. I cannot find how the scripts gets to the :cutandcopy heading unless it is using guide_mode=yes or user defined profile by pattern in file name definitions.

Am I missing how the script works?

1.Looks like it goes to :droptranscode since directory scanning is not enabled (calling from postprocessing.bat)
2.Goes to : post_dvdrip since dvdripper=no
3. If %cutandcopy_patterns% is not used/left as default the script sets a bunch of variables and then goes to Confusedtandard and runs mencoder using the video encoder setting set under User Defined Profile Settings.

I think there needs to be something that looks at the Profile variable and jumps to :cutandcopy?

Sorry for the long post.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#845
2009-10-21, 04:45 AM
hand sanitizer Wrote:I think there needs to be something that looks at the Profile variable and jumps to :cutandcopy?

The attached script should have what you are looking for.
Line 1051 has the logic you mentioned above. This version of the script hasn't been released but it's been posted in this thread a few times.

The script has profile=cutandcopy and SET guide_mode=no but you can set it to yes if needed. It should work but it hasn't been extensively tested.
hand sanitizer
Offline

Junior Member

Posts: 9
Threads: 2
Joined: Dec 2008
#846
2009-10-22, 01:50 PM
That fixed it! Thanks.

Now my only probplem is the audio and video get out of sync after cutand copy. The sync gets worse the further into the recording. I'll try re-timing the file first before cutandcopy.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#847
2009-10-22, 06:07 PM
If the re-timing doesn't work, the only other option I'm aware of is to re-encode.
solariv
Offline

Junior Member

Posts: 25
Threads: 0
Joined: Nov 2005
#848
2009-11-25, 08:38 PM
Hello all,

I'm trying to convert an mpg2 recording from my PVR 150 card. I downloaded version 051f, modified the paths and dumped my mpg on it. I am choosing x264 (option 3) and 1-3 for options. The script exits without making aking any conversion... I tried setdebug=yes but it does not help me. I really would like this to work. Can someone help troubleshoot this problem. It should be simple. Maybe i am missing a configuration in the script...

Thank You

Eric S.
solariv
Offline

Junior Member

Posts: 25
Threads: 0
Joined: Nov 2005
#849
2009-12-01, 11:14 PM
What version of mencoder is working with your script to do an x264 conversion from an mpeg2 tv recording ?

I've tried many and none works without removing a couple of parameters in the script...

Just wondering.. Thank's
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#850
2009-12-02, 05:11 PM
I used a build of mencoder from 04-25-2007. You can find it here:

http://tirnanog.fate.jp/mirror/mplayer/

There's different builds depending on your processor.

Alternately, I've been working on a total rebuild of the script and it only supports x264. If you want, I could send you a link to test.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,384 2010-04-07, 03:39 PM
Last Post: carpeVideo
  Guide Questions native 6 4,279 2010-02-10, 01:23 PM
Last Post: native
  Mencoder with multiple TS audio streams lanmat 2 4,621 2009-11-09, 12:15 PM
Last Post: lanmat
  mencoder error messages fvfv 3 2,867 2009-10-19, 08:07 PM
Last Post: -stattik-
  TV guide table colour Pob 3 2,504 2009-09-21, 10:55 PM
Last Post: Snooze
  Searching Guide Contents skycyclepilot 1 2,032 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,702 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,757 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