[Question] Update to VLC 2.1.x (1 Viewer)

Jelmo

Portal Pro
September 8, 2007
711
55
Home Country
Germany Germany
Hi Guys,

I had some time to play with MPExtended again and have now a problem which i´m unable to fix.

What is working - Direct Streaming / TV - iOS Streaming WLAN/WAN
What is not working ( perfectly ) - streaming of Files ( most times MKV ). If have added --sout-transcode-fps=25 and that helped a lot, but the usage of VLC 2.0.2 seems to be not perfect. I can see tearing and blockings. So for me it is not usable.

I started to download the latest vlc binary ( 2.1.1 and 2.1.2 in that case ) and copied the 4 relevant MPExtended files into the folders. Edited the Streaming profiles to use 2.1.1 or 2.1.2 ..... and nothing happend. Google and Fire " CHANGE --sout-ffmpeg-strict=-2 to --sout-avcodec-strict=-2 " .... and wooooooaaa all the previos "bad" files are now working as expected. Its fluid, no tearing and so smooth to watch on my iPad. I though i´m done - but now Streaming TV which was working with 2.0.2 is now broken and crashes MPExtended completely.

I have inserted my both profiles. The normal for TV and the V2 Version for Files.

But for me it would be perfect if TV also would work with 2.1.x

Maybe somebody can check to code or can compile the 4 needed files ( located in the vlc folder ) to work with 2.1.x - if this is the problem ? Maybe there are other changes in VLC with requires other tweaks in that profile ?

Code:
    <TranscoderProfile>
      <Name>iOS_WIFI_HD_4540</Name>
      <Description>HD-quality HTTP Live Streaming profile</Description>
      <Bandwidth>2024</Bandwidth>
      <Targets>
        <Target>android</Target>
        <Target>ios</Target>
        <Target>mobile-hls-video</Target>
      </Targets>
      <Transport>httplive</Transport>>
      <MIME>video/MP2T</MIME>
      <HasVideoStream>true</HasVideoStream>
      <MaxOutputWidth>1280</MaxOutputWidth>
      <MaxOutputHeight>720</MaxOutputHeight>

      <Transcoder>MPExtended.Services.StreamingService.Transcoders.VLCWrapperHTTPLiveStreaming</Transcoder>
      <TranscoderParameters>
        <path>%mpextended-streaming%\vlc-2.0.2\MPExtended.Libraries.VLCWrapper.exe</path>
        <options>--ffmpeg-hw --sout-ffmpeg-strict=-2</options>
        <tsOptions>--sout-mux-caching=5000 --sout-transcode-fps=25</tsOptions>
        <encoder>vcodec=h264,vb=4500,venc=x264{keyint=75,bframes=0,profile=main,preset=faster},deinterlace=-1,acodec=mp4a,ab=64,channels=2,samplerate=48000,audio-sync</encoder>
        <muxer>ts{use-key-frames}</muxer>
        <httpLiveOptions>seglen=7,delsegs=false,numsegs=0</httpLiveOptions>
        <httpLiveKeepOld>5</httpLiveKeepOld>
      </TranscoderParameters>
    </TranscoderProfile>


    <TranscoderProfile>
      <Name>iOS_WIFI_HD_4540_V2</Name>
      <Description>HD-quality HTTP Live Streaming profile</Description>
      <Bandwidth>2024</Bandwidth>
      <Targets>
        <Target>android</Target>
        <Target>ios</Target>
        <Target>mobile-hls-video</Target>
      </Targets>
      <Transport>httplive</Transport>>
      <MIME>video/MP2T</MIME>
      <HasVideoStream>true</HasVideoStream>
      <MaxOutputWidth>1280</MaxOutputWidth>
      <MaxOutputHeight>720</MaxOutputHeight>

      <Transcoder>MPExtended.Services.StreamingService.Transcoders.VLCWrapperHTTPLiveStreaming</Transcoder>
      <TranscoderParameters>
        <path>%mpextended-streaming%\vlc-2.1.2\MPExtended.Libraries.VLCWrapper.exe</path>
        <options>--ffmpeg-hw --sout-avcodec-strict=-2</options>
        <tsOptions>--sout-mux-caching=5000 --sout-transcode-fps=25</tsOptions>
        <encoder>vcodec=h264,vb=4500,venc=x264{keyint=75,bframes=0,profile=main,preset=faster},deinterlace=-1,acodec=mp4a,ab=64,channels=2,samplerate=48000,audio-sync</encoder>
        <muxer>ts{use-key-frames}</muxer>
        <httpLiveOptions>seglen=7,delsegs=false,numsegs=0</httpLiveOptions>
        <httpLiveKeepOld>5</httpLiveKeepOld>
      </TranscoderParameters>
    </TranscoderProfile>
 

Jelmo

Portal Pro
September 8, 2007
711
55
Home Country
Germany Germany
So TV and File streaming looks o.k. until VLC 2.0.8. Version 2.0.9 is not available and 2.1.0 does not work - even not with --sout-avcodec-strict=-2.
So File streaming is working with the releases newer than 2.1.0, but TV streaming not. So would be great if somebody could check if we need a recomplie of MPExtended.Libraries.VLCManaged.dll / MPExtended.Libraries.VLCManaged.pdb / MPExtended.Libraries.VLCWrapper.exe and MPExtended.Libraries.VLCWrapper.pdb
 

Anu

Portal Pro
July 1, 2016
82
35
54
Home Country
United States of America United States of America
In case you were wondering. If you swap out the binaries with vlc 3 it works fine and actually has much better performance. Vlc 3 resolves a lot of lag and audio synch issues when streaming. The only issue I have encountered is it seems to include the scene descriptions from the ATSC stream in the audio. I assume I can change the vlc direct profile arguments to turn that off

Actually the win 32 binary from here seems to be a drop in replacement with just as good performance
Index of /vlc/2.2.8/win32/
 
Last edited:

Users who are viewing this thread

Top Bottom