
Recherche avancée
Autres articles (44)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (6081)
-
Python - ffmpeg-like media seeking with requests
8 janvier 2017, par WillUsing ffmpeg, times in HTTP media resources, such as videos, can be seeked to very quickly with a command like
ffmpeg -ss 00:01:00 -i https://example.com/video.mp4
, presumably by downloading the video headers to look for the right byte offset. This means that it is very fast to run operations on a section of video, even if it is hours in.What I want to be able to do is to do the same thing but piping into ffmpeg with the requests module with something like (in partial pseudo-code) :
stream = requests.get(url, stream=True)
start_byte = get_byte_offset(stream, time=60)
stream.seek_to(start_byte)
process = subprocess.Popen(["ffmpeg", "-i" "pipe:" "out.mp4"], stdin=subprocess.PIPE)
for chunk in stream.iter_content(chunk_size=64 * 2 ** 10):
process.stdin.write(chunk)
process.stdin.close()This would allow me to implement extra checks into the stream that I would normally need to parse ffmpeg for, such as if the stream returns a bad status code such as 404 or 403.
How might I be able to implement this using the requests, and presumably other, modules ? I suppose the first part is using a tool to parse the video headers.
-
FFMPEG and HTTPS
14 juin 2012, par Joelffmpeg lists http as a protocol when I ask : ffmpeg -protocols
Does this also mean support for a https url ? Do I need to encode this url somehow for the command line. I get "No such file or directory", but with http urls (at least some) it does work.
A url (created for a Amazon S3 bucket) similar to this one does not seem to work :
https://mycompany-video-test.s3.amazonaws.com/client/btr/video/xyz0011-x403-snap-n-go-ex/1/video/baby-laugh-ripping-paper.mp4?AWSAccessKeyId=AVIAZL9J6SIRPAA&Expires=1323709667&Signature=pTvS9F2do2t8%3DI suspect the format of the url is problematic, I've also tried enclosing in quotes... Yes, this URL does not currently work as it has expired, but even while its valid, its a problem.
In short :
1) Should https work ?
2) Do I need to format the url somehow ? -
ffmpeg not working with filenames that have whitespace
1er avril 2017, par cmwI’m using FFMPEG to measure the duration of videos stored in an Amazon S3 Bucket.
I’ve read the FFMPEG docs, and they explicitly state that all whitespace and special characters need to be escaped, in order for FFMPEG to handle them properly :
See docs 2.1 and 2.1.1 : https://ffmpeg.org/ffmpeg-utils.html
However, when dealing with files whose filenames contain whitespace, ffmpeg fails to render a result.
I’ve tried the following, with no success
ffmpeg -i "http://s3.mybucketname.com/videos/my\ video\ file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
ffmpeg -i "http://s3.mybucketname.com/videos/my video file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
ffmpeg -i "http://s3.mybucketname.com/videos/my'\' video'\' file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -d
ffmpeg -i "http://s3.mybucketname.com/videos/my\ video\ file.mov" 2>&1 | grep Duration | awk '{print $2}' | tr -dHowever, if I strip out the whitespace in the filename – all is well, and the duration of the video is returned.
Any help is appreciated !