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

Member

Posts: 157
Threads: 42
Joined: Jun 2005
#481
2007-12-25, 08:35 PM
vmq Wrote:It looks like the ":: Parse ID_ Variables" part of the script fails to set the %ID_VIDEO_WIDTH% variable. Can you check that your mplayer_path is correct? Just start a cmd.exe and run:

F:\Progra~1\mplayer\MPlayer-mingw32-1.0pre8\mplayer.exe

You are right. It could not find it. I changed it to F:\Programs\mplayer\MPlayer-mingw32-1.0pre8\mplayer.exe and that did not work either so I renamed the directories and changed it to F:\Programs\mplayer\mingw3210pre8\mplayer.exe and that worked. Thanks
vmq
Offline

Member

Posts: 128
Threads: 27
Joined: Dec 2007
#482
2007-12-26, 03:13 AM
vmq Wrote:Thank you, works great!

But I already have a request for enhancement Wink. My analog recordings show a thin black border, see here for an example, and I use the following patch to get rid of them:
(snip old patch)

The following attached patch fixes some problems I found with the current 0.5.5 version of the script and also enhances the cropping abilities a little. The patch supersedes my previous patches. In detail:

* initialize the debug variable to be empty. This might be needed if the script is run with debugmode=yes and the script is stopped with CTRL-c. After this debugmode=no would not reset debug.

* Make the twopass_30_min_size be evaluated with 3min accuracy.

* Fix some debug statements.

* Fix transferring of metadata to destination file.

* Add settings to custom crop left, top, right and bottom for regular (non-letterbox) recordings as well as provide custom crop settings for black bars of letterboxed transmission. (For those who want to override the automatic settings.)

Regards,

Volker
[SIZE="2"]PVR: Phenom 9150e / 4GB / XP / ATI HD 4200 / HVR-1600 / ATI HD 650 TV WOnder / NextPVR 3.9.2
PVR2: i7-6700k / Win10Pro / 32 GB / GeForce 1070 / WinTV-dualHD / NPVR 3.9.2 / 4TB NAS[/SIZE]
linfor
Offline

Member

Posts: 157
Threads: 42
Joined: Jun 2005
#483
2007-12-27, 04:26 AM
I ran into a problem and I cannot figure out what is causing it. After I do the transcode to avi I pass the file through VirtualDubMod to add subtitles and such.
After using the batch file all the avis when sent to virtualdub return an audio error.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#484
2007-12-27, 07:21 PM
linfor Wrote:I ran into a problem and I cannot figure out what is causing it. After I do the transcode to avi I pass the file through VirtualDubMod to add subtitles and such.
After using the batch file all the avis when sent to virtualdub return an audio error.

Does the file sound/look ok before you run it though virtualdub? What's the error message?

Out of curiosity, what kind of files are the subtitles in?
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#485
2007-12-27, 07:44 PM
vmq Wrote:The following attached patch fixes some problems I found with the current 0.5.5 version of the script and also enhances the cropping abilities a little. The patch supersedes my previous patches. In detail:

* initialize the debug variable to be empty. This might be needed if the script is run with debugmode=yes and the script is stopped with CTRL-c. After this debugmode=no would not reset debug.

* Make the twopass_30_min_size be evaluated with 3min accuracy.

* Fix some debug statements.

* Fix transferring of metadata to destination file.

* Add settings to custom crop left, top, right and bottom for regular (non-letterbox) recordings as well as provide custom crop settings for black bars of letterboxed transmission. (For those who want to override the automatic settings.)

Regards,

Volker

Thanks Volker,

I have a PVR150 and have the same black bars around all my recordings. Since I stil have a SDTV, I don't see the black bars but I plan on going the HDTV route in a few months so a cropping option would be needed. I'll review the rest of the diff file as well. Thanks again for the input.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#486
2007-12-27, 07:58 PM
DrDDT Wrote:Comskip detects 1:6300, so no autocrop occurs..... should be letterboxed.
I also have the black 'mini' bars left/right.

Do all of your clips that need letterboxing come up with 1:6300?

vmq's suggestion of a custom crop (for the mini black bars) should address your second concern. It will be implemented in a future build of the script.

Multi-CPU mencoder/mplayer:

If you're using x264, any build (with x264) should do.

If you're using xvid, the only builds I can verify are here:

http://tirnanog.fate.jp/mirror/mplayer/
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#487
2007-12-27, 09:57 PM
wazzag Wrote:can this transcode dvr-ms files?
I'm having trouble configuring the script to do this, any tips?

Are your dvr-ms files SD or HD? The script shouldn't need any additional configuration for dvr-ms. SD files should work once you have the mencoder/mplayer paths configured. HD dvr-ms files typically contains AC3 audio which mencoder incorrectly thinks is PCM, which causes problems.
DrDDT
Offline

Member

Posts: 84
Threads: 12
Joined: Mar 2006
#488
2007-12-27, 09:57 PM
-stattik- Wrote:Do all of your clips that need letterboxing come up with 1:6300?

vmq's suggestion of a custom crop (for the mini black bars) should address your second concern. It will be implemented in a future build of the script.

Multi-CPU mencoder/mplayer:

If you're using x264, any build (with x264) should do.

If you're using xvid, the only builds I can verify are here:

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

Yes, all my tv recordings do come up with 1:6300. (The Netherlands, PAL)

I used a cpu specific build from http://ffdshow.faireal.net/mirror/mplayer/ for xvid, for almost double fps.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#489
2007-12-27, 10:03 PM
DrDDT Wrote:Yes, all my tv recordings do come up with 1:6300. (The Netherlands, PAL)
.

Ok, try this:

Find "7000" (there should be two.)
Replace both with "6100"

Test it out and see if letterboxing gets flagged.

All my tv recordings that are letterboxed come up with 1:9100 (US, NTSC).

If it works, I'll update the script.


DrDDT Wrote:I used a cpu specific build from http://ffdshow.faireal.net/mirror/mplayer/ for xvid, for almost double fps.

Sounds great!
vmq
Offline

Member

Posts: 128
Threads: 27
Joined: Dec 2007
#490
2007-12-27, 10:05 PM
-stattik- Wrote:Thanks Volker,

I have a PVR150 and have the same black bars around all my recordings. Since I stil have a SDTV, I don't see the black bars but I plan on going the HDTV route in a few months so a cropping option would be needed. I'll review the rest of the diff file as well. Thanks again for the input.

Sorry, I had a little more time and worked on some refinements of the crop part. Wink

I found that when cropping a 720x480 recording to letterbox 704x368 this is very near to the configured standard HDvideo size of 656x336, so that scaling it down can only be lossy. The patch makes sure that custom cropping works well with the Full Res mode and that the cropped area is correctly enlarged to multiples of 16 in each dimension and the crop offsets are scaled accordingly. It also corrects the aspect ratio.

My recordings with xvid/mpeg2 -Two Pass, No IVTC and Full Res + Letterbox seem to look a little better than with scaling involved. (I use a 300MB per 30min setting.)

Volker
[SIZE="2"]PVR: Phenom 9150e / 4GB / XP / ATI HD 4200 / HVR-1600 / ATI HD 650 TV WOnder / NextPVR 3.9.2
PVR2: i7-6700k / Win10Pro / 32 GB / GeForce 1070 / WinTV-dualHD / NPVR 3.9.2 / 4TB NAS[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,404 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,710 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,788 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