
Recherche avancée
Autres articles (106)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (5972)
-
Ffmpeg convert mp3u8 to mp3, how to skip read mp3u8 segment quick download ? [closed]
16 janvier 2024, par Raag Jatt

[hls,applehttp @ 0x21e3e80] Opening 'https://vodhlsgaana.akamaized.net/hls/98/6329098/47086991/320/hdntl=exp=1705512097~acl=%2f*~data=hdntl~hmac=766aac0bee539dc389ef0eef4979c2c982c341eaba85156b0264b1a26b3122f8/segment-86.ts' ; for reading
[hls,applehttp @ 0x21e3e80] Opening 'https://vodhlsgaana.akamaized.net/hls/98/6329098/47086991/320/hdntl=exp=1705512097~acl=%2f*~data=hdntl~hmac=766aac0bee539dc389ef0eef4979c2c982c341eaba85156b0264b1a26b3122f8/segment-87.ts' ; for reading
[hls,applehttp @ 0x21e3e80] Opening 'https://vodhlsgaana.akamaized.net/hls/98/6329098/47086991/320/hdntl=exp=1705512097~acl=%2f*~data=hdntl~hmac=766aac0bee539dc389ef0eef4979c2c982c341eaba85156b0264b1a26b3122f8/segment-88.ts' ; for reading
[hls,applehttp @ 0x21e3e80] Opening 'https://vodhlsgaana.akamaized.net/hls/98/6329098/47086991/320/hdntl=exp=1705512097~acl=%2f*~data=hdntl~hmac=766aac0bee539dc389ef0eef4979c2c982c341eaba85156b0264b1a26b3122f8/segment-89.ts' ; for reading
[hls,applehttp @ 0x21e3e80] Opening 'https://vodhlsgaana.akamaized.net/hls/98/6329098/47086991/320/hdntl=exp=1705512097~acl=%2f*~data=hdntl~hmac=766aac0bee539dc389ef0eef4979c2c982c341eaba85156b0264b1a26b3122f8/segment-90.ts' ; for reading
[hls,applehttp @ 0x21e3e80] Opening 'https://vodhlsgaana.akamaized.net/hls/98/6329098/47086991/320/hdntl=exp=1705512097~acl=%2f*~data=hdntl~hmac=766aac0bee539dc389ef0eef4979c2c982c341eaba85156b0264b1a26b3122f8/segment-91.ts' ; for reading
size= 8611kB time=00:09:11.08 bitrate= 128.0kbits/s speed=2.05x


i want to save quickly in my server how can i ?




-
Unable to play video from firebase cloud storage download url on Iphone Safari [closed]
26 janvier 2024, par Acid CodergetDownloadURL(ref)
 .then(url => {
 //... save the url to state
 })



front end : React



 <source src="{videoURL}" type="video/mp4"></source>
 



work fine on PC and Android, but on Iphone Safari, only 1 out of 10 videos can be played




all video are from the same source, going through same compression, from mp4 to mp4


import ffmpeg from 'fluent-ffmpeg'

 ffmpeg(inputPath)
 .output(outputPath)
 .videoCodec('libx264')
 .audioCodec('aac')
 .on('end', () => {
 // ...
 })
 .on('error', err => {
 // ...
 })
 .run()



-
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