
Recherche avancée
Médias (2)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (40)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7665)
-
How do I access the files from a ffmpeg_streaming PUT request in Django ?
8 juin 2020, par SageI'm trying to stream video from my webcam using a python package called ffmpeg_streaming and Django2.0. I can see the request being received on the server side but I can't access the actual files in views.



This is my views.py



@csrf_exempt
def stream_video(request):
 stream = QueryDict(request.body)
 print("Stream: ", stream)
 data = {'stream': 'streaming...'}
"""
 if hasattr(request, '_post'):
 del request._post
 del request._files
 try:
 request.method = 'POST'
 request._lost_post_and_files()
 request.method = 'PUT'
 except(AttributeError):
 request.META['REQUEST_METHOD'] = 'POST'
 request._load_post_and_files()
 request.META['REQUEST_METHOD'] = 'PUT'
 request.PUT = request.POST
"""
 file_ob = request.POST
 print('Files: ', file_ob)
 files = request.FILES
 print('Files:' , files)
 return JsonResponse(data)




stream_video.py



import ffmpeg_streaming

video = ffmpeg_streaming.input('/dev/video0', capture=True)
_480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
hls = video.hls(Formats.h264(), hls_list_size=10, hls_time=5, method='POST', post_data='File')
hls.flags('delete_segments')
hls.representations(_480p)
hls.output('http://127.0.0.1:8000/stream_video/out.m3u8')




How would I go about accessing the files and treating them as uploads ?


-
avfilter/vsrc_testsrc : increase max level of haldclutsrc
26 octobre 2019, par Paul B Mahol -
increase rate control buffer level precision
20 août 2010, par John Koleszarincrease rate control buffer level precision