Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip 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, par

    Le 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, par

    The 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ô Quang

    I 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 Oleh

    I 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) {&#xA;        String outputVideoPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) &#x2B; "/" &#x2B; Calendar.getInstance().getTimeInMillis() &#x2B; ".mp4";&#xA;        try {&#xA;            StringBuilder strCommand = new StringBuilder();&#xA;&#xA;            int size = pathList.size();&#xA;&#xA;            for (int i = 0; i &lt; size; i&#x2B;&#x2B;) {&#xA;                strCommand.append("-framerate 8 -i &#x27;")&#xA;                        .append(pathList.get(i))&#xA;                        .append("&#x27; ");&#xA;            }&#xA;&#xA;            strCommand.append("-filter_complex \"");&#xA;&#xA;            for (int i = 0; i &lt; size; i&#x2B;&#x2B;) {&#xA;                strCommand.append("[")&#xA;                        .append(i)&#xA;                        .append(":v]setpts=PTS-STARTPTS&#x2B;1[v")&#xA;                        .append(i)&#xA;                        .append("];");&#xA;            }&#xA;&#xA;&#xA;            for (int i = 0; i &lt; size; i&#x2B;&#x2B;) {&#xA;                strCommand.append("[v")&#xA;                        .append(i)&#xA;                        .append("]");&#xA;            }&#xA;            strCommand.append("concat=n=")&#xA;                    .append(size)&#xA;                    .append(":v=1:a=0,format=yuv420p\" -r 30 -b:v 4M -preset veryfast &#x27;")&#xA;                    .append(outputVideoPath)&#xA;                    .append("&#x27;");&#xA;            &#xA;            FFmpegKit.executeAsync(strCommand.toString(), new FFmpegSessionCompleteCallback() {&#xA;                @Override&#xA;                public void apply(FFmpegSession session) {&#xA;                    SessionState state = session.getState();&#xA;                    ReturnCode returnCode = session.getReturnCode();&#xA;&#xA;                    // CALLED WHEN SESSION IS EXECUTED&#xA;                    Log.d("IPRIPR", String.format("FFmpeg process exited with state %s and rc %s.%s", state, returnCode, session.getFailStackTrace()));&#xA;                }&#xA;            }, new LogCallback() {&#xA;                @Override&#xA;                public void apply(com.arthenica.ffmpegkit.Log log) {&#xA;&#xA;                    // CALLED WHEN SESSION PRINTS LOGS&#xA;&#xA;                }&#xA;            }, new StatisticsCallback() {&#xA;                @Override&#xA;                public void apply(Statistics statistics) {&#xA;&#xA;                }&#xA;            });&#xA;&#xA;        } catch (Exception e) {&#xA;        }&#xA;    }&#xA;</string>

    &#xA;

  • How do I remove or fix chromium-codecs-ffmpeg-extra ? [closed]

    1er mars 2020, par Ticko

    It 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)