
Recherche avancée
Autres articles (72)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (2829)
-
I want to print HLS files using ffmpeg in aws lambda (python)
14 avril 2021, par 최우선I implemented it through the link(https://aws.amazon.com/ko/blogs/media/processing-user-generated-content-using-aws-lambda-and-ffmpeg/) here, and it works well.


s3_source_bucket = event['Records'][0]['s3']['bucket']['name']
s3_source_key = event['Records'][0]['s3']['object']['key']

s3_source_basename = os.path.splitext(os.path.basename(s3_source_key))[0]
s3_destination_filename = s3_source_basename + ".m3u8"

s3_client = boto3.client('s3')
s3_source_signed_url = s3_client.generate_presigned_url('get_object',
 Params={'Bucket': s3_source_bucket, 'Key': s3_source_key},
 ExpiresIn=SIGNED_URL_TIMEOUT)


ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls -"
command1 = shlex.split(ffmpeg_cmd)
p1 = subprocess.run(command1, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

resp = s3_client.put_object(Body=p1.stdout, Bucket=S3_DESTINATION_BUCKET, Key=s3_destination_filename)



However, the actual output through ffmpeg is multiple files. For example test.m3u8, test0.ts, test1.ts .....


But when I print p1.stdout, it looks like multiple files (test.m3u8,test0.ts....) are merged into one file.


Is there a way to get the actual output multiple files (test.m3u8,test0.ts......) from p1.stdout ? Please help.


-
Android video saves as type "file" instead of video format
25 novembre 2015, par Marc RasmussenSo I have a website where I allow people to upload a video from their phone and send it to their friends.
Now
Iphone
works well because it is usually an.mov
file. However when I attempt on my android (Samsung galaxy) I get FileType : fileHowere is an image from my filezilla as to what has been uploaded :
The highlighted are the files uploaded from the android device.
Can anyone tell me why this is happening ? and how I can make sure that it is a video ? and/or convert it into a mp4 format.
-
How to provide video streaming option for different formats on website
3 avril 2014, par kami998In my website users can upload different video formats and i need to provide streaming for those formats (for example : mkv, avi, mp4, 3gp, wmv), but on web only mp4 format can be played by flash players.
My videos are hosted on amazon s3 server while my webserver is on different location, what i do is receive stream from s3 and transmit to client, so what i need is to convert the video format to mp4 on the fly
So, is there any possibility to perform this functionality ( i am using asp.net mvc webapi as streaming service )
Any sort of help is appreciable...