I am building a small WPF application for live streaming , from server I am getting the HLS link or M3U8. I have gone through the example mentioned in this link Parse M3U8 playlist
Somehow I got the parse link but unable to get the proper solution for playing these type of media links
Anyone can help with this. I want to show this to UI part
Till now I have tried with WebMediaToolkit
Related
A couple of days ago, I started learning Autodesk Forge using their tutorial, and it worked just fine till show on viewer step.
Today, when I run my app, the browser opens, however, I can not upload or translate an object(file) in the bucket.
the picture simply shows the buckets I've created and the uploaded files. Only .rfa and cannot even translate them
Please check this simple recording for my issue, the video simply shows that I cannot upload the .rvt file
Please note that RFA files cannot be translated. The list of file formats that can be processed by the Forge Model Derivative service can be found here: https://forge.autodesk.com/en/docs/model-derivative/v2/developers_guide/supported-translations/.
I had this similar issue where I was able to upload files to the OSS, however was unable to translate in order for the models to be viewable in the viewer. My solution was to use an active Autodesk Forge account as I found out that my free trial had expired.
I have a video file at my Server and the path to which resembles like "10.151.98.82/Medias/New/Videos/001.dat".
(Actually a video file but the extension is in .dat)
I have already built a WPF application which allows my users to enter the above Server URL and then let them to download it and then play it.
But my guess is that they need not wait till the entire file gets downloaded; just watch the files on the fly.
I have googled on video streaming but could not get a solid material to proceed on with.
[Sorry, if the question is naive or needs modification, i will be happy to do that or move to a relevant forum.]
Any pointers on how to do this is much appreciated.
Edit: This question talks about WCF service and WPF application. But, I dont' use a WCF Service. The video file has to be streamed from the server.
First try to play your file using VLC Player. it also have many advance streaming and Trans-coding Options. you can play, save and trans code simultaneously. Once you are able to Play your file in VLC Player than i would recommend to use VlcDotNet for wpf application. Tutorial for hosting VlcDotNet is available in downloads
My final project in Fundamentals of Programming requires a video component and we haven't gotten to inserting a video yet. I found instructions for embedding Windows Media Player, but I'm having no luck playing files with it. I've tried compressing files into low bitrate WMV, and it complains about the file extension not matching (files play fine externally) and using a youtube link, which gives me no error, but the player says it's loading the media, then just stops and does nothing.
My current activation code is:
axWindowsMediaPlayer1.URL = txtVariable.Text;
axWindowsMediaPlayer1.Ctlcontrols.play();
And I'm setting up the video to be played as
txtVariable.Text = #"http://www.youtube.com/watch?v=aHjpOzsQ9YI";
Does anyone have any clues on what's going wrong?
It is not possible to play a youtube video because the URL does not refer to the "actual" video. This URL redirects you to a web page that contains the video. The URL should refer only to a video for example, "webpage.com\Videos\video.mp4".
I really need to be able to play an M3U or PLS file from C#. I'm trying to play these files because I am creating an Internet radio application and many Internet Radio Stations provide you these type of files to be opened using iTunes, Winamp and so on. So how can I achieve this? I just want to play, pause and resume. Nothing more.
Thanks in advance.
P.S. I also have tried NAudio but it seems it doesn't work.
The stream in the M3U file you link to is ShoutCast, which the NAudio Demo in its current form cannot play. However, someone did recently send me some code showing how to play ShoutCast audio in NAudio. I haven't had a chance to test it myself, but here's a link to the updated NAudioDemo file.
I was hoping someone could help point me in the right direction and/or provide a sample for me to look at. I need to get the WM/Picture field inside a WMA file that I decode using WM Encoder and C#. I have been able to get all the other tags fine, but media.getAttributeCountByType("WM/Picture", "") function always return 0. But Windows Media Player can display the picture correctly and I saw two hidden JPG files under the same music folder. MSDN don't provide much information about it. Thanks.
program chat voice with c#