
Recherche avancée
Autres articles (44)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (5789)
-
iFrameExtractor no ffmpeg with build_universal script
15 août 2016, par AlecGambleI’m trying to follow this tutorial on how to extract the frames from an iphone video :
http://www.codza.com/extracting-frames-from-movies-on-iphone#more-343
It says to do the following :
- open Terminal
- clone the repository :
git clone git://github.com/lajos/iFrameExtractor.git
- go to the ffmpeg folder in the project :
cd iFrameExtractor/ffmpeg
- build the ffmpeg libraries :
./build_universal
So there’s no ffmpeg folder in iFrameExtractor after cloning the repository so I went to the github page and it says to download the latest version of ffmpeg and move to to the ffmpeg folder (I presume it just means within iFrameExtractor) :
- Download the latest ffmpeg (0.11.1 tested) :
git clone git://source.ffmpeg.org/ffmpeg.git
So I’ve done that but there’s no file or directory when I try to run
./build_universal
and I can see that there isn’t.Any ideas what I’m doing wrong ?
Alternatively I was also looking at just installing ffmpeg-ios and trying to extract the frames myself :
https://github.com/kewlbear/FFmpeg-iOS-build-script
and I’ve run the script so I’ve got that folder in my xcode project as well but I’m unsure on how to link it properly ?
-
poster adjustment after getting it from video
30 juin 2016, par JassI am capturing poster from this video https://www.youtube.com/watch?v=wg-kEWsL6Xc using following code. Video can be any, I am just giving example.
shell_exec('ffmpeg -y -itsoffset -4 -i "'.base_path().'/assets/videos/'.$file_name.'.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -filter:v scale=1170:ih*1170/iw "'.base_path().'/assets/videos/thumbnail/'.$file_name.'.jpg"')
Width = 1170px,
Height= 300px (as it is background image so it does not matter)
But I am facing adjustment problem. Following are my current views
First : Head is cutting, here I am using css property background : url(’completepath’) center no-repeat ;
Second : Showing black portion on top of head. This is the original image that I am getting from ffmpeg code.
My Question : But I need image like in you tube, you can notice that in all videos we can see top portion of humans without being cutting even black portion is well adjusted.
Currently I am downloading and testing with youtube videos but in actual job seekers will make their own videos using android/iphone or any camera and will upload on our site.
so how i can overcome this issue means show image with proper human face and body ?
thanks in advance.
-
How to make HLS start from the begining
15 juillet 2016, par Ariel ArgañarazI need some help with HLS streaming, I’m trying to create a playlist for streaming,
I’m using ffmpeg to generate the files and the .m3u8 files. And for playing i’m using a web page with videojs player
The idea is to simulate a live streaming using files already created.
The problem is that in some version of iphone works and in another does not work.
The problem is that when I start play the video in the Safari browser of my phone it freezes for a while and then download and play the last segment.for example if the video is split in 4 differents .ts files.
It starts playing from the 4th .ts file and then stop.The problem is that I have 2 iphone mobile phone, one of them works perfectly but the other one not
The not working cell phone is a iphone 6 (version 9.2.1)
Here is my m3u8 file. Note that I’m using the #EXT-X-PLAYLIST-TYPE:EVENT and I remove the #EXT-X-ENDLIST from the botton. So it should be played as an live streaming.
It works for another phones, it begins from the 0 second when I set the #EXT-X-START:TIME-OFFSET=0
but in this version (9.2.1) the video freezes and then jumps to the last segment (webinar-3.ts) plays that segment and finally stop.
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:NO
#EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-START:TIME-OFFSET=0
#EXT-X-TARGETDURATION:6
#EXTINF:5.046444,
webinar-0.ts
#EXTINF:5,
webinar-1.ts
#EXTINF:5,
webinar-2.ts
#EXTINF:5,
webinar-3.tsHave anybody got an idea of what i’m doing wrong or how to get a m3u8 config that works for this iphone version ?