
Recherche avancée
Autres articles (71)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
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 (...)
Sur d’autres sites (9213)
-
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 ?


-
ffserver : Use AVOption API to access ffm demuxer instead of direct access depending...
20 novembre 2015, par Michael Niedermayerffserver : Use AVOption API to access ffm demuxer instead of direct access depending on ABI
server_attached is newly added so the demuxer knows if there is an attached server
that can update the write index. This is needed to fix a infinite loopSigned-off-by : Michael Niedermayer <michael@niedermayer.cc>
-
doc/fate : Document how to request samples upload access
7 août 2019, par Michael Niedermayer