[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
51
Home Country
United States of America United States of America
Country flag
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

Similar threads

  • Sticky
Thank you, but it doesn't work for me. If I replace the ffmpeg.exe in C:\Program Files (x86)\MPExtended\Service\Streaming with a new 32bit build, I need to remove the -coder rle option, otherwise transcoding doesn't work. But h264_qsv still doesn't work at all. But as said it even doesn't work as standalone (called ffmpeg from command...
Thank you, but it doesn't work for me. If I replace the ffmpeg.exe in C:\Program Files (x86)\MPExtended\Service\Streaming with a...
Hi, I like to share some info regards tuning of the MExtended. The profiles are stored in...
Replies
7
Views
3K
Yep then we have the exact same issue.... Anyone here who has a clue what to do???
Yep then we have the exact same issue.... Anyone here who has a clue what to do???
Hi! I installed MPExtended 0.6.0-beta and WebMediaPortal 0.6.0-beta and everything works almost perfect. But i have problem when i...
Replies
2
Views
2K
Hi, I'm sorry to hear that. I thought it is working now. Have the same problems again. :( Is there nobody who can help us?
Hi, I'm sorry to hear that. I thought it is working now. Have the same problems again. :( Is there nobody who can help us?
UPDATE 22.03.2013 ========= The App finally is availlable for Windows Phone 8...
Replies
86
Views
28K
I don't know the exact cause of your problem but I had a similar issue with my iPhone. Here's what I did - add a custom streaming profile for live tv. Go to "C:\ProgramData\MPExtended" and open "StreamingProfiles.xml" in a text editor. Add the following lines to the file. This should be inserted after the end of one of the other...
I don't know the exact cause of your problem but I had a similar issue with my iPhone. Here's what I did - add a custom streaming...
I can't get live TV working properly at any quality setting on our iPad 3 using MPExtended 0.5.4. I get a still frame and stop...
Replies
1
Views
2K
Bandwidth is merely an informational setting, nothing uses it currently.
Bandwidth is merely an informational setting, nothing uses it currently.
Hi I'm looking for a documentation about the settings of the streaming.xml file in MPExtended <name>Android FFmpeg HQ</name>...
Replies
1
Views
2K
Top Bottom