
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
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 -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (11535)
-
How to batch "touch" files in subfolder with data from parent folder
12 août 2019, par Constantine GrigorakisI have a folder named "Video" on my Desktop and inside that folder are a bunch of .MTS video files. (00000.MTS, 00001.MTS, 00002.MTS etc...)
There is also a subfolder "H.265" (Video > H.265) which contains files (00000.mp4, 00001.mp4, 00002.mp4 etc...) which were made by converting the files from the parent folder. The problem is they don’t contain the correct date created metadata.
I want to use the command
touch -r 00000.MTS 00000.mp4
touch -r 00001.MTS 00001.mp4
...
touch -r 000mn.MTS 000mn.mp4to copy the date from the MTS to the mp4 file.
Is there a way I could write a for loop or something to do this for every single file ?
I am using MacOS Mojave.
-
java.io.IOException : Cannot run program "/data/user/0/com.package.name/files/ffmpeg" : error=13, Permission denied
12 avril 2020, par KANAYO AUGUSTIN UGI am trying to cut a video using
FFmpeg
library fromcom.writingminds:FFmpegAndroid:0.3.2
...
When I try to run my command


String[] complexCommand = { "-y", "-i", inputFilePath,"-ss", "" + trimStart, "-t", "" + trim, "-c","copy", outputFilePath};
execFFmpegBinary(complexCommand);




I get this error :





E/FFmpeg : Exception while trying to run : [Ljava.lang.String ;@c7a48dd

 

java.io.IOException : Cannot run program "/data/user/0/com.package.name/files/ffmpeg" : error=13, Permission denied





Even after making sure the library loaded successfully



private void loadFFMpegBinary() {
 try {
 if (ffmpeg == null) {
 ffmpeg = FFmpeg.getInstance(cntxt);
 }
 ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
 @Override
 public void onFailure() {
 Log.i("success", "false");
 }

 @Override
 public void onSuccess() {
 Log.i("success", "true");
 }
 });
 } catch (FFmpegNotSupportedException e) {
 } catch (Exception e) {
 }
}




I have enabled
WRITE_PERMISSION
in Android.manifest file, and I also tried to write a file to the storage and it worked.


I guess FFmpeg has a default path to write a file which is
/data/user/0/com.package.name/files/ffmpeg
, but I need to change the default path please anyone with an idea ?

-
FFMPEG, running through subprocess, getting error : "pipe: : Invalid data found when processing input"
19 avril 2020, par mamba9999Im writing a program which getting the stream from ip camera, do with frame what i need and send to ffmpeg for transcoding. Then ffmpeg should convert video and send to output url.
But when i running script, i get the error : "pipe: : Invalid data found when processing input".
Im really newby in ffmpeg. Please help, what i doing wrong.




cap = cv2.VideoCapture("rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov")

command = [
 "ffmpeg",
 "-i", "-",
 "-f", "mpegts",
 "-vcodec", "mpeg1video",
 "-s", "960x540",
 "-b:v", "1000K",
 "-r", "30",
 "-bf", "0",
 "-codec:a", "mp2",

 "http://127.0.0.1:8888/yoursecret"
]

proc = subprocess.Popen(command, stderr=subprocess.PIPE, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
out, err = proc.communicate()


print(err)

while True:
 ret, frame = cap.read()
 # _, buf = cv2.imencode('.jpg', frame)
 # img_byte = io.BytesIO(buf.tobytes())
 try: 
 proc.stdin.write(frame.tostring())
 print("SENDED")
 except IOError as e:
 print(e) 
 proc.stdin.close()
 proc.wait() 

proc.stdin.close()
proc.wait()




Traceback



ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
pipe:: Invalid data found when processing input