existing swf mp4 player? [closed] - actionscript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a mp4 file put in my website, say http://example.com/a.mp4, I want a swf player that can be embedded into my html, and play the mp4 file. I don't know how to write actionscript so I just want to have an existing swf file.
Requirement: small, fancy, full function, ad free.
Thanks.

I was recently looking for a simple, robust, usable, non-branded swf video player to use as a flash fallback when using the HTML5 <video> element, and I found the Strobe Media Playback player from Adobe. It fills all those requirements, and is fairly feature-rich. The files are directly downloadable from their Sourceforge directory. Here, more or less, is how I use it:
<video controls poster="video.jpg">
<source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
<object type="application/x-shockwave-flash" data="StrobeMediaPlayback.swf">
<param name="movie" value="StrobeMediaPlayback.swf">
<param name="flashvars" value="src=video.mp4&poster=video.jpg">
<img src="video.jpg" alt="Video">
<p>Your browser can’t play HTML5 or flash video. Download it instead.</p>
</object>
</video>
It supports lots of parameters specifiable from within the flashvars parameter, such as autoplay and a whole host of parameters related to the controls (the documentation lists them).

There are plenty of players available, for example http://www.longtailvideo.com/players/jw-flv-player/ or http://flowplayer.org/.

Related

Get direct url of youtube video [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I wonder how to get the direct url of youtube video. For example, when i analyzed the video code of https://www.youtube.com/watch?v=OrTyD7rjBpw
i found some URLs inside the js code of the player, like https://r6---sn-w511uxa-cjoe.googlevideo.com/videoplayback?mt=1440164084&mv=m&ms=au&mm=31&mn=sn-w511uxa-cjoe&upn=ELDhWOVFRzM&id=o-AM6zxCNJwi5l5gjbq_262NpEnieXQ2iQTkGLLDieVKs4&ip=188.77.186.165&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&fexp=3300113%2C3300134%2C3300137%2C3300164%2C3310699%2C3312381%2C3312531%2C9407535%2C9408710%2C9409069%2C9412877%2C9413010%2C9414935%2C9415365%2C9415417%2C9415485%2C9416023%2C9416105%2C9416126%2C9416522%2C9417353%2C9417707%2C9418060%2C9418153%2C9418203%2C9418449%2C9419675&dur=0.000&initcwndbps=1298750&pl=20&ratebypass=yes&source=youtube&gcr=es&pcm2cms=yes&requiressl=yes&expire=1440185744&mime=video%2Fwebm&key=yt5&ipbits=0&lmt=1365511426344921&sver=3&itag=43
But it doesn't redirect to the youtube video, so i'm thinking that code is more obfuscated
There's a library for that, and a linux tool, called youtube-dl and libquvi, respectively, which support URL extraction from player pages. You can call youtube-dl -g https://www.youtube.com/watch?v=OrTyD7rjBpw to get a URL pointing to the video.
Note that many CDNs won't give you a redistributable URL for a video -- instead, it's a URL that will only work for whoever requested the video.
Also note: there's not "one" video stream at a youtube page, but several ones, for different qualities and devices.

What's the easiest way to have customisable YouTube playback speed settings? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How could I customise YouTube's playback speed setting so that I have more options? For example I often want to watch at 1.75x
Ideally I want to create something that allows me to have a default speed setting for different channels.
Youtube interface only allows you to select between a few preset speeds and doesn't save it.
You can alter the speed programmatically by modifying the playback control's parameters by the means of your browser.
The HTML5 player that is on Youtube's site doesn't appear to conform to any of the embedding APIs (though the servicing code might conform to the JS API in some form), but you can just control the <video> element directly. With Flash... all you have is the programming interface that the <object> exports.
The simplest, one-off method is with JS console. There's also a Chrome plugin and a Firefox addon for that (and probably more than one). Finally, Firefox has the GreaseMonkey addon that allows you to add a custom JS to the page that can do anything a JS can - including this.

How to parse an M3U8 file in Objective C? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm trying to save .ts segments to the disk drive from an HLS stream to achieve record functionality. After going through Record HTTP Live Streaming Video To File While Watching? and Save HLS stream on iPhone/iPad came to the conclusion to save the files to disk and set up a server locally and stream it from there. Bu I'm having issues parsing an M3U8 file. Found an M3U8Kit but not what I was looking for. Can anyone point me in the right direction as how to parse an M3U8 file? It looks something like this
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10,
http://media.example.com/segment0.ts
#EXTINF:10,
http://media.example.com/segment1.ts
#EXTINF:10,
http://media.example.com/segment2.ts
#EXT-X-ENDLIST
Also for those who might need this, M3U8Paser is an extended library of M3U8Kit to parse an m3u8 file to get the links for multiple m3u8 files used for adaptive streaming
I know it is an old question but the open source, MIT Licensed, Pantomime may serve your needs.

Embedding youtube videos from others on my website [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Almost all (if not all) videos on YouTube have the "Embed" link below them. Can I always embed other people's videos on my website (stating source and author)? I simply want to include some videos related to my website's topic and was wondering if I can embed Youtube videos in a "Video" section on our website.
I have noted many videos have a "Standard YouTube License", but this is not linked to anything and I'm not sure what this means.
By default you can embed videos.
When someone doesn't want their video to be embeddable, after starting playing video on your site the user would see the message that says something like "this video can't be embeded, go to youtube.com [link to video] " to view it.

Opensource like Camtasia Studio [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
i used to create a tutorial video with camtasia studio, but curious to know if opensource have application that provide abilities like camtasia studio have
such as
- keep track action happen during recording. can produce video that zoom to part i want.
- Display the text of screencast as an overlay or below the video.
- With just one click, video is on its way to YouTube .
After searching a bit online, here's what I come up with: http://camstudio.org/
It can create video recordings off your screen, and generate swf's to easily inject them into websites.
It's able to add nice, anti-aliased screen captions to the video, and even supports picture-in-picture video (screen caption + video of you through the webcam)
You can record the whole screen, or just a portion of it.. I'm not sure if it supports zooming-in to sub areas while live recoding, but even if it doesn't - it's easy to emulate this using Windows 7 zoom (or if you don't use Win7 with tools like ZoomIt from Sysinternals
It comes with it's own free codec as well.
It's all 100% free, open source and licensed under GPL, woo!! :D
P.S. I'm in no way affiliated with them.. I just found it myself :)

Resources