[MPlayer-users] mencoder and HD videos on multimedia player
Krzysztof Duchnowski
amidk75 at gmail.com
Tue Apr 24 11:43:58 CEST 2012
On 24.04.2012 09:40, Mathieu Westphal wrote:
> Hello
>
> I try again, i'm afraid so first one didn't pass as a new thread here.
>
> I have a multimedia server provided by my isp ( Free , i'm French ),
> wich has the capability to play movie on my television.
>
> But this player cannot read chinese subtitles. So the current solution I
> use is to rencode hard-coded sub movie (using mencoder) wich can be used
> without any
> problem on the "freebox" .
>
> Anyway, if it work well with standard movies and dvd, it do not work
> with HD movie. I've tried lot of different video codec for the
> reencoding, and some of them work well with mplayer, but non seems to
> work on the player.
>
> However the ORIGINAL video play just FINE, without any problem.
>
> So is there a "standard" way to encode high res movie with mencoder?
> How to identify the codec of the original video so i can use exactly the
> same encoding?
> Why my freebox cannot play HD video encoded with mencoder?
>
>
> Anyway here are the information about the "freebox" :
> http://www.freeplayer.org/viewtopic.php?p=65255#65255
>
> Here are the information about the original file :
>
> >mediainfo Game.of.Thrones.S02E02.720p.HDTV.x264-IMMERSE.mkv
> General
> Complete name : video .mkv
> Format : Matroska
> File size : 1.29 GiB
> Duration : 54mn 57s
> Overall bit rate : 3 352 Kbps
> Writing application : x264.exe
> Writing library : mkv2rls x264-tv version built on
> 2011. febr. 17
>
> Video
> ID : 1
> Format : AVC
> Format/Info : Advanced Video Codec
> Format profile : High at L4.1
> Format settings, CABAC : Yes
> Format settings, ReFrames : 5 frames
> Codec ID : V_MPEG4/ISO/AVC
> Duration : 54mn 57s
> Bit rate : 2 901 Kbps
> Width : 1 280 pixels
> Height : 720 pixels
> Display aspect ratio : 16:9
> Frame rate : 23.976 fps
> Color space : YUV
> Chroma subsampling : 4:2:0
> Bit depth : 8 bits
> Scan type : Progressive
> Bits/(Pixel*Frame) : 0.131
> Stream size : 1.11 GiB (87%)
> Writing library : x264 core 122 r2184 5c85e0a
> Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 /
> analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 /
> mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 /
> deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 /
> sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 /
> constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 /
> direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 /
> keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf
> / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 /
> ip_ratio=1.40 / aq=1:1.00
> Language : English
>
> Audio
> ID : 2
> Format : AC-3
> Format/Info : Audio Coding 3
> Mode extension : CM (complete main)
> Codec ID : A_AC3
> Duration : 54mn 57s
> Bit rate mode : Constant
> Bit rate : 384 Kbps
> Channel(s) : 2 channels
> Channel positions : Front: L R
> Sampling rate : 48.0 KHz
> Bit depth : 16 bits
> Compression mode : Lossy
> Stream size : 151 MiB (11%)
> Language : English
Try this:
$~: mkfifo /tmp/mplayer.fifo
$~: mplayer -noconfig all -correct-pts -benchmark -nosound -ass -vo
yuv4mpeg:file=/tmp/mplayer.fifo input.mkv & x264 --profile high --preset
slow --tune film --ref 5 --mixed-refs --bframes 3 --b-pyramid strict
--direct auto --filter -1:-1 --trellis 2 --partitions all --8x8dct
--vbv-bufsize 50000 --vbv-maxrate 20000 --me umh --keyint 300
--min-keyint 15 --crf 18 --sar 1:1 --threads 3 --level 4.1 -o output.mp4
$~: mkvmerge -o output.mkv output.mp4 input.mkv -D -S
--
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.getfirefox.net/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/
More information about the MPlayer-users
mailing list