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) GB-PVR Support (legacy) v
« Previous 1 … 588 589 590 591 592 … 1231 Next »
2-pass XVID transcoding

 
  • 0 Vote(s) - 0 Average
2-pass XVID transcoding
top_cat
Offline

Junior Member

Posts: 15
Threads: 7
Joined: Oct 2005
#1
2007-03-01, 03:33 PM
I'm trying to increase the quality of the xvid transcodes by using a 2-pass method.

have anyone else done this? Also does this code look like it will work

Code:
ffmpeg -i {SOURCE_FILE} -deinterlace -vcodec mpeg4 -g 240 -qscale 2 -croptop 0 -cropbottom 0 -aspect 16:9 -s 640x360 -passlogfile {LOG_FILE} -pass 1 -mbd 2 -vtag xvid -y -f avi NUL
ffmpeg -i {SOURCE_FILE} -deinterlace -vcodec mpeg4 -g 240 -b 1200k -croptop 0 -cropbottom 0 -aspect 16:9 -s 640x360 -passlogfile {LOG_FILE} -pass 2 -acodec mp3 -ab 128 -ac 2 -mbd 2 -vtag xvid -qmin 2 -async 1 -y -f avi {DEST_FILE}

Will using {LOG_FILE} work? or so I need to do something else?

Thanks,
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2007-03-01, 04:26 PM
Quote:Will using {LOG_FILE} work? or so I need to do something else?
No. GB-PVR looks for {SOURCE_FILE} and {DEST_FILE} and replaces them with the appropriate values. It doesnt know anything about {LOG_FILE}.
top_cat
Offline

Junior Member

Posts: 15
Threads: 7
Joined: Oct 2005
#3
2007-03-01, 04:39 PM
ok so is it possible to get GB-PVR to call FFMPEG twice?

for 2 pass encoding you need to call FFMPEG once to make the log file
Quote:cmd="-i {SOURCE_FILE} -deinterlace -vcodec mpeg4 -g 240 -qscale 2 -s 640x360 -passlogfile fftmp.log -pass 1 -mbd 2 -vtag xvid -an -y -f avi NUL"

and then once again to use the log file to create the .avi file. So the second command line would be
Quote: cmd="-i {SOURCE_FILE} -deinterlace -vcodec mpeg4 -g 240 -b 1200k -s 640x360 -passlogfile fftmp.log -pass 2 -acodec mp3 -ab 128 -ac 2 -mbd 2 -vtag xvid -qmin 2 -async 1 -y -f avi {DEST_FILE}" targetExtension=".avi"

Is it possible for GB-PVR to call FFMPEG twice?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2007-03-01, 04:47 PM
Quote:ok so is it possible to get GB-PVR to call FFMPEG twice?
No, that'd be your next problem.

You might be able to rig something up with the PostProcessing.bat file that is automatically run at the end of a transcode. You could try calling the second pass in there.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#5
2007-03-01, 06:19 PM
http://gbpvr.com/pmwiki/pmwiki.php/Utili...anscodeCut use that in postprocessing.bat
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2007-03-01, 11:11 PM
or make a batch file to do both things as one command from gbpvr..Smile
you can insert the batch with: exe="file.bat" before your command line..
like:
Code:
<Conversion name="XviD" exe="test.bat" cmd="-y -i {SOURCE_FILE}  {DEST_FILE} etc. etc.... />
and put in the batch file the params you want...

just remember the current dir will be gbpvr\ but the batch file must reside in gbpvr\third party\
so it's like running gbpvr\third party\file.bat from gbpvr\
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Automatic Transcoding Not Working taz 3 2,295 2010-11-22, 09:01 AM
Last Post: goelectric
  Transcoding dvr-ms to DivX and recording to Mpeg2 Boworr 23 11,041 2010-02-04, 07:54 AM
Last Post: LeCoux
  Problem playing xvid in FSE Clanky 3 2,002 2009-12-17, 03:01 PM
Last Post: Clanky
  no transcoding in gb-pvr 1.4.7 alevideotestservice 6 2,844 2009-12-07, 11:15 PM
Last Post: alevideotestservice
  Transcode Xvid profile aspect ratio Warwick 0 1,296 2009-10-07, 08:46 AM
Last Post: Warwick
  What has happened to the Manual Transcoding? Basher52 4 1,838 2009-09-21, 05:51 PM
Last Post: Basher52
  Some recordings created but not available after transcoding htewam 6 2,320 2009-09-18, 07:59 PM
Last Post: gEd
  Encoding .MPG Files To .AVI XviD Files Using HandBrake BTJustice 2 4,789 2009-07-08, 09:52 PM
Last Post: BTJustice
  Transcoding TS to AVI loses sound DrSoftware 2 2,087 2009-06-29, 08:28 PM
Last Post: serafis
  Hardware MPEG2 directly to Xvid clubrulz 0 1,244 2009-06-22, 06:17 PM
Last Post: clubrulz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode