Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (34)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (4393)

  • 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"


    


  • java.io.IOException : Cannot run program "/data/user/0/packagename/files/ffmpeg" : FFMPEG error=13, Permission denied in android Q API level 29

    11 septembre 2020, par Android198

    I am using FFMPEG since long and using internal file location for inputs its working fine if i build apk with API level 28 but in API level 29 its give error=13 permission denied. I opted out scoped storage by android:requestLegacyExternalStorage="true" in manifest though this error is coming.

    


    `java.io.IOException: Cannot run program "/data/user/0/packagename/files/ffmpeg": error=13, Permission denied&#xA;        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)&#xA;        at java.lang.Runtime.exec(Runtime.java:698)&#xA;        at java.lang.Runtime.exec(Runtime.java:563)&#xA;        at e.h.a.a.n.a(:10)&#xA;        at e.h.a.a.f.b(:38)&#xA;        at e.h.a.a.f.doInBackground(:10)&#xA;        at android.os.AsyncTask$3.call(AsyncTask.java:378)&#xA;        at java.util.concurrent.FutureTask.run(FutureTask.java:266)&#xA;        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)&#xA;        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)&#xA;        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)&#xA;        at java.lang.Thread.run(Thread.java:919)&#xA;     Caused by: java.io.IOException: error=13, Permission denied&#xA;        at java.lang.UNIXProcess.forkAndExec(Native Method)&#xA;        at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)&#xA;        at java.lang.ProcessImpl.start(ProcessImpl.java:141)&#xA;        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)&#xA;        at java.lang.Runtime.exec(Runtime.java:698)&#xA0;&#xA;        at java.lang.Runtime.exec(Runtime.java:563)&#xA0;&#xA;        at e.h.a.a.n.a(:10)&#xA0;&#xA;        at e.h.a.a.f.b(:38)&#xA0;&#xA;        at e.h.a.a.f.doInBackground(:10)&#xA0;&#xA;        at android.os.AsyncTask$3.call(AsyncTask.java:378)&#xA0;&#xA;        at java.util.concurrent.FutureTask.run(FutureTask.java:266)&#xA0;&#xA;        at android.os.AsyncTas k$SerialExecutor$1.run(AsyncTask.java:289)&#xA0;&#xA;        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)&#xA0;&#xA;        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)&#xA0;&#xA;        at java.lang.Thread.run(Thread.java:919)&#xA0;&#xA;2020-09-09 14:37:27.079 22619-22619/E/MediaMetadataRetriever: setDataSource - FileNotFoundException`&#xA;</init>

    &#xA;

    my command is

    &#xA;

    command : [-i, /data/user/0/videomaker.videostatusmaker.photo.to.video.maker.lyrical.lyrically/files/Lyrically_data/93_garmi/img_0.jpg, -i, /data/user/0/videomaker.videostatusmaker.photo.to.video.maker.lyrical.lyrically/cache/PictureCrop1599802574.jpg, -i, /data/user/0/videomaker.videostatusmaker.photo.to.video.maker.lyrical.lyrically/files/Lyrically_data/93_garmi/img_2.jpg, -i, /data/user/0/videomaker.videostatusmaker.photo.to.video.maker.lyrical.lyrically/files/Lyrically_data/93_garmi/background_video.mp4, -filter_complex, [3]split=2[color][alpha] ;[color]crop=iw/2:ih:0:0[color] ;[alpha]crop=iw/2:ih:iw/2:0[alpha] ;[color][alpha]alphamerge[ovrly] ;[0]scale=540:960,setsar=1[0_scalled] ;[1]scale=540:960,setsar=1[1_scalled] ;[2]scale=540:960,setsar=1[2_scalled] ;[0_scalled]zoompan=z='if(lte(zoom,-1.0),1.2,min(zoom+0.0006,1.2))':d=2510.41:s=540x960[v0] ;[1_scalled]zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0008))':d=2510.65:s=540x960[v1] ;[2_scalled]zoompan=z='if(lte(zoom,-1.0),1.2,min(zoom+0.0008,1.2))':d=25*9.94:s=540x960[v2] ;[v0][v1][v2]concat=n=3:v=1:a=0,format=yuv420p[concatenated_video] ;[concatenated_video][ovrly]overlay=0:0, -t, 31, -strict, -2, -c:a, copy, -flags, +global_header, /data/user/0/videomaker.videostatusmaker.photo.to.video.maker.lyrical.lyrically/files/Lyrically/Lyrically_1599802581317.mp4]

    &#xA;

  • What does "level" mean in FFprobe output ?

    8 mars 2017, par shintaroid

    I do not understand some attributes in the output by FFprobe

    For a sample file

    $ ffprobe -v error -show_format -show_streams input.mp4
    [STREAM]
    index=0
    codec_name=h264
    codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    profile=High
    width=320
    height=240
    has_b_frames=2
    pix_fmt=yuv420p
    level=13                &lt;= This one!
    color_range=N/A

    What does "level" mean here ? Is there any document explain those attributes ?