
Recherche avancée
Autres articles (91)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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 -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (9809)
-
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 :)


-
All audios should be played after combing using ffmpeg. But there is only audio for the first part
6 mai 2020, par Eric ZThis code is combining 3 mp4 files using ffmpeg command. Each file has audio. 
After combining, I can listen audio for only first part. 
How can I solve this problem ?



===========================================================================



ffmpeg -y -i "tmp/titled-0c33a83dc70534c67f66.mp4" -i "tmp/titled-1c2fc9a95e644ab135a3.mp4" -i "tmp/titled-73c3fb1a3ea435cacdd2.mp4" -i "logo/logo.png" -filter_complex "
nullsrc=s=1280x720[bg];
[0:v]setpts=PTS-STARTPTS+0/TB[v0];
[1:v]setpts=PTS-STARTPTS+4.039/TB[v1];
[2:v]setpts=PTS-STARTPTS+8.078/TB[v2];
[bg][v0]overlay=x='if(lte(t,4.039),0,min(0,-w*min(1,max(0,0.98*(t-4.039)^2))))':y=0,trim=duration=13.145[bg];
[bg][v1]overlay=x='if(gte(t,8.078),-w*min(1,max(0,0.98*(t-8.078)^2)),max(0,1280*(1-min(1,max(0,0.69*(atan(8*(t-4.039)^2.7)))))))':y=0[bg];
[bg][v2]overlay=x='max(0,1280*(1-min(1,max(0,0.69*(atan(8*(t-8.078)^2.7))))))':y=0"
-y -vcodec h264 -crf 13 -acodec aac -strict -2 "out.mp4"



-
Problem with streamcopy of a part of av1 video in ffmpeg
22 avril 2020, par vorromI'm trying to cut part of a video from av1-mp4 file with FFMmpeg command and I want do it withuout recompressing. But there is no result.
I try method with -ss -t or -to parameters with different combinations.



ffmpeg -ss 10 -i D:\in_av1.mp4 -t 5 -vcodec copy -acodec copy D:\out_av1.mp4




-ss from input file get me 15 seconds video from beginning instead 5 seconds from 10



ffmpeg -i D:\in_av1.mp4 -ss 10 -t 5 -vcodec copy -acodec copy D:\out_av1.mp4




this way get 5 seconds audio file without video data.
It seems to me that coder can not find start point for operation.



I make an av1.mp4 example file, you can find it here. https://pixeldrain.com/u/c8fbQgYK I understand that AV1 is new format and have experimental flag while converting with it. But nevertheless FFmpeg carrectly change result when I change -t parameter. If I use



ffmpeg -ss 10 -i D:\in_av1.mp4 -t 7 -vcodec copy -acodec copy D:\out_av1.mp4




it give me 17 seconds. So -t part working. Whats why I hope there is way to solve my problem.



I use ffmpeg-20200417-889ad93-win64-static for Windows.