I have already integrated VLC player in my android app in Linux environment.But now the issue is when i try to play the YouTube link .It Unable to stream the YouTube URL and the concerned g-data ".3gp" URL.The error is mentioned below.
"http://www.youtube.com/watch?v=oq1gNicFkeM can not be played." in Toast.
Does anyone have any idea on the same?
I have found a temporary solution.I'm not an expert, but this did the trick for me:
Find a website which can download youtube video's (I suggest keepvid.com)
Paste the url of your youtube video into the designated bar and, although we are not downloading anything, hit the Download button.
Now the website gives you a list with different formats for you to choose from. RIGHT-click the one on top (mp4?) and copy the link's adress.
This link can be played in VLC Android and includes your youtube video.
VLC for Android does not support the lua plugins needed to parse the YT URL.
You need to parse the HTML layout yourself (and feed the resulting URL to VLC) or add support for lua plugins to VLC for Android to solve this issue.
Related
Is it somehow possible, you can load the movie trailers from imdb to videoView or the native android player.
so far, what i've tried.
Iframe approach which let me load trailer in webview, which is exactly i don't want.
Here i found a link which is something a direct link to stream.
I want this to play in video view or native android control.
thanks in advance.
The link you have above is not a direct link to the video - it is actually a link to a web page which contains an embedded player, which in turn has a link to the actual trailer video itself.
You can see the link the to the video if you use the network timeline tab in a browser inspector to look at the network requests. For your example above the client (the browser running the HTML5 page you have downloaded) is requesting the video m3u8 file with the following request:
http://imdb-video.media-imdb.com/vi1225109529/1421100405014-mxwp62-1434643350557.m3u8
This is the 'index' file for a HLS format video file - it tells the client where to request the video streams. The client then downloads the video chunk by chunk which you can see as requests for TS segments - e.g. for you example above:
http://imdb-video.media-imdb.com/vi1225109529/1421100405014-mxwp62-143464335055700002.ts
If the IMDB site does not protect or restrict the video in some way (for example only allowing it play from their embedded web page) then in theory Android should be able to play a HLS file if you point the Media Player towards the m3u8 file. In practice however Android has well know issues with HLS playback so you may find it problematic - see this summary: http://www.jwplayer.com/blog/the-pain-of-live-streaming-on-android/
Hi I'm finding a way to create a website link to stream my direct video link from my web server to my android phone
for example I have a video direct link like :
http://1.1.1.1/video.mkv
I would like to create a web page to have like a button when press and it's automatically call VLC and stream the link above.
What I've try is just use a normal hyperlink like
<a href='http://1.1.1.1/video.mkv'>Play video</a>
when I press it's just downloading the video instead of playing it
But When I try it on mp4 video
<a href='http://1.1.1.1/video.mp4'>Play video</a>
It can call my VLC and stream it
So then I try to insert the direct link of the MKV video file
direct to vlc by open VLC app and open network stream
then MKV can stream just fine
So how can I make a hyperlink to automatically call VCL to stream my MKV file without having to copy the link then open VLC and input directly to app itself everytime?
Someone Please Help
Thank You
*edit, see here:
How can I make URLs to music files play in VLC on iOS?
Here is another type of example which opens an app or links to appstore if the app is not installed.
http://support.mobileapptracking.com/entries/25539969-How-to-Deeplink-to-Your-Mobile-App-from-Your-Website
I would like to get from the link http://www.youtube.com/watch?v=GzmpH7eaA4k the direct link of the video, something like: http://www.youtube.com/(...).mp4
Is it possible? I have seen a lot of threads that use "www.youtube.com/get_video_info" and other ways but I think that all of them are obsolete right now.
How can I get the URL that I need?
There is a easy way to find youtube direct video link using VLC Media Player.
Open VLC -> Media -> Open Network Stream -> Network -> Enter the youtube link (e.g. http://www.youtube.com/watch?v=7FKEy_RWwQk).
Now open the playlist-> Right click on Video-> Information -> You will find the below part of the screen in location textbox.This is the direct link of the video.You can open it in browser or save it to your local system.
If you want the direct Link to download a Video you have to use the "stram_map" attribute with the specific itag(quality). A great example how you can get the download link is shown here: Get the download URL for YouTube video (Android/Java) you can directly play the video in your own player or you could use it to download the video to your device.
Well I would go nab the link myself for you but you have the video not available in my country, USA, just simply click the share tab under your video and use that link.
I believe that get_video_info is deprecated. Try in stead:
http://gdata.youtube.com/feeds/api/videos/GzmpH7eaA4k
Keep up to date with the youtube api here: https://developers.google.com/youtube/
i am creating an app for my website which contains lots of wmv video files.
and i want to be able to play them in my app.
i understand that android does not support wmv files so my question is:
is there any way for me to do this without to change all videos format in my site?
any modificatios to my videos via code (java - eclipse) or libraries, any loop holes?
I've been trying to create a site that has streaming video and I could never get Android devices to work with it. Then I found this...
http://www.longtailvideo.com/blog/31646/the-pain-of-live-streaming-on-android
I want to display my FLV video in emulator. Anybody who have already work on this?
Basically I need to play video from particular URL and assets folder. So just help on this topic.
You can play a FLV video using the flash plugin inside a WebView. See here.
Hope this will help you.
Edit:
These are done using Action Scripts.
Call the Action Script
Play flv using Action Script
flv programming
Also this
There is a workaround which will also allow you to play from a local asset resource, please read my answer to this similar question for a full solution:
Problem to load flv video in webview
I used flv.js in the webpage to make the html support flv video file without flash. Then use XWalkView something like webview in android studio to load the webpage. Use WWalkView..