
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (53)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (9851)
-
qt-faststart : Fix the signedness of variables keeping the ftello return values
29 octobre 2012, par Michael Niedermayerqt-faststart : Fix the signedness of variables keeping the ftello return values
These variables are assigned the return values of ftello, which
returns an off_t, which is a signed type. On errors, ftello returns1, thus make sure this error return value can be stored properly.
Signed-off-by : Martin Storsjö <martin@martin.st>
-
PySceneDetect FFmpeg Not Available
14 août 2023, par Dmitriy PushkarevI already installed FFmpeg and this is available in terminal I can convert video and etc, but it's completely not available in PySceneDetect.


pip installed FFmpeg-python and FFmpeg library and FFmpeg itself in system.


PySceneDetect returns :


ffmpeg could not be found on the system. Please install ffmpeg to enable video output support.



I think trouble with path, but can't put path in PySceneDetect. I can use path to binary FFmpeg, only in ffmpeg-python library, like this and it's working


This code working fine :


Here i using only FFmpeg-python library


stream = ffmpeg.input('vi0.mp4')
stream = ffmpeg.filter(stream, 'fps', fps=10, round='up')
stream = ffmpeg.output(stream, 'vi1.mp4')
ffmpeg.run(stream,cmd='./ffmpeg')



But can't it to get work with PySceneDetect


print(scenedetect.video_splitter.is_ffmpeg_available())



return False


split_video_ffmpeg(video_path, scene_list, show_progress=False)



returns "ffmpeg could not be found on the system. Please install ffmpeg to enable video output support."


-
How to upload object to a bucket in Google Cloud Platform from Python script
7 juillet 2016, par BryanThe goal of this script is to extract audio from a video file using ffmpeg and upload it into a bucket on Google Cloud Platform each time it is called. Eventually I will have to extract audio from a large list of videos, so ideally I would want my script to extract and subsequently upload it into the cloud.
My confusion is how to use GCP API to upload my object into a bucket. Any advice would be greatly appreciated !
Link for reference : https://cloud.google.com/storage/docs/json_api/v1/json-api-python-samples#setup-code
import subprocess
import sys
import re
fullVideo = sys.argv[1]
title = re.findall('^([^.]*).*', fullVideo)
title = str(title[0])
subprocess.call('ffmpeg -i ' + fullVideo + ' -vn -ab 128k ' + title + '.flac', shell = True)
def upload_object(bucket, filename, readers, owners):
service = create_service()
# This is the request body as specified:
# http://g.co/cloud/storage/docs/json_api/v1/objects/insert#request
body = {
'name': filename,
}
# If specified, create the access control objects and add them to the
# request body
if readers or owners:
body['acl'] = []
for r in readers:
body['acl'].append({
'entity': 'user-%s' % r,
'role': 'READER',
'email': r
})
for o in owners:
body['acl'].append({
'entity': 'user-%s' % o,
'role': 'OWNER',
'email': o
})
# Now insert them into the specified bucket as a media insertion.
# http://g.co/dev/resources/api-libraries/documentation/storage/v1/python/latest/storage_v1.objects.html#insert
with open(filename, 'rb') as f:
req = service.objects().insert(
bucket=bucket, body=body,
# You can also just set media_body=filename, but # for the sake of
# demonstration, pass in the more generic file handle, which could
# very well be a StringIO or similar.
media_body=http.MediaIoBaseUpload(f, 'application/octet-stream'))
resp = req.execute()
return resp