View previous topic :: View next topic |
Author |
Message |
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Dec 12, 2013 2:04 pm Post subject: x264 for XBOX360 |
|
|
Well, i suppose it won't help many as xbox one is out now.
But for those (like me) that stream with ushare or other server that cannot reencode to a format XBOX360 can read, here's the HQ settings to allow streaming x264 compliant mp4 usable by the XBOX360 (something i have fail with all my attempts with mencoder)
The purpose is to have smaller size vs other format while keeping quality at max, or high quality (with a little restriction) video stream.
You need ffmpeg build with aac and x264 use flag.
And that file for the xbox360 preset.
Code: | #######
# File created by TheDave @ hellalame.com:
# http://hellalame.com/how-to-convert-h264-hdavc-mts-m2ts-video-for-the-xbox-360-using-linux
#######
coder=1
flags=+loop
cmp=+chroma
partitions=+parti8x8+parti4x4+partp8x8+partb8x8
subq=5
me_range=16
g=250
keyint_min=25
sc_threshold=40
i_qfactor=0.71
rc_eq=blurCplx^(1-qComp)
qcomp=0.6
qmin=10
qmax=51
qdiff=4
bf=3
refs=4
trellis=1
|
Name it libx264-xbox360.ffpreset and move it to /usr/share/ffmpeg
Everything is now easy :
Code: | ffmpeg -i inputfilenameofanytypesupportbyffmpeg -acodec libfaac -vcodec libx264 -vpre xbox360 outputfile.mp4 |
I use it as (because of my aim i have limit rate to dvd like rating, but force a minimal limit to 1000k), this generally keep a good balance of size<>quality
Code: | ffmpeg -i inputfilenameofanytypesupportbyffmpeg -acodec libfaac -vcodec libx264 -vpre xbox360 -minrate 1000k -maxrate 8000k -bufsize 1835k outputfile.mp4 |
|
|
Back to top |
|
|
jaysonsantos n00b
Joined: 21 Dec 2013 Posts: 4
|
Posted: Sat Dec 28, 2013 6:14 pm Post subject: |
|
|
I like to use ps3 media server, it works even with subtitles.
It uses mencoder, you can get its parameters to work with ushare. |
|
Back to top |
|
|
Prothervents n00b
Joined: 02 Jan 2014 Posts: 5
|
Posted: Thu Jan 02, 2014 5:36 pm Post subject: |
|
|
It doesn't support the mkv container though making it goddamn useless to me. _________________ The real problem is not whether machines think but whether men do. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|