YouTube downloader with kotlin (applications) - windows

How can you make YouTube videos downloader for pc from kotlin

Related

Media Foundation external codec support

I have wrote a program using Media Foundation API that takes an AVI files and decodes it's video samples into uncompressed RGB frames.
Recently, I found an AVI file that contained both audio and video tracks, but the Windows Media Player was not playing the video track (audio was playing).
I tried to open the file with another player (Gom Player) and it suggested me to dowload additional codec pack: LEAD MJPG/MCMP Video Codec . After installing it the WMP started to decode and play video track. But after that I again was not able to decode the file using MF API.
My guess is that Media Foundation is limited to what Windows ships. Is that right?
Also, is a way to tell Media Foundation to decode using externally installed codec?
Media Foundation API offers extensibility however codecs acceptable by Media Foundation need to offer respective format: they should be available and registered as Media Foundation transforms. This is a rare case since Media Foundation is not popular overall and most of the downloadable codecs have DirectShow API interface, or Video For Windows API interface, but not the one for Media Foundation.
If you had a suitable codec, Media Foundation would have picked it up.
Windows Media Player attempts to play via Media Foundation or, in case of failure, falls back to DirectShow. This explains why downloadable codec fixes Windows Media Player but not Media Foundation.

play MPD file of mpeg-dash on android and IOS

I have used ffmpeg to create a MPD file for my video, and I could play and watch it on my pc using :http://dashplayer.azurewebsites.net/
now I want to make sure it works and plays appropriately on andoid and IOS, could anyone tell me how to test this file on android and IOS?
I'm not sure if you want web-based playback or native apps, so I'll try to cover both:
Android
On Android (depending on the version / browser) this should work fine.
Web
At least Chrome works, but also other browsers might. You will just need a web-player which supports DASH, e.g. Shaka Player, Bitmovin Player or dash.js.
Native apps
For native apps, you could use e.g. Google's ExoPlayer.
iOS
Assuming that you are using fragmented mp4 for your DASH content:
For iOS 10+ you could just create an HLS manifest and re-use the same segments as for DASH. For older iOS versions you will need to create MPEG-2 Transport Stream (.ts) segments plus the HLS manifest:
Web
For a web-based solution, there is currently no way to achieve MPEG-DASH playback on iOS as Safari on iOS does not provide the required JavaScript API, the Media Source Extensions (MSE).
Native apps
It could technically be possible to use MPEG-DASH, but Apple doesn't allow any other streaming format than HLS for content longer than 10 minutes, as stated in the App Store Review Guidelines:
2.5.7 Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 192 kbps HTTP Live stream.

RTMP library for Windows Phone

I am building a WP7 app to take photo and upload image to a third-party server using RTMP. Unfortunately, I couldn't find any sensible implementation of the RTMP client for Windows Phone 7.
I have downloaded WebOrb, but it seems like the WebOrb for WP7 library doesn't support RTMP. Furthermore, I cannot integrate the Silverlight dll to my WP7 app.
I also looked at the FluorineFX but it doesn't have a version for WP7 either.
Can you advise another library which would provide RTMP on WP7, or a way to make the above libraries working with WP7?
I don't know if WP7 can run "exe" files but if u can, try with VLC 2.00 "Twoflower" or the new release. The first one works great on PC with RTMP and others.

playing mp3 files in firefox

Can anyone suggest me webplayer which can play MP3 files in Firefox browser?
I tried jPlayer, however it needs ogg files. I tried converting MP3 to OGA using FFMPEG, however, even the generated file is not being played in JPlayer.
Is there any alternate player which can play MP3 files in Firefox.
I don't want to use Flash.
..alternate player which can play MP3 files in Firefox.
Combine these 3 for an answer.
Java Sound for the ability to play audio.
The MP3 plug-in SPI of JMF, to supply support for MP3, which Java Sound does not support by default.
Applet - to embed that ability in a web page.
Note
I am pretty sure there are easy ways to embed sound in web pages that does not require Java, or requires plug-ins that have higher usage (like Flash). If there is not something custom you wish to do, I recommend investigating alternatives.

Embed Windows media player in flex

I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player.
Else i will have to learn .Net, i guess.
Kindly help me out. Thanks in advance.
If you are creating an air app then you are able to start the windows-media-player using the NativeProcess. Anyway if you have a flex web app then you do not have any options on this. :(
My recommendation: Convert the video file to a valid mp4 file that can be played by flex. I suggest you to check ffmpeg library (and you could use it to convert the file to H264 format)

Resources