Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x264 for XBOX360
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Dec 12, 2013 2:04 pm    Post subject: x264 for XBOX360 Reply with quote

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
View user's profile Send private message
jaysonsantos
n00b
n00b


Joined: 21 Dec 2013
Posts: 4

PostPosted: Sat Dec 28, 2013 6:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Prothervents
n00b
n00b


Joined: 02 Jan 2014
Posts: 5

PostPosted: Thu Jan 02, 2014 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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