
Recherche avancée
Autres articles (39)
-
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (7256)
-
How we can replace all images with another in video using FFMPEG library ?
17 juin 2020, par Parth ViraniChallange



i had search many things on internet for do this above function but still i can't able to make it hear i have attached before video and after video which i want using ffmpeg library



Before Video : https://drive.google.com/file/d/1MIUtuOkw22BiyFTKanDeio-VzYS5vKmn/view?usp=sharing



After Video : https://drive.google.com/file/d/1Vot237PcDPA5BqnLRHlQ1ierYrLIyUj9/view?usp=sharing



keep one thing in mind i only need to change images only the text,effects and sound should be as it as


-
A specific MP4 file is not playable with avfoundation in iOS
3 juillet 2020, par Rabel AhmedI have an mp4 video file that I want to play it in iOS using avfoundation. Unfortunately, the file is not being played and unable to save into the default gallery(photos) even it has h264 video codec and aac audio codec. And it is only playable when I reencode it using ffmpeg. I want to know why the file only becomes playable after reencoding the video ?


Not Playable(originalFile.mp4) vs Playable File(outputFile.mp4) Information Comparison




File is playable with avfoundation when these commands are being applied :


- 

-
ffmpeg -y -hide_banner -i originalFile.mp4 -f mp4 -vcodec h264 -vf scale=out_color_matrix=bt709 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -b:v 5703k -acodec aac -b:a 249k outputFile.mp4


-
ffmpeg -y -hide_banner -i originalFile.mp4 -f mp4 -vcodec h264 -acodec aac outputFile.mp4








File is not playable with avfoundation when this command is being applied :


- 

ffmpeg -y -hide_banner -i originalFile.mp4 -f mp4 -vcodec copy -acodec aac outputFile.mp4




originalFile.mp4 file link : https://drive.google.com/file/d/1-yZFL0EsLztMIfwU79Al6dv8gdwJyGAD/view?usp=sharing


ffprobe streams of both files are here
https://www.diffchecker.com/VgZL66QB


-
-
Using ffmpeg with chunks of file
27 juin 2020, par YashikI am trying to download a file as 100mb chunks and I need to convert this using ffmpeg and upload this file to dropbox.
The code I tried :


import os
import requests

#---snip---#

for chunk in r.iter_content(chunksize=chunksize):
 #chunksize is 100mb
 fp = open("a.mp4","wb")
 fp.write(chunk)
 fp.close()
 os.system("ffmpeg -i a.mp4 a.mkv")
 
 #code for uploading



The error is
moov atom is not found


1.How can I convert file chunks with ffmpeg ?


2.Can I convert without ever needing to save to
a.mp4
, like givingchunk
directly to ffmpeg ?

Ps : The problem occurs with file size greater than 100mb


Edit :


After converting the file is appended to file in dropbox


What I want :


- 

- Sample.mp4 - 200mb
- Downloads file as chunks 100mb
- Converts the chunk
- Upload to drive (multipart)