Differences between revisions 2 and 3
Revision 2 as of 2010-09-30 12:25:57
Size: 1159
Editor: csr
Comment:
Revision 3 as of 2010-09-30 12:26:11
Size: 1161
Editor: csr
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
To speed up HandBrakeCLI one can pass additional x264 options: {{{-x subq=1:nob_adapt:bframes=1:threads=auto:keyint=1000}. This seems to give about a 50% total speedup compared with default values. To speed up HandBrakeCLI one can pass additional x264 options: {{{-x subq=1:nob_adapt:bframes=1:threads=auto:keyint=1000}}}. This seems to give about a 50% total speedup compared with default values.

The following recipe works for mux2:

dd if=mux2.ts bs=1024 skip=488281 | vlc - --program 2000 --demux=ts --intf dummy --play-and-exit --noaudio --novideo --sout '#std{access=file,mux=ts,dst=foobar_first.ts}'
vlc mux2.ts --program 2000 --demux=ts --intf dummy --play-and-exit --sout-file-append --noaudio --novideo --sout '#std{access=file,mux=ts,dst=foobar_first.ts}'
dd if=mux2.ts bs=1024 count=488281 | vlc - --program 2000 --demux=ts --intf dummy --play-and-exit --sout-file-append --noaudio --novideo --sout '#std{access=file,mux=ts,dst=foobar_first.ts}'
HandBrakeCLI -i foobar_first.ts -r 24 -e x264 -E faac --crop 0:0:0:0 --height 240 --vb 400 --optimize -o foobar.mp4

Note that it uses vlc as a demuxer and HandBrake as a transcoder. The bitrate (-r 24) video codec (-e x264) and audio codec (-E faac) are all necessary for successful streaming in Wowza. The test was with vlc 1.1.2 and HandBrakeCLI version svn3510 on Ubuntu Linux.

To speed up HandBrakeCLI one can pass additional x264 options: -x subq=1:nob_adapt:bframes=1:threads=auto:keyint=1000. This seems to give about a 50% total speedup compared with default values.

ClipAndGlue (last edited 2010-11-01 11:37:20 by csr)