Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (104)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Submit enhancements and plugins

    13 avril 2011

    If 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 (13775)

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

  • Adding trimming option to Youtube-dl audio script

    22 septembre 2020, par Jim Jamil

    This is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.

    &#xA;

    @echo off&#xA;SETLOCAL ENABLEDELAYEDEXPANSION&#xA;(set /p var1="Url? " &amp;&amp; youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)&#xA;ENDLOCAL&#xA;pause&#xA;

    &#xA;

    After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.

    &#xA;

    Something like :

    &#xA;

    ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a&#xA;

    &#xA;

    Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469

    &#xA;

    The beginning and end times would need to be variables set by user input in 00:00:00 format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

    &#xA;

    The --embed-thumbnail is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use -vn on the final output file.

    &#xA;

  • FFmpeg output stopping early when piping through stdin

    6 juillet 2022, par Null User

    I am receiving audio data encoded using Ogg Vorbis through a stream, and piping that data to FFmpeg's stdin in order to convert it into Opus. Here is the command I'm using :

    &#xA;

    ffmpeg -hide_banner -i pipe: -acodec libopus -f opus -ar 48000 -ac 2 -b:a 64000 -filter_complex volume=0.2 pipe:1&#xA;

    &#xA;

    Unfortunately, the output audio stops a few seconds before the end of the file.

    &#xA;

    Looking at the FFmpeg logs, I can see this warning appear many times during the conversion :

    &#xA;

    [libopus @ 0000025190d06a00] Queue input is backward in time&#xA;    Last message repeated 9 times&#xA;size=     728kB time=00:00:45.05 bitrate= 132.4kbits/s speed=1.26x    &#xA;[libopus @ 0000025190d06a00] Queue input is backward in time&#xA;    Last message repeated 11 times&#xA;size=     793kB time=00:00:49.07 bitrate= 132.4kbits/s speed=1.24x    &#xA;[libopus @ 0000025190d06a00] Queue input is backward in time&#xA;    Last message repeated 8 times&#xA;

    &#xA;

    My guess is that for some reason the inputs I'm receiving are reversed, and on the last chunk of data the "end of stream" vorbis packet comes first, therefore FFmpeg stops processing the rest of the data.

    &#xA;

    Saving the stream to a file and encoding the file instead of the stream doesn't cause this to happen. This seems to be exclusive to stdin streams.

    &#xA;

    Is there a way to tell FFmpeg to ignore the "end of stream" signal ?

    &#xA;