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
#631
2008-04-22, 07:38 PM
firehorse Wrote:Hi,

I'm using digital freeview in the UK to record the programs.

Some come down as 720x576 @16:9. They compress fine.

Some come down as 544x576 @16:9. Problems.

The original play fine on a KMPlayer going to widescreen, but the 'compressed' file after the stattik script has the top and bottom chopped off.

I have the profile as standard, two_pass, x264, hoping it would cope but it doesn't seem to do the 544x576 @16:9 properly. Can you tell me what settings I should use?

Many thanks
Alan


The script determines aspect ratio by dividing the width by the height. 544x576 ends up being a 4:3 aspect.

If you can verify that all 544x576 material is 16x9 I'll add some logic to force that output to 16:9. In the meantime you can add to your profile "hdtv". That will force the aspect to 16x9.

Code:
SET profile two_pass hdtv

If you want x264 video compression set this:

Code:
SET video_encoder=x264

Be sure you have the proper software to decode it. I use ffdshow and haali media splitter.
firehorse
Offline

Member

Posts: 60
Threads: 6
Joined: Apr 2008
#632
2008-04-29, 05:58 PM
Hi,

The script is working well.

However, when mencoder is running, it is slowing down the rest of computer even though it is on idle priority. I think it must be quite aggressive in grabbing cpu cycles.

Is there any setting to make it less aggressive?

Failing that, I was looking into getting the script to only transcode at certain times. I've set the following.

SET time_check=yes
SET time_transcode_start=0100
SET time_transcode_stop=0900

I'm hoping that transcoding only happens between 1AM and 9AM. I have renamed the script as postprocessing.bat. I'm assuming gbpvr will call postprocessing.bat which will remain suspended until 1AM. Is that right?

Many thanks
Alan
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#633
2008-04-29, 06:27 PM
I'd check your task manager when you experience these slowdowns as you may have more than one transcode happening concurrently.

If you want to enable time checking, I wouldn't run it as postprocessing.bat. You'll most likely have multiple copies running at the same time.

I would recommend setting it up like this:

Make sure directory monitoring is set:

Code:
SET directory_monitoring=yes

Make sure this is set to your recordings directory:

Code:
SET recursive_transcode_directory=D:\Video\

Then start the script.

If you're unsure about this, post your config. This may even fix the slowdowns you're having.
firehorse
Offline

Member

Posts: 60
Threads: 6
Joined: Apr 2008
#634
2008-04-29, 07:32 PM
Hi,
-stattik- Wrote:I'd check your task manager when you experience these slowdowns as you may have more than one transcode happening concurrently.

If you want to enable time checking, I wouldn't run it as postprocessing.bat. You'll most likely have multiple copies running at the same time.

I would recommend setting it up like this:

Make sure directory monitoring is set:

Code:
SET directory_monitoring=yes

Make sure this is set to your recordings directory:

Code:
SET recursive_transcode_directory=D:\Video\

Then start the script.

If you're unsure about this, post your config. This may even fix the slowdowns you're having.
Thanks for the tips.

I did sometimes have more than one mencoder process running. I will rename postprocessing and use directory monitoring instead.

Thanks
Alan
roobear
Offline

Junior Member

Posts: 8
Threads: 0
Joined: May 2007
#635
2008-05-10, 09:12 PM
Stattik i have been having a problem seems most my one hour shows the script stattik_transcode_0.5.1f.bat sees them as only 18 minutes long and then encodes the whole hour show down to file sizes of just over 100MB I am not using comskip function the old version stattik_transcode_0.4b.bat still works fine
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#636
2008-05-12, 03:09 PM
What kind of files are your input files? mpg? ts? Are you dropping the files on the script or is the script scanning directories to find files? Can you provide some debug output?

Thanks.
roobear
Offline

Junior Member

Posts: 8
Threads: 0
Joined: May 2007
#637
2008-05-12, 03:55 PM
it happens whether i drop files or use directory monitoring the files are Mpg.

source info : - total length 0 minutes- show length 18 minutes- -comercial length 18 minutes (but it is 65 minute recording) don't know if that helps if you need some other debug output let me know
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#638
2008-05-12, 07:33 PM
roobear Wrote:it happens whether i drop files or use directory monitoring the files are Mpg.

source info : - total length 0 minutes- show length 18 minutes- -comercial length 18 minutes (but it is 65 minute recording) don't know if that helps if you need some other debug output let me know


Since you use directory monitoring you can do this to produce some good info:

- Make sure you change the first line of the stattik_transcode script to ECHO ON

- Drop stattik_transcode_0.5.1f.bat onto the debug-dump.bat file. Send me the output.

- Also attach your stattik_transcode_0.5.1f.bat and stattik_transcode_0.4b.bat files.


Thanks.
roobear
Offline

Junior Member

Posts: 8
Threads: 0
Joined: May 2007
#639
2008-05-12, 11:43 PM
Ok don't know what i am doing wrong here does not close after the 60 seconds no Wscript running changed 1st line to @Echo ON And, ECHO ON all i keep getting is a temp file that says program location "G:\Recordings\Cold Case\Cold Case_20080511_23000000.mpg" at times i am surprised i can get this comp to turn on have to figure out what button to push LOL when i run the debug script it starts up memcoder. when script starts tried both hitting enter key and hitting z no difference.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#640
2008-05-13, 04:13 PM
roobear Wrote:Ok don't know what i am doing wrong here does not close after the 60 seconds no Wscript running changed 1st line to @Echo ON And, ECHO ON all i keep getting is a temp file that says program location "G:\Recordings\Cold Case\Cold Case_20080511_23000000.mpg" at times i am surprised i can get this comp to turn on have to figure out what button to push LOL when i run the debug script it starts up memcoder. when script starts tried both hitting enter key and hitting z no difference.

The debug is supposed to start mencoder. It will also leave a file called stattik_transcode0.5.1f-debug.log that will have the debug info.

Does 0.5.1f have something that you wanted that 0.4b didn't have? I looked at the two scripts that you attached and they have different settings. 0.5.1f defaults to xvid twopass mode while 0.4b uses xvid quant mode. You mention in your first post that you're not using comskip function but in the next post you you add this:
Code:
source info : - total length 0 minutes- show length 18 minutes- -commercial length 18 minutes

That shows that comskip was run on the file at some time before because the script identified 18 minutes of commercials from the comskip files.

My first suggestion if you still want to use the 0.5.1 script is to pick a test file, remove/rename the corresponding edl files and drop the file on the 0.5.1f script.

See if that helps. If it does, I may have a fix for you.
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (89): « Previous 1 … 62 63 64 65 66 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,398 2010-04-07, 03:39 PM
Last Post: carpeVideo
  Guide Questions native 6 4,283 2010-02-10, 01:23 PM
Last Post: native
  Mencoder with multiple TS audio streams lanmat 2 4,624 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,505 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,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,144 2009-03-01, 05:43 PM
Last Post: Deusxmachina
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,706 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,771 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