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
#501
2007-12-31, 09:27 PM
linfor Wrote:I only found one instance of abr and I replaced it.
It would be great to be able to add subtitles and logo at the same time I convert to avi. Thanks


After replacing abr with cbr did the errors reoccur in virtualdub?

What do you mean when you you mention logo? Mencoder can encode subtitles but I don't know of any logo processing.
h00ch
Offline

Member

Posts: 203
Threads: 42
Joined: Apr 2006
#502
2008-01-02, 04:07 AM
I downloaded the latest version of mplayer, etc and am trying to use the guided mode by dropping a file onto the script. I select option 2 then "Y" (because I don't know what that is) then option 7 to create a PSP file. After I press enter, the CMD window closes and nothing happens. If I turn off guided mode and drop the file on the script, it starts to decode it in standard mode. Is there something else I need to do to be able to create PSP compliant movie files? TIA
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#503
2008-01-02, 05:58 AM
h00ch Wrote:Is there something else I need to do to be able to create PSP compliant movie files? TIA


HI h00ch,

Make sure these paths are correct:

Code:
SET ffmpeg_path=C:\Progra~1\devnz\gbpvr\ThirdP~1\FFmpeg\ffmpeg.exe
SET PortableSavePath=C:\GBPVR\Portable\


If you still have problems, attach the output here.
h00ch
Offline

Member

Posts: 203
Threads: 42
Joined: Apr 2006
#504
2008-01-02, 10:34 PM
Those paths are OK. I'm not sure if this is want you want to see, but here's the output with debug mode on.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#505
2008-01-03, 06:23 AM
h00ch Wrote:Those paths are OK. I'm not sure if this is want you want to see, but here's the output with debug mode on.

What version of mencoder are you using? Some of the encoding arguments have changed recently for mp4 files. I'll have to update the script.
lstepnio
Offline

Member

Posts: 81
Threads: 7
Joined: Jan 2007
#506
2008-01-04, 08:26 PM
I thought I would share my current solution using ParallelProcessing.bat.

This .bat will start comskip analysis shortly after the recording starts in GBPVR. Once the recording is completed and the comskip data has been fully generated I next use the tool "addepisode" to rename the capture file. At this point my original recording is ready for viewing with comskip data. The last step is to cut and transcode the original recording, I include a 3 hour delay in this last step.

Code:
set RPPID=%RANDOM%
echo %DATE% %TIME% %RPPID% %2 PARALLEL-START %1 >>logs/parallelprocessing.log

"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "2m"
comskip79_98 "--ini=C:\Program Files\devnz\gbpvr\comskip79_98_gbpvr_v0.01.ini" "--verbose=0" "--playnice" "--ts" %1
echo %DATE% %TIME% %RPPID% %2 COMSKIP-COMPLETED %1 >>logs/parallelprocessing.log

"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "1m"
addepisode %1 "{show}-{yearshort}{month}{day}{[-]}{episode}">tmp/addepisode_%2_%RPPID%.tmp
"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "30s"
for /f "tokens=*" %%i in (tmp/addepisode_%2_%RPPID%.tmp) do set new=%%i
"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "30s"
del /Q /F tmp/addepisode_%2_%RPPID%.tmp
echo %DATE% %TIME% %RPPID% %2 ADDEPISODE %1 to %new% >>logs/parallelprocessing.log

"C:\Program Files\UnxUtils\usr\local\wbin\sleep.exe" "3h"
echo %DATE% %TIME% %RPPID% %2 TRANSCODE-START %new% >>logs/parallelprocessing.log
stattik_transcode_0.5.1f.bat "%new%" %2

echo %DATE% %TIME% %RPPID% %2 PARALLEL-DONE %new% >>logs/parallelprocessing.log

I have a question about the HDTV profile; how does one tweak the settings to balance encoding time and PQ. The resulting PQ is fair but it looks like it could use a bit more bitrate. Any suggestions for settings?
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#507
2008-01-04, 08:36 PM (This post was last modified: 2008-01-04, 09:08 PM by -stattik-.)
lstepnio Wrote:I thought I would share my current solution using ParallelProcessing.bat.

This .bat will start comskip analysis shortly after the recording starts in GBPVR. Once the recording is completed and the comskip data has been fully generated I next use the tool "addepisode" to rename the capture file. At this point my original recording is ready for viewing with comskip data. The last step is to cut and transcode the original recording, I include a 3 hour delay in this last step.


I have a question about the HDTV profile; how does one tweak the settings to balance encoding time and PQ. The resulting PQ is fair but it looks like it could use a bit more bitrate. Any suggestions for settings?


I use parallelprocessing.bat to run comskip as well. The test version of the script posted above also allows me to set the time when transcoding will occur. In addition I can also set an age threshold that will trigger when transcoding will happen (IE: transcode all shows older than 2 days.)

To increase biterate depends on the video encoder:

For xvid:

Code:
SET fixed_quant=3


2 would yield a higher bitrate recording


For x264:

Code:
SET x264_quality=21


Any lower number would yield a higher bitrate. 18 is about as low as I would recommend though.

Are you watching this on a hi-def tv or a standard def tv? You can also skip scaling of the source file.
lstepnio
Offline

Member

Posts: 81
Threads: 7
Joined: Jan 2007
#508
2008-01-04, 08:47 PM
I'm trying to come up with a solution to make better usage of the available drive space for recording without loosing quality with re-encoding unless the original source "old".

I'm looking to have stattik_transcode executed at the end of any recording from ParallelProcessing.bat or simply a scheduled job to look for any original recordings older than a definable number of days in addition to having logic that allows the trancoding of "old" recordings only if free drive space is below a defined value.
lstepnio
Offline

Member

Posts: 81
Threads: 7
Joined: Jan 2007
#509
2008-01-04, 08:54 PM
-stattik- Wrote:I use parallelprocessing.bat to run comskip as well. The test version of the script also allows me to set the time when transcoding will occur. In addition I can also set an age threshold that will trigger when transcoding will happen (IE: transcode all shows older than 2 days.)

To increase biterate depends on the video encoder:

For xvid:

Code:
SET fixed_quant=3


2 would yield a higher bitrate recording


For x264:

Code:
SET x264_quality=21


Any lower number would yield a higher bitrate. 18 is about as low as I would recommend though.

Are you watching this on a hi-def tv or a standard def tv? You can also skip scaling of the source file.

I'm recording network HDTV and displaying on a 1080p display. What kind of impact on encoding time and resulting size does it have if I skip scaling down?
h00ch
Offline

Member

Posts: 203
Threads: 42
Joined: Apr 2006
#510
2008-01-05, 04:07 AM
-stattik- Wrote:What version of mencoder are you using? Some of the encoding arguments have changed recently for mp4 files. I'll have to update the script.

I downloaded this from the "reliable" link in the wiki:
http://www.mplayerhq.hu/MPlayer/releases....0pre8.zip
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (89): « Previous 1 … 49 50 51 52 53 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,403 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,036 2009-08-23, 03:30 PM
Last Post: McBainUK
  Search for Movies in TV Guide spdrac1 1 2,045 2009-05-23, 03:37 PM
Last Post: JavaWiz
  MPEG2 transcoding to Xvid/AAC -which plug-in/tool are best fit? blizard 6 5,147 2009-03-01, 05:43 PM
Last Post: Deusxmachina
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,709 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,779 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