
Recherche avancée
Autres articles (91)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (21004)
-
FFmpeg file not found exception, No such file or directory
16 avril 2020, par SagarI am getting the
No such file or directory
exception on video trimming.


video path :
/storage/emulated/0/Pictures/Instagram/Fast & Furious 7 - Get Low Extended Version Video.mp4



file name :
Fast & Furious 7 - Get Low Extended Version Video.mp4



and ffmpeg searching for only
Fast
in/storage/emulated/0/Pictures/Instagram/Fast: No such file or directory




I have found the issue, it is causing due to the file name having spaces in between them you can check in the above mentioned path and in exception.



after changing the file name its working but the changing name of every file from the device it's not the right way so how can I solve this exception



FAILED with output : WARNING: linker: /data/user/0/com.example.SeekBarActivity/files/ffmpeg 
has text relocations. This is wasting memory and prevents security hardening.
Please fix. FFmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers

built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-
android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --
cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-
Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 
--enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig 
--enable-pthreads --disable-debug --disable-ffserver --enable-version3 --
enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --
enable-yasm --disable-doc --disable-shared --enable-static --pkg-
config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --
prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-
cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -
U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-
all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-
 android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-
 lpng -lexpat -lm' --extra-cxxflags=
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
 /storage/emulated/0/Pictures/Instagram/Fast: No such file or directory



-
How to increase performance of bitmap drawing on Android
20 avril 2012, par vitakotI created a movie player based on FFmpeg. It works fine. The decoding is quite fast, on LG P970 (Cortex A8 with Neon) I have an average 70 fps with 640 x 424 resolution video stream including YUV2RGB conversion. However, there is one bottleneck. It is drawing on Canvas.
I use jnigraphics native library to fill picture data into the bitmap in the native side and then I draw this bitmap on Canvas in SurfaceView. It is quite simple and common approach, but the drawing takes 44 ms for bitmap with 640 x 424 resolution which reduces fps to 23 and makes this technique unusable... It takes a lot more then the whole A/V frame decoding !
Is there any method how to draw bitmaps significantly faster ? I would prefer to render completely in the native code using OpenGLES 2, but I have read it also could be slow. So what now ?...
How can I render bitmaps as fast as possible ?
-
ffmpeg.so in PHP exec converting and no return
13 juin 2015, par TomI have seen many threads, but none working ones, so this is my issue :
I have server installed ffmpeg (ffmpeg-php version 0.7.0, PHP Version 5.4.41) Linux CentOS 6 64bit :
Using PHP :
exec('/usr/lib64/php/modules/ffmpeg.so -i test.mp4 testdone.avi',$out,$ret);
or
exec('/usr/lib64/php/modules/ffmpeg.so -i /var/www/html/test.mp4 /var/www/html/testdone.avi',$out,$ret);
or
exec('/usr/lib64/php/modules/ffmpeg.so -i /var/www/html/test.mp4 /var/www/html/testdone.avi'.' 2>&1',$out,$ret);
the ffmpeg is actually found, but always returns :
array(0) { } int(11)
and with2>&1
returnsarray(0) { } int(139)
and does not return anything else liketestdone.avi in the directory or -version
(in the directory). Directories /var/www/html/ are set to 777.Thank you, should I hire someone to fix this or am I missing something in PHP.