
Recherche avancée
Autres articles (37)
-
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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (7257)
-
How concat files URL of S3 using Lambda, Ffmpeg
4 juillet 2021, par Tính Ngô QuangI am trying to concat webm files into 1 file, Then upload file new video to S3
Using S3, ffmpeg/lambda-layer


import subprocess
import shlex
import boto3

def lambda_handler(event, context):
 ffmpeg_cmd = "ffmpeg -safe 0 -f matroska concat"
 ffmpeg_cmd += " -i https://s3demo.s3.ap-northeast-1.amazonaws.com/archives/input/record/mask/ep_1.webm"
 ffmpeg_cmd += " -i https://s3demo.s3.ap-northeast-1.amazonaws.com/archives/input/record/mask/ep_2.webm"
 ffmpeg_cmd += " -c:v copy -af aresample=async=1:first_pts=0 -"

 command1 = shlex.split(ffmpeg_cmd)
 p1 = subprocess.run(command1, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 print(p1.stdout)
 print(p1.stderr)
 # resp = s3_client.put_object(Body=p1.stdout, Bucket=s3_source_bucket, Key=s3_destination_filename2)



I get error message :




concat : Read-only file system




According to the article below, using directory storage but still the same error.
https://stackoverflow.com/a/47323443/2949104


ffmpeg_cmd += " -vcodec copy -acodec copy /tmp/output.webm -y"



-
How do I add text and watermark to each image using FFmpeg ?
14 novembre 2023, par OlehI wrote a small code that converts several images to video using
com.arthenica:ffmpeg-kit-full:6.0-2
and everything works, but I need to add text to each image and place a watermarked photo on it and I can't implement it. Could you please help me with this ?

Here is the code that converts an array of images into a video :


public void ImagesToVideo(ArrayList<string> pathList) {
 String outputVideoPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/" + Calendar.getInstance().getTimeInMillis() + ".mp4";
 try {
 StringBuilder strCommand = new StringBuilder();

 int size = pathList.size();

 for (int i = 0; i < size; i++) {
 strCommand.append("-framerate 8 -i '")
 .append(pathList.get(i))
 .append("' ");
 }

 strCommand.append("-filter_complex \"");

 for (int i = 0; i < size; i++) {
 strCommand.append("[")
 .append(i)
 .append(":v]setpts=PTS-STARTPTS+1[v")
 .append(i)
 .append("];");
 }


 for (int i = 0; i < size; i++) {
 strCommand.append("[v")
 .append(i)
 .append("]");
 }
 strCommand.append("concat=n=")
 .append(size)
 .append(":v=1:a=0,format=yuv420p\" -r 30 -b:v 4M -preset veryfast '")
 .append(outputVideoPath)
 .append("'");
 
 FFmpegKit.executeAsync(strCommand.toString(), new FFmpegSessionCompleteCallback() {
 @Override
 public void apply(FFmpegSession session) {
 SessionState state = session.getState();
 ReturnCode returnCode = session.getReturnCode();

 // CALLED WHEN SESSION IS EXECUTED
 Log.d("IPRIPR", String.format("FFmpeg process exited with state %s and rc %s.%s", state, returnCode, session.getFailStackTrace()));
 }
 }, new LogCallback() {
 @Override
 public void apply(com.arthenica.ffmpegkit.Log log) {

 // CALLED WHEN SESSION PRINTS LOGS

 }
 }, new StatisticsCallback() {
 @Override
 public void apply(Statistics statistics) {

 }
 });

 } catch (Exception e) {
 }
 }
</string>


-
How do I remove or fix chromium-codecs-ffmpeg-extra ? [closed]
1er mars 2020, par TickoIt is bothering me whenever I try to interact with any package or library and I can not seem to fix or remove it.
I have tried doing :sudo apt-get --purge remove chromium-codecs-ffmpeg-extra
But all I get is :
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
chromium-codecs-ffmpeg-extra*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 4.294 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: error processing package chromium-codecs-ffmpeg-extra (--remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
chromium-codecs-ffmpeg-extra
E: Sub-process /usr/bin/dpkg returned an error code (1)