
Recherche avancée
Autres articles (55)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (8433)
-
Error "Unable to find a suitable output format for" while Doing Overlay and Audio loop on Video
23 octobre 2020, par Vinesh Chauhani want to add image as watermark on video and also add music in loop as background music of video. i have set command of ffmpeg as below


ffmpeg -i input.mp4 -i 1.png -i 2.png -filter_complex "amovie=test.m4a:loop=0,volume=0.2[a2];[0]volume=0.5[a1];[a1][a2]amix[a3];[0][1]overlay=0:0:enable='between(t,2,5)'[ovrlay]" -map [ovrlay] -map [a3] -shortest -t 11 testVolumemp4AMixCheck.mp4



this command set is working fine in PC (ffmpeg.exe)


but when i tried to use this same command in android device it gave me error


[NULL @ 0x7af24c1000] Unable to find a suitable output format for [0]volume=0.5[a1]



can any one have idea about this ?


-
FFMPEG restream m3u8 to Youtube keeps returning "Failed to update header with correct duration & filesize" after 1st segment
12 septembre 2020, par user3263433I'm trying to retream a m3u8 live feed toYouTube but I keep running into errors.


When watching the feed in a webplayer it works fine.


The headers of the m3u8 file are as follow :


#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:127629
#EXT-X-DISCONTINUITY-SEQUENCE:0
#EXT-X-PROGRAM-DATE-TIME:2020-09-12T12:57:13.280Z



Here is the ffmpeg log :


frame= 226 fps= 25 q=29.0 size= 1303kB time=00:00:07.04 bitrate=1516.2kbits/frame= 238 fps= 

 25 q=23.0 size= 1414kB time=00:00:07.52 bitrate=1540.5kbits/[https @ 0x56067993d3c0] Opening 'fileurl.ts' for reading
 frame= 250 fps= 25 q=19.0 size= 1536kB time=00:00:08.00 bitrate=1572.8kbits/frame= 251 fps= 24 q=17.0 size= 1536kB time=00:00:08.04 bitrate=1565.3kbits/[flv @ 0x560679c4be40] 
Failed to update header with correct duration.
 [flv @ 0x560679c4be40] Failed to update header with correct filesize.
 frame= 251 fps= 22 q=-1.0 Lsize= 1851kB time=00:00:09.92 bitrate=1528.0kbits/s dup=0 drop=499 speed=0.859x



It seems like it loads 1 .ts file fine but fails after that.


I'm currently using :


ffmpeg -re -i (urlToM3U8) -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/(streamkey)



-
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 Android198I 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 byandroid: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
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
 at java.lang.Runtime.exec(Runtime.java:698)
 at java.lang.Runtime.exec(Runtime.java:563)
 at e.h.a.a.n.a(:10)
 at e.h.a.a.f.b(:38)
 at e.h.a.a.f.doInBackground(:10)
 at android.os.AsyncTask$3.call(AsyncTask.java:378)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
 at java.lang.Thread.run(Thread.java:919)
 Caused by: java.io.IOException: error=13, Permission denied
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.<init>(UNIXProcess.java:133)
 at java.lang.ProcessImpl.start(ProcessImpl.java:141)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
 at java.lang.Runtime.exec(Runtime.java:698) 
 at java.lang.Runtime.exec(Runtime.java:563) 
 at e.h.a.a.n.a(:10) 
 at e.h.a.a.f.b(:38) 
 at e.h.a.a.f.doInBackground(:10) 
 at android.os.AsyncTask$3.call(AsyncTask.java:378) 
 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
 at android.os.AsyncTas k$SerialExecutor$1.run(AsyncTask.java:289) 
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
 at java.lang.Thread.run(Thread.java:919) 
2020-09-09 14:37:27.079 22619-22619/E/MediaMetadataRetriever: setDataSource - FileNotFoundException`
</init>


my command is


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]