It looks like Media server for instance, is using GStreamer for its encoding needs.
This is the command line it executes when playing a movie:
- Code:
/var/packages/MediaServer/target/bin/gst-launch-1.0 -f -s 0 filesrc location=/volume1/video/myvideo.mp4 ! qtdemux name=demux ! queue ! stvideo ! sth264encode profile=4 level=11 bitrate=8000000 ! video/x-264,width=1920,height=1080 ! queue max-size-time=0 max-size-buffers=0 max-size-bytes=0 ! mpegtsmux shift-pts=0 name=mux ! queue ! fdsink fd=4 demux.audio_0 ! queue ! aacparse ! avdec_aac ! audioconvert ! audio/x-raw,channels=2 ! lamemp3enc target=bitrate cbr=true ! mpegaudioparse ! queue max-size-time=0 max-size-buffers=0 max-size-bytes=0 ! mux
Note the
stvideo and
sth264encode options.
Everything else, uses ffmpeg 2.7.1 without hardware acceleration for the STiH410