
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (86)
-
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 (...) -
Le profil des utilisateurs
12 avril 2011, parChaque 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 (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (11855)
-
Converting images to video in Android using FFmpeg
28 février 2024, par sneha Lathaval cm = "-f image2 -i \"$imagesFolder/JPEG_08%d_06%d_.jpg\" -vcodec mpeg4 -b 800k output.mp4"



this command is not able to .convert the images into video my images are in the format below :


JPEG_20240228_115618_ 
JPEG_20240228_115622_



Im using the below code :


fun convertImagesToVideo(imageList: List<file>, outputVideoPath: String, frameRate: Int) {
 val inputFiles = imageList.joinToString(" ") { it.absolutePath }
 val imagesFolder = File(getExternalFilesDir(Environment.DIRECTORY_PICTURES), "camerax")

 val cm = "-f image2 -i \"$imagesFolder/JPEG_08%d_06%d_.jpg\" -vcodec mpeg4 -b 800k output.mp4"


 val cmd = arrayOf(
 "-framerate", frameRate.toString(),
 inputFiles,
 "-c:v", "mpeg4",
 "-pix_fmt", "yuv420p",
 outputVideoPath
 ).joinToString(" ")

 executeFfmpegCommand(cm, outputVideoPath)
 }

 fun executeFfmpegCommand(exe: String, filePath: String) {

 //creating the progress dialog
 val progressDialog = ProgressDialog(this@FolderListActivity)
 progressDialog.setCancelable(false)
 progressDialog.setCanceledOnTouchOutside(false)
 progressDialog.show()

 /*
 Here, we have used he Async task to execute our query because if we use the regular method the progress dialog
 won't be visible. This happens because the regular method and progress dialog uses the same thread to execute
 and as a result only one is a allowed to work at a time.
 By using we Async task we create a different thread which resolves the issue.
 */
 FFmpegKit.executeAsync(exe, { session ->
 val returnCode = session.returnCode
 lifecycleScope.launch(Dispatchers.Main) {
 if (returnCode.isValueSuccess) {
 binding.videoView.setVideoPath(filePath)
 //change the video_url to filePath, so that we could do more manipulations in the
 //resultant video. By this we can apply as many effects as we want in a single video.
 //Actually there are multiple videos being formed in storage but while using app it
 //feels like we are doing manipulations in only one video
 input_video_uri = filePath
 //play the result video in VideoView
 binding.videoView.start()
 progressDialog.dismiss()
 Toast.makeText(this@FolderListActivity, "Filter Applied", Toast.LENGTH_SHORT).show()
 } else {
 progressDialog.dismiss()
 Log.d("TAG", session.allLogsAsString)
 Toast.makeText(this@FolderListActivity, "Something Went Wrong!", Toast.LENGTH_SHORT)
 .show()
 }
 }
 }, { log ->
 lifecycleScope.launch(Dispatchers.Main) {
 progressDialog.setMessage("Applying Filter..${log.message}")
 }
 }) { statistics -> Log.d("STATS", statistics.toString()) }
 }
</file>


-
avformat/movenc : Check pal_size before use
29 mai 2021, par Michael Niedermayer -
ffmpeg webcam stream on windows to sdl
17 janvier 2021, par user3705497Hi I am trying to display webcam stream on windows.


I can use "ffplay" but I want to use "ffmpeg" command.


c:\>ffmpeg -f dshow -i video="USB2.0 VGA UVC WebCam" -f sdl test
ffmpeg version 2020-12-27-git-bff6fbead8-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 56. 62.100 / 56. 62.100
 libavcodec 58.115.102 / 58.115.102
 libavformat 58. 65.100 / 58. 65.100
 libavdevice 58. 11.103 / 58. 11.103
 libavfilter 7. 94.100 / 7. 94.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, dshow, from 'video=USB2.0 VGA UVC WebCam':
 Duration: N/A, start: 92136.240000, bitrate: N/A
 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Output #0, sdl,sdl2, to 'test':
 Metadata:
 encoder : Lavf58.65.100
 Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422(progressive), 640x480, q=2-31, 147456 kb/s, 30 fps, 30 tbn
 Metadata:
 encoder : Lavc58.115.102 rawvideo
av_interleaved_write_frame(): Operation not permitted
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=0.448x
video:600kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!



The following works though :


ffmpeg -i file.webm -f sdl test



Any ideas why the failure ?