Jump to content

Intel Quick Sync ffmpeg


Wladimir Getze

Recommended Posts

Hallo zusammen,

 

Ich bin seit heute glücklicher DVBViewer und DMS User.

Alles hat auf Anhieb funktioniert.

 

Bei einem Punkt habe ich aber noch Probleme:

Ich würde gerne unterwegs über das DMS Webinterface auf meinem Handy streamen.

Damit meine CPU das mit macht, muss ich Quick Sync nutzen.

 

Könnt ihr mir sagen, wie ich das in der ffmpegprefs.ini einstelle?

 

Vielen Dank,

Wlad

Link to comment

Hi ... ich habe es mit diesen Settings hinbekommen:

 

[Flash HD 3600 kbit (QSV)]
Cmd=-analyzeduration 1500k -threads {threads} {offset} {realtime} -i "{infile}" -f flv -vcodec h264_qsv -bufsize 6400k -maxrate 3200k -look_ahead 0 -q 24 -g 50 -map 0:a:0 -map 0:v:0 -preset {vpreset} -tune film -vprofile high -level 31 -acodec aac -ab 128k -ar 44100 -ac 2 -async 1 -y "{outfile}"
maxWidth=1280
maxHeight=720
MimeType=video/x-flv
Ext=.flv

Link to comment

lösung gefunden:

 

[HD]
Cmd=-analyzeduration {analyzeduration} {offset} -i "{infile}" -f mpegts -vcodec h264_qsv -force_key_frames "expr:gte(t,n_forced*{segdur})" -bufsize 6400k -maxrate 3200k -look_ahead 0 -q 24 -map 0:a:0 -map 0:v:0 -preset {vpreset} -tune film -vprofile high -level 41 -acodec aac -ab 128k -ar 44100 -ac 2 -async 1 -y "{outfile}"
maxWidth_IPhone=1280
maxHeight_IPhone=720
maxWidth_IPad=1280
maxHeight_IPad=720

 

[SD]
Cmd=-analyzeduration {analyzeduration} {offset} -i "{infile}" -f mpegts -vcodec h264_qsv -force_key_frames "expr:gte(t,n_forced*{segdur})" -bufsize 1400k -maxrate 600k -look_ahead 0 -q 28 -map 0:a:0 -map 0:v:0 -preset {vpreset} -tune film -vprofile high -level 41 -acodec aac -ab 48k -ar 44100 -ac 1 -async 1 -y "{outfile}"
maxWidth_IPhone=512
maxHeight_IPhone=288
maxWidth_IPad=512
maxHeight_IPad=288

  • Thanks 1
Link to comment
  • 4 months later...
On 5/5/2019 at 10:43 PM, Wladimir Getze said:

lösung gefunden:

 

[HD]
Cmd=-analyzeduration {analyzeduration} {offset} -i "{infile}" -f mpegts -vcodec h264_qsv -force_key_frames "expr:gte(t,n_forced*{segdur})" -bufsize 6400k -maxrate 3200k -look_ahead 0 -q 24 -map 0:a:0 -map 0:v:0 -preset {vpreset} -tune film -vprofile high -level 41 -acodec aac -ab 128k -ar 44100 -ac 2 -async 1 -y "{outfile}"
maxWidth_IPhone=1280
maxHeight_IPhone=720
maxWidth_IPad=1280
maxHeight_IPad=720

 

[SD]
Cmd=-analyzeduration {analyzeduration} {offset} -i "{infile}" -f mpegts -vcodec h264_qsv -force_key_frames "expr:gte(t,n_forced*{segdur})" -bufsize 1400k -maxrate 600k -look_ahead 0 -q 28 -map 0:a:0 -map 0:v:0 -preset {vpreset} -tune film -vprofile high -level 41 -acodec aac -ab 48k -ar 44100 -ac 1 -async 1 -y "{outfile}"
maxWidth_IPhone=512
maxHeight_IPhone=288
maxWidth_IPad=512
maxHeight_IPad=288

 

Danke für die Einstellungen!

Das behebt mein Problem.

Genial: Mit der original-ini von DVBViewer (bzw. RS) habe ich 100% CPU Auslastung. Mit dieser hier sind es nur noch ca. 30% ?

DVBViewer Version: 6.1.2.0

DVB Media Server (vormals RS) Version: 2.1.2.0

CPU: J3455 - Encoding für Iphone läuft nun absolut flüssig, auch wenn am htpc gleichzeitig Live TV (über Kodi) läuft (und Chrome, um auf den Post zu antworten). Keine Pixel, Bild & Ton ungestört.

Mit Kodi alleine ist die CPU Last ca. 15-20% (ohne Transcoding). also ca. 10% mehr für live-Transcoding von HD Sendern auf das Iphone ?

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...