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 … 162 163 164 165 166 … 1231 Next »
H.264 Encoding

 
  • 0 Vote(s) - 0 Average
H.264 Encoding
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#1
2009-02-27, 12:44 AM (This post was last modified: 2009-02-27, 02:54 PM by BTJustice.)
I am trying to encode recorded shows into H.264 files. In my config.xml file, I am trying this code...

Code:
<Conversion name="H.264" cmd="-y -i {SOURCE_FILE} -ab 128k -ac 2 -acodec mp3 -ar 44100 -b 1000k -bf 3 -b_strategy 1 -cmp +chroma -coder 1 -crf 22 -deinterlace -f mp4 -g 250 -i_qfactor 0.71 -keyint_min 25 -me full -me_range 16 -partitions +parti4x4+partp8x8+partb8x8 -qmin 10 -qmax 51 -qdiff 4 -refs 5 -sc_threshold 40 -subq 5 -threads 2 -vcodec h264 -vtag H264 {DEST_FILE}" targetExtension=".mp4" />

Are there any errors in it or ways to improve it more?

My goals are to have a small file size with great video quality. XviD and DivX leave blocks in videos and WMV has color shifts in it especially on skin tones.

This looks very promising...

http://flowplayer.org/forum/7/12671
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#2
2009-02-28, 09:46 AM
Well it appears the above code doesn't work... SHIT!
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#3
2009-03-03, 02:14 PM
Does anyone here encode using H.264 and would share how they have config.xml set up to do it?
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#4
2009-03-04, 12:28 PM
I don't think it's a good idea to do this via config.xml, why don't you do it in the post-processing (like most others do)? Zehd's qued postprocessing works excellent, and you can set it to run at an idle time of night...

"I'd rather have a bottle in front of me than a frontal lobotomy"
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#5
2009-03-04, 12:43 PM
It seems like the encoded H.264 files are not much smaller than the original .mpg file Sad
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#6
2009-03-04, 02:12 PM
That's strange, a 45 min recording on my pc is about 1.8 gig in .mpg format, and converted to h264 .avi it takes about 350-440k. Did you try the command line I posted to you?

"I'd rather have a bottle in front of me than a frontal lobotomy"
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#7
2009-03-04, 02:13 PM
Repost it here please.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#8
2009-03-04, 02:20 PM
ffmpeg -i "%1" -threads 2 -s 768x576 -pass 2 -vcodec h264 -b 1200k -flags +loop -cmp +chroma -partitions +parti8x8+parti4x4+partp8x8+partp4x4+partb8x8 -me umh -subq 7 -trellis 1 -refs 6 -bf 16 -directpred 3 -b_strategy 1 -bidir_refine 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 142282 -rc_eq "blurCplx^(1-qComp)" -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -acodec mp3 -ar 44100 -ab 128k -y %2%

"I'd rather have a bottle in front of me than a frontal lobotomy"
BTJustice
Offline

Senior Member

Posts: 381
Threads: 61
Joined: Mar 2008
#9
2009-03-04, 02:28 PM
Thanks. I will try it some time.
elmede
Offline

Junior Member

Posts: 11
Threads: 4
Joined: Feb 2009
#10
2009-03-05, 01:04 AM
Hi there!!

Must had missed your post..

Anyway, I've posted my configuration of kinda working H.264 transcoding.

Find it here:

http://forums.nextpvr.com/showthread.php?t=41239

El Mede
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  XMLTV import with UTF encoding fails (also valid for NPVR) miniGranis 4 2,359 2011-01-29, 08:16 PM
Last Post: miniGranis
  Resolution Issues when re-encoding captured video bgrieb 5 2,989 2010-11-02, 03:52 AM
Last Post: mvallevand
  Hauppauge WinTV-HVR-2250 encoding at 720x480 DragonM15 5 2,328 2009-11-13, 10:40 PM
Last Post: sub
  Analog card with hardware encoding? Cydewinder 6 2,764 2009-10-30, 04:44 PM
Last Post: OrakelJos
  built in encoding que tvshowman 2 1,520 2009-10-06, 06:28 AM
Last Post: tvshowman
  Encoding .MPG Files To .AVI XviD Files Using HandBrake BTJustice 2 4,789 2009-07-08, 09:52 PM
Last Post: BTJustice
  H.264 encoding elmede 7 2,949 2009-04-02, 11:04 PM
Last Post: pBS
  USB capture device with hardware encoding TomR 8 2,529 2009-01-16, 04:51 PM
Last Post: Carlito
  Post Processing/Encoding Not Working BTJustice 44 9,228 2008-12-07, 09:25 PM
Last Post: BTJustice
  2250 SVideo2 Audio and Encoding Bitrate elbowlaker 0 1,140 2008-11-16, 08:09 PM
Last Post: elbowlaker

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

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

Linear Mode
Threaded Mode