
Recherche avancée
Autres articles (52)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.
Sur d’autres sites (8703)
-
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.


-
Revision 4826 : Si le plugin mediabox est présent, on ajoute un lien autour des prévisues ...
28 janvier 2011, par kent1 — LogSi le plugin mediabox est présent, on ajoute un lien autour des prévisues d’images vers une grosse réduction en 1600x1200 avec la class mediabox dessus pour ouvrir la box On incrémente le numéro de version
-
Revision 4656 : Allez hop ... on ajoute l’adaptation de la taille pour flowplayer ... et ...
5 janvier 2011, par kent1 — LogAllez hop ... on ajoute l’adaptation de la taille pour flowplayer ... et on incrémente le numéro de version