Another way to do this is to revert back to the original device profile ("Samsung HTS", I assume) and then just change the MP4 container to be like this (basically adding the constraint of stereo AAC):
Code:
<avcontainer id="mov,mp4,m4a,3gp,3g2,mj2" name="h264aac" encode="0" mimetype="video/mp4" supportschunked="0">
<video>
<format id="h264" encode="0">
</format>
</video>
<video>
<format id="mpeg4" encode="0">
</format>
</video>
<audio>
<format id="aac" encode="0">
<channels>2</channels>
</format>
</audio>
<audio>
<format id="pcm_s16le" encode="0">
</format>
</audio>
</avcontainer>
This will go back to the default MKV h264/AC3 encoding that should produce good results.
Also, if you'd like to keep your transcoding, try changing "samequality" to 0 - this should reduce the file size.
I'd also recommend the following "ffmpegadditional" parameter:
Code:
<ffmpegadditional>-threads 4 -pix_fmt yuv420p -copyinkf -coder 1 -flags +loop -fflags +genpts -cmp +chroma -me_method hex -subq 7 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -directpred 1 -flags2 +fastpskip+bpyramid+mixed_refs-dct8x8+wpred+aud+ivlc+mbtree -partitions -parti8x8-parti4x4-partp8x8-partp4x4-partb8x8 -crf 22 -bf 1 -refs 2 -bidir_refine 1 -deblockalpha 0 -deblockbeta 0</ffmpegadditional>
Bookmarks