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

Junior Member

Posts: 14
Threads: 5
Joined: Feb 2007
#391
2007-07-30, 08:21 PM
I don't know what an EDL file is, but I don't seem to have any. I saw that was keeping the script from working before, so I changed that line to look for txt instead and it worked (in the old version, not this -e version)

Attached is my stattik_transcode_0.5.1e.bat


i tried changing it back to edl and adding a file to the directory with the edl extension and the result is the same loop. i don't think it is processing the mpg at all, the loop takes less then a second.

maybe you can find something else i messed up in my bat?
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#392
2007-07-30, 09:09 PM
timeless Wrote:I don't know what an EDL file is, but I don't seem to have any. I saw that was keeping the script from working before, so I changed that line to look for txt instead and it worked (in the old version, not this -e version)


Ok I found the bug and fixed it. I modified your copy of the script so you should have to change anything.
blizard
Offline

Member

Posts: 98
Threads: 14
Joined: Jan 2006
#393
2007-08-17, 04:04 AM (This post was last modified: 2007-08-17, 04:30 AM by blizard.)
Hi Stattik!

I updated to stattik_transcode_0.5.1d.bat, but I can not get it to work when I drop a mpg file onto it to be transcoded with Guided Mode it will only produce an .info file and then stop.

I have not created edl as I don't want to use Comskip right now (I have used it before with the first install of stattik_transcode_0.4.bat and I had it working at that time).

Do I need to update GBPVR 99.12 to the latest version? I can not see how it can be connected to my problem, which should depend more on which version of MEncoder/mplayer I use (mplayer2007.07.20.Athlon-XP). All other processor specific mplayer version gave me the same problem which wanted me to install some kind of .dll file for with "threading" in its name.

I have an AMD64 dual core CPU (and Window XP64) which I like to use for faster encoding speed, if it is possible. What version of mplayer would be best fit to do this?

So far I have tried mplayer version you recommended for DVD ripping (which is slower according to your statement in some post) and the one for Athlon XP which work. AMD64 specific and Core2 version did not work. Standard mplayer did work, but as I understood it was also slower then processor specific one.

I attach my postprocessing.bat and a example on the result of a MPEG2 based recording from Theater550Pro so you can see which files comskip created and the infofile which, seem to be created each time I start your script (bat-file) and then it stop processing.

What do I need to change to get this to work?

I would like to be able to transcode to Xvid/AAC. Do I need to install extra codec or change mplayer/MEncoder setting in some way (libavcodec or ffmpeg)?

Would be great to have some help on this as I have gone through plenty mplayer/MEncoder by this time and looked through bat file without any luck. :confused:

You have made a great development out of this bat file stattik. Big Grin


EDIT: Could not upload a short mpeg2 clip. Had to change some part of text.
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]
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#394
2007-08-18, 10:49 PM
blizard Wrote:Hi Stattik!

I have not created edl as I don't want to use Comskip right now (I have used it before with the first install of stattik_transcode_0.4.bat and I had it working at that time).

Do I need to update GBPVR 99.12 to the latest version?

Hi Blizard,

An EDL file is not needed when using quided transcode. You don't have to upgrade GBPVR.


Quote: I can not see how it can be connected to my problem, which should depend more on which version of MEncoder/mplayer I use (mplayer2007.07.20.Athlon-XP). All other processor specific mplayer version gave me the same problem which wanted me to install some kind of .dll file for with "threading" in its name.

pthreadGC2.dll is what you're looking for. It's required for the Athlon-64 builds. You can find it here:

http://ffdshow.faireal.net/mirror/

..but that probably won't fix the problems you're having now.

Quote:I have an AMD64 dual core CPU (and Window XP64) which I like to use for faster encoding speed, if it is possible. What version of mplayer would be best fit to do this?

The Athlon-64 build. See above.

Quote:So far I have tried mplayer version you recommended for DVD ripping (which is slower according to your statement in some post) and the one for Athlon XP which work. AMD64 specific and Core2 version did not work. Standard mplayer did work, but as I understood it was also slower then processor specific one.

The current version of the script uses mplayer1.0pre8 for ripping only. The transcoding is done by the processor-specific mencoder you specify.


Quote:I attach my postprocessing.bat and a example on the result of a MPEG2 based recording from Theater550Pro so you can see which files comskip created and the infofile which, seem to be created each time I start your script (bat-file) and then it stop processing.

What do I need to change to get this to work?

First get the pthreadGC2.dll at the location listed above, extract it, and place it into the directory. If that doesn't fix your problem, then I'll need more info.

Open a DOS window.

Drop the script on it, add a space

Drop the mpeg file on it. Hit Enter.

Wait till it stops. Then copy the output and either paste it here or attach it and I'll take a look at it.


Quote:I would like to be able to transcode to Xvid/AAC. Do I need to install extra codec or change mplayer/MEncoder setting in some way (libavcodec or ffmpeg)?

You can set audio_encoder=aac but it may not play in GBPVR. I've haven't tested it with xvid/aac but x264/aac won't play in GBPVR because the AVI splitter doesn't seem to recognize it (from my experience).


Hope this helps.
blizard
Offline

Member

Posts: 98
Threads: 14
Joined: Jan 2006
#395
2007-08-19, 04:25 AM (This post was last modified: 2007-08-20, 03:43 AM by blizard.)
I found out a working mplayer/MEncoder version from Celtic Druid for Athlon64. Thanks for your suggestion on how to use pthreadGC2.dll. Smile I did place it in the same folder as my mplayer/MEncoder and it worked! Although I downloaded this file incl. mplayer/MEncoder from the same mirror to be sure that it would run.


I have tried to look through your script, but do not understand all the processes and setting that are made for each step.

I did get it to work when I changed output_fps=auto to output_fps=25, but isn't this script supposed to detect correct fps from mplayer and then set the out_fps after some check against different profiles?

All my recording are in PAL B which is FPS=25, so I could live without auto setting of FPS. I don't know what kind of interlacing that are best to use which is more important.

FFSHOW will not decode AAC with libfaad2, but it works in mplayer. It should work to play AAC as I have used MPC+FFDSHOW to watch recording made with SUPER in MP4 container before with the same codecs (Xvid/AAC).

Thanks for your support and advice! Big Grin

______
From digging deeper into MEncoder and AAC I have learned that MEncoder make use of FAAD (another kind of library?) to create AAC. This doesn't work very well if you want to use FFDshow or any other player then mplayer to play back this file created with AAC (based on FAAD) compared to how well libfaad2 library work across different player. I think it could worth to mention for those want to use AAC in your bat file, that for the time being, it has this limitation that it can only be decoded mplayer based player to play back.

There is a SMplayer that could be more easy to use for those that want a windows based user interface or need to play those file created with FAAD (AAC) sound.

http://smplayer.sourceforge.net/en/windows/index.php
_____
After several hour of trail and error I found the solution to get an AAC that can be decoded on other player then mplayer. Big Grin

Code:
IF /I %audio_encoder% EQU AAC SET audio_settings=-oac faac -faacopts mpeg=4:tns:[B]raw[/B]:br=112 %volnorm%

It is raw that lack in from the original batch file from stattik. I don't know how quality scale against bitrate option.
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]
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#396
2007-08-20, 04:03 PM
blizard Wrote:I have tried to look through your script, but do not understand all the processes and setting that are made for each step.

What problems are you having? post the output of one of your transcodes.

Open a DOS window.

Drop the script on it, add a space

Drop the mpeg file on it. Hit Enter.

Wait till it stops. Then copy the output and either paste it here or attach it and I'll take a look at it.

Quote:I did get it to work when I changed output_fps=auto to output_fps=25, but isn't this script supposed to detect correct fps from mplayer and then set the out_fps after some check against different profiles?

Yes, That's how it's supposed to work. I could find out more from the above output.

Quote:All my recording are in PAL B which is FPS=25, so I could live without auto setting of FPS. I don't know what kind of interlacing that are best to use which is more important.

The default is pretty good. You could always test out the others in 30 second increments to see if you like them better.

Quote:There is a SMplayer that could be more easy to use for those that want a windows based user interface or need to play those file created with FAAD (AAC) sound.

http://smplayer.sourceforge.net/en/windows/index.php

Here's a link to a complete package featuring smplayer. I think you will like it.

http://mulder.dummwiedeutsch.de/home/?pa...ts#mplayer

Quote:After several hour of trail and error I found the solution to get an AAC that can be decoded on other player then mplayer. Big Grin

Code:
IF /I %audio_encoder% EQU AAC SET audio_settings=-oac faac -faacopts mpeg=4:tns:[B]raw[/B]:br=112 %volnorm%

It is raw that lack in from the original batch file from stattik. I don't know how quality scale against bitrate option.

Thanks for the info. I'll test it out.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#397
2007-08-20, 05:03 PM
masteriiz Wrote:I stattic,

I missed an option to add DVD subtitles. As in holland nothing is dubbed, but all is subtitled i did really need this option. Hence the attached script.

Hi masteriiz,

Thanks for the addition. I tested it on one DVD and it worked fine. I'll add it to the next release. I do have a question though.

You define dvdrip_default_sub_lang but I don't see it use anywhere? Did you have a role for this?
Seguer
Offline

Junior Member

Posts: 45
Threads: 11
Joined: Sep 2006
#398
2007-08-29, 03:07 AM
Hi stattik,

I'm getting the following error when I try to run the batch file:

"FINDSTR: Cannot open Files\devnz\gbpvr\temp.txt"

But there is no mention of "Files\" in the bat file - all locations to Program Files are by "Progra~1"
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#399
2007-08-29, 04:12 AM
I Seguer,

I'll need your config file and possibly the output if you can get it. Then I should have a better idea.
Seguer
Offline

Junior Member

Posts: 45
Threads: 11
Joined: Sep 2006
#400
2007-08-29, 04:46 AM
Please see attached, stattik:
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (89): « Previous 1 … 38 39 40 41 42 … 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,868 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,705 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