
Recherche avancée
Autres articles (108)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (17609)
-
Revision cf2a65bd80 : Renamed FindLibYAML.cmake to better reflect project name.
3 mai 2012, par Marc NoirotChanged Paths :
Modify /Makefile.am
Add /cmake/modules/FindLibYAML.cmake
(from /cmake/modules/FindLibYaml.cmake
:6cd0e7aa7f9bc82ff1e144247cae69f96d9fcfb7)
Delete /cmake/modules/FindLibYaml.cmake
Modify /src/CMakeLists.txt
Renamed FindLibYAML.cmake to better reflect project name. -
avcodec/nvenc : replace custom FIFOs with AVFifos
20 mai 2016, par Andrey Turkin -
Merge video and audio using ffmpeg and download immediately in django
29 janvier 2024, par Suresh ChandI have video and audio file which is to be merge and download immediately. I have written some code but it will start download after merged. I want when user hit the url, then it will start merging and downloading immediately so that user don't have to wait for it.


video_url = "./video.mp4"
audio_url = "./audio.mp4"

output_filepath = './merged.mp4'

try:
 process = subprocess.Popen([
 "ffmpeg",
 "-i", video_url,
 "-i", audio_url,
 "-c:v", "copy",
 "-c:a", "copy",
 "-f", "mp4",
 "-movflags", "frag_keyframe+empty_moov",
 "pipe:1"
 ], stdout=subprocess.PIPE)

 def generate_stream():
 while True:
 data = process.stdout.read(1024)
 if not data:
 break
 yield data

 response = StreamingHttpResponse(generate_stream(), content_type="video/mp4")
 response['Content-Disposition'] = 'attachment; filename="stream.mp4"'
 return response

except subprocess.CalledProcessError as e:
 return HttpResponse("Error: {}".format(e), status=500)



But it will merge and then start downloading. I want to be at same time so that user don't have to wait until the merging process.


I am using django and i am learning django