- October 29, 2005
- 5,335
- 4,954
- Home Country
- Hungary
Hi,
I like to share some info regards tuning of the MExtended.
The profiles are stored in c:\ProgramData\MPExtended\StreamingProfiles.xml
This is a ffmpeg profile from StreamingProfiles.xml
<TranscoderProfile>
<Name>Android FFmpeg HD</Name>
<Description>HD-quality Android profile based on ffmpeg</Description>
<Bandwidth>2280</Bandwidth>
<Targets>
<Target>android</Target>
</Targets>
<Transport>http</Transport>
<MaxOutputWidth>1280</MaxOutputWidth>
<MaxOutputHeight>720</MaxOutputHeight>
<MIME>video/MP2T</MIME>
<HasVideoStream>true</HasVideoStream>
<Transcoder>MPExtended.Services.StreamingService.Transcoders.FFMpeg</Transcoder>
<TranscoderParameters>
<codecParameters>-codec:v libx264 -b:v 1768k -profile:v baseline -preset:v faster -coder rle -codec:a aac -b:a 512k -ac 2 -strict experimental -async 1 -sn -f mpegts</codecParameters>
</TranscoderParameters>
</TranscoderProfile>
Here is my HD profile:
<codecParameters>-codec:v libx264 -b:v 3096k -profile:v baseline -preset:v superfast -coder rle -codec:a copy -strict experimental -vf yadif -async 1 -sn -f mpegts</codecParameters>
And my SD profile:
<codecParameters>-codec:v libx264 -b:v 2048k -profile:v baseline -preset:v superfast -coder rle -codec:a copy -strict experimental -vf yadif -async 1 -sn -f mpegts</codecParameters>
Do not forget to save the original StreamingProfiles.xml, before you edit it!
thx,
regeszter
I like to share some info regards tuning of the MExtended.
The profiles are stored in c:\ProgramData\MPExtended\StreamingProfiles.xml
This is a ffmpeg profile from StreamingProfiles.xml
<TranscoderProfile>
<Name>Android FFmpeg HD</Name>
<Description>HD-quality Android profile based on ffmpeg</Description>
<Bandwidth>2280</Bandwidth>
<Targets>
<Target>android</Target>
</Targets>
<Transport>http</Transport>
<MaxOutputWidth>1280</MaxOutputWidth>
<MaxOutputHeight>720</MaxOutputHeight>
<MIME>video/MP2T</MIME>
<HasVideoStream>true</HasVideoStream>
<Transcoder>MPExtended.Services.StreamingService.Transcoders.FFMpeg</Transcoder>
<TranscoderParameters>
<codecParameters>-codec:v libx264 -b:v 1768k -profile:v baseline -preset:v faster -coder rle -codec:a aac -b:a 512k -ac 2 -strict experimental -async 1 -sn -f mpegts</codecParameters>
</TranscoderParameters>
</TranscoderProfile>
- Changing of the 1768k to a higher value will cause better video quality but needs more network bandwidth.
- Enable the deinterlacing on server side add -vf yadif. It will cause higher CPU usage but needs for MPTvScheduler internal player.
- For skipping audio reencoding change aac -b:a 512k -ac 2 with copy. It will cause lower CPU usage.
- For decrease CPU usage change faster with veryfast or superfast. It will cause lower CPU usage but causes lower video quality.
Here is my HD profile:
<codecParameters>-codec:v libx264 -b:v 3096k -profile:v baseline -preset:v superfast -coder rle -codec:a copy -strict experimental -vf yadif -async 1 -sn -f mpegts</codecParameters>
And my SD profile:
<codecParameters>-codec:v libx264 -b:v 2048k -profile:v baseline -preset:v superfast -coder rle -codec:a copy -strict experimental -vf yadif -async 1 -sn -f mpegts</codecParameters>
Do not forget to save the original StreamingProfiles.xml, before you edit it!
thx,
regeszter