
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (33)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (6785)
-
OpenCV : FFMPEG : tag 0x00000021/' !???' is not found (format 'mp4 / MP4 (MPEG-4 Part 14)')'
10 juin 2020, par Hepo8421I got error when trying to run a python script. Iam trying to make a project based on pyimagesearch tutorial.



Code :
In first script :



filename = tempVideo.path[tempVideo.path.rfind("/") + 1:]
 s3.upload_file(tempVideo.path, self.conf["s3_bucket"],
 filename, ExtraArgs={"ACL": "public-read",
 "ContentType": "video/mp4"})




In main script :



tempVideo = TempFile(ext=".mp4")
 writer = cv2.VideoWriter(tempVideo.path, 0x21, 30, (W, H),
 True)




Error I recieved :



OpenCV: FFMPEG: tag 0x00000021/'!???' is not found (format 'mp4 / MP4 (MPEG-4 Part 14)')'
Exception in thread Thread-4:
Traceback (most recent call last):
 File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
 self.run()
 File "/usr/lib/python3.7/threading.py", line 865, in run
 self._target(*self._args, **self._kwargs)
 File "/home/pi/Desktop/pi-security-camera/pyimagesearch/notifications/twilionotifier.py", line 27, in _send
 "ContentType": "video/mp4"})
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/boto3/s3/inject.py", line 131, in upload_file
 extra_args=ExtraArgs, callback=Callback)
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/boto3/s3/transfer.py", line 279, in upload_file
 future.result()
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/s3transfer/futures.py", line 106, in result
 return self._coordinator.result()
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/s3transfer/futures.py", line 265, in result
 raise self._exception
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/s3transfer/tasks.py", line 255, in _main
 self._submit(transfer_future=transfer_future, **kwargs)
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/s3transfer/upload.py", line 549, in _submit
 upload_input_manager.provide_transfer_size(transfer_future)
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/s3transfer/upload.py", line 237, in provide_transfer_size
 transfer_future.meta.call_args.fileobj))
 File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/s3transfer/utils.py", line 245, in get_file_size
 return os.path.getsize(filename)
 File "/usr/lib/python3.7/genericpath.py", line 50, in getsize
 return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: './/13675f07-ecec-48ae-97bf-32109eb3ed7d.mp4'




Thanks for advices :)


-
Ruby on Rails 4 Heroku App Crash while uploading large size video
22 juillet 2016, par Krishna Vyaslarge video file isn’t uploading on heroku and throwing Application Crash error
Here is my Model Code :has_attached_file :video, :styles => {
:medium => {
:geometry => "640x480",
:format => 'mp4',
:convert_options => {
:output => {
:vcodec => 'libx264',
:acodec => 'copy'
}
}
},
:thumb => {
:geometry => "300x300#",
:format => 'jpg',
:time => 2,
:auto_rotate => true
}
}, :processors => [:transcoder]
validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/Here is my log from heroku
2016-07-22T13:15:13.616340+00:00 app[web.1]: Command :: file -b --mime '/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-1e90wvf.mp4'
2016-07-22T13:15:13.771935+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.773078+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.774121+00:00 app[web.1]: [AV] Found ["ffmpeg"], using: Ffmpeg
2016-07-22T13:15:13.774159+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.775225+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
2016-07-22T13:15:13.776771+00:00 app[web.1]: [AV] Found ["ffmpeg"], using: Ffmpeg
2016-07-22T13:15:13.776807+00:00 app[web.1]: [AV] Running command: ffmpeg -i "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4" 2>&1
2016-07-22T13:15:13.814982+00:00 app[web.1]: [paperclip] [transcoder] Transocding supported file /tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4
2016-07-22T13:15:13.815056+00:00 app[web.1]: [AV] Adding output parameter ["acodec", "aac"]
2016-07-22T13:15:13.815103+00:00 app[web.1]: [AV] Adding output parameter ["strict", "experimental"]
2016-07-22T13:15:13.815289+00:00 app[web.1]: [AV] Adding output parameter [:s, "640x480"]
2016-07-22T13:15:13.815379+00:00 app[web.1]: [AV] Running command: ffmpeg -i "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt.mp4" -acodec aac -strict experimental -s 640x480 -y "/tmp/33028ec79c8028f75908c90d9f018aeb20160722-3-xbemwt20160722-3-1pwdg2k.mp4"
2016-07-22T13:15:43.237749+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/courses/5/sections/7/lessons/11" host=xxxxx.herokuapp.com request_id=a1408ac7-c7c3-40f4-8365-86156d2d2314 fwd="43.255.56.1" dyno=web.1 connect=0ms service=188655ms status=503 bytes=0 -
Hls media playlist request url override
16 janvier 2018, par Tomasz KowalczykTrying to implement hls support on my platform build with laravel. Testing both ffmpeg and AWS Elastic transcoder solutions. The problem is that i’ve got custom url for requesting files for security purposes. That url then returns the hls master playlist, but subsequent request for media playlists has wrong url. This is because the paths in master playlist are not absolute. I tested it with absolute paths and it worked, but I changed the paths manually, can’t see it as an option on AWS Elastic Trancoder, and not tested it yet on ffmpeg package. I’m not really sure what generates the subsequent request for the media playlists ? Is it the video player or hls codec/plugin ? Can i tinker the original response headers to modify the subsequent requests ? Or am I going the wrong way about it ?
Any help would be greatly appreciated.