
Recherche avancée
Autres articles (107)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (5099)
-
How can I reset the path of FFMPEG in Java ?
4 avril 2017, par FiggyjaI accidentally set the path for FFMPEG to a different folder, and I can’t change it back.
I’m using Processing (the API and its IDE) and the user created Video Export library to capture and write an mp4 video file. The library required FFMPEG, so I downloaded and installed it. After I installed it, I ran the code, and the library called Java to request the path of FFMPEG. I wrongly set the path to a different folder, which I eventually deleted. I knew I set it to the wrong folder, and ran the code again to see if I could trigger the Java prompt again to reset the folder.
The console response I received was : (I’m sure most of it doesn’t have to do with the actual issue. However, I wanted to show all of it in case it somehow does.)
Oct 24, 2016 10:23:25 PM java.util.prefs.WindowsPreferences
WARNING : Could not open/create prefs root node Software\JavaSoft\Prefs
at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
java.io.IOException : Cannot run program
"C :...\Processing\Octree_Graphics\data\FFMPEG\ff-prompt.bat" :
CreateProcess error=2, The system cannot find the file specified at
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at
com.hamoid.VideoExport.startFfmpeg(Unknown Source) at
com.hamoid.VideoExport.initialize(Unknown Source) at
com.hamoid.VideoExport.saveFrame(Unknown Source) at
Octree_Graphics.draw(Octree_Graphics.java:90) at
processing.core.PApplet.handleDraw(PApplet.java:2399) at
processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:731)
at
jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at
jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at
jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at
jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759) at
com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at
com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.util.TimerThread.mainLoop(Timer.java:555) at
java.util.TimerThread.run(Timer.java:505) Caused by :
java.io.IOException : CreateProcess error=2, The system cannot find the
file specified at java.lang.ProcessImpl.create(Native Method) at
java.lang.ProcessImpl.(ProcessImpl.java:386) at
java.lang.ProcessImpl.start(ProcessImpl.java:137) at
java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 17 more
VideoExport error : Ffmpeg failed. Study
C :...\Processing\Octree_Graphics\basic.mp4.txt for more details.
I need to find a way to reset the path of FFMPEG that Java has. I have tried uninstalling and reinstalling the library, but I haven’t tried Java (I don’t want to mess with anything it has in its current state).
P.S. The file listed at the end of the console response (basic.mp4.txt) was empty because it had not begun writing to the file yet.
-
ffmpeg : Could not negotiate a supported cipher suite
9 novembre 2016, par bot1131357I am trying to securely rtsp stream between two consoles on my computer.
On the listening console I have :
ffplay -rtsp_flags listen rtsps://127.0.0.1:8554/live.sdp?cert=domain.crt"&"key=domain.key
On the streaming console I have :
ffmpeg -f lavfi -i smptebars -c:v libvpx -f rtsp -rtsp_transport tcp rtsps://127.0.0.1:8554/live.sdp
When I run ffmpeg on the second console, ffplay (1st console) returns with the following message :
[tls @ 0x7f3eb8005be0] error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher
[rtsp @ 0x7f3eb80008c0] Unable to open RTSP for listening
rtsps://127.0.0.1:8554/live.sdp?cert=domain.crt&key=domain.key: Input/output errorThe second console shows this :
Input #0, lavfi, from 'smptebars':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[libvpx @ 0x120f8c0] v1.6.0-322-gc325fb7
[tls @ 0x12340e0] Unable to negotiate TLS/SSL session
Could not write header for output file #0 (incorrect codec parameters ?): Input/output errorStream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> vp8 (libvpx))
Last message repeated 1 timesI get the feeling that the command syntax that I use is incorrect, but I was unable to find much resources on this on the internet.
Can someone point me in the right direction ?
My build (Ubuntu 14.04 LTS)
ffmpeg version N-82143-gbf14393 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --prefix=/home/reccsi/Dev/build-x64/ffmpeg-x64/ --target-os=linux --pkg-config-flags=--static --enable-shared --enable-libvpx --enable-libvorbis --enable-openssl --enable-pic --enable-debug -
concatenate encrypted m3u8 ts video segments into a whole
20 octobre 2016, par iMathThe m3u8 content
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:5
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="http://www.gaiamount.com/keys/3958/4k",IV=0x440796ac5ac10cc577f9bec05cd042ef
#EXTINF:5.000000,
/seg/u116/v810_mp4_0000.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0001.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0002.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0003.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0004.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0005.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0006.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0007.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0008.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0009.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0010.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0011.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0012.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0013.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0014.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0015.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0016.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0017.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0018.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0019.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0020.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0021.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0022.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0023.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0024.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0025.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0026.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0027.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0028.ts
#EXTINF:5.000000,
/seg/u116/v810_mp4_0029.ts
#EXTINF:4.760000,
/seg/u116/v810_mp4_0030.ts
#EXT-X-ENDLISTI’ve already download all the ts video segments using another Downloader , then try to follow the method to concatenate these ts video segments into a whole , however the ffmpeg complains the following
C:\Users\i>ffmpeg -f concat -i mylist.txt -c copy output.ts
ffmpeg version N-81475-gdc7e5ad Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dx
va2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-lib
ebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --ena
ble-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfree
type --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enab
le-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-lib
openh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschr
oedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheor
a --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvo
rbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --ena
ble-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --e
nable-decklink --enable-zlib
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 54.100 / 57. 54.100
libavformat 57. 48.100 / 57. 48.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 57.100 / 6. 57.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[concat @ 03e30fe0] Impossible to open 'C:/Users/i/AppData/Roaming/iMath/01.ts'
mylist.txt: Invalid data found when processing input
C:\Users\i>so (1)what should I do to concatenate these encrypted m3u8 ts video segments into a whole ?
(2) Any way to get the video byte size an m3u8 url referenced to ?