
Recherche avancée
Autres articles (98)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (10698)
-
FFMPeg stuck while processing a video
15 juin 2017, par Muhammad UmarI am trying to add slow motion to an FFMPEG video in android
On my terminal original query i use is
ffmpeg -i soon.mp4 -filter_complex "[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]" output.mp4
Here is my code in android,
String cmd = "/data/data/PACKAGE_NAME/files/ffmpeg -i "+ videoFileName +" -filter_complex [0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a] -map [v] -map [a] " + file.getAbsolutePath();
In Android , i have only removed
quotation marks
since ffmpeg is not recognising these.When i exceute FFMPEG,
following happensconfiguration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/x86 --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
06-15 22:07:01.340 11866-11866/PACKAGE_NAME D/WRITING:: libavutil 55. 17.103 / 55. 17.103
06-15 22:07:01.720 11866-11866/PACKAGE_NAME D/WRITING:: libavcodec 57. 24.102 / 57. 24.102
06-15 22:07:02.100 11866-11866/PACKAGE_NAME D/WRITING:: libavformat 57. 25.100 / 57. 25.100
06-15 22:07:02.510 11866-11866/PACKAGE_NAME D/WRITING:: libavdevice 57. 0.101 / 57. 0.101
06-15 22:07:02.900 11866-11866/PACKAGE_NAME D/WRITING:: libavfilter 6. 31.100 / 6. 31.100
06-15 22:07:03.290 11866-11866/PACKAGE_NAME D/WRITING:: libswscale 4. 0.100 / 4. 0.100
06-15 22:07:03.620 11866-11866/PACKAGE_NAME D/WRITING:: libswresample 2. 0.101 / 2. 0.101
06-15 22:07:03.980 11866-11866/PACKAGE_NAME D/WRITING:: libpostproc 54. 0.100 / 54. 0.100
06-15 22:07:04.320 11866-11866/PACKAGE_NAME D/WRITING:: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/Camera/V_20170204_181009.mp4':
06-15 22:07:04.720 11866-11866/PACKAGE_NAME D/WRITING:: Metadata:
06-15 22:07:05.050 11866-11866/PACKAGE_NAME D/WRITING:: major_brand : isom
06-15 22:07:05.450 11866-11866/PACKAGE_NAME D/WRITING:: minor_version : 0
06-15 22:07:05.860 11866-11866/PACKAGE_NAME D/WRITING:: compatible_brands: isom3gp4
06-15 22:07:05.870 230-230/? E/ia_watchdog: Refreshing Watchdog Timers
06-15 22:07:06.240 11866-11866/PACKAGE_NAME D/WRITING:: creation_time : 2017-02-04 13:10:13
06-15 22:07:06.850 11866-11866/PACKAGE_NAME D/WRITING:: Duration: 00:00:02.82, start: 0.000000, bitrate: 12760 kb/s
06-15 22:07:07.240 11866-11866/PACKAGE_NAME D/WRITING:: Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 12344 kb/s, SAR 1:1 DAR 16:9, 24.19 fps, 23.92 tbr, 90k tbn, 60 tbc (default)
06-15 22:07:07.620 11866-11866/PACKAGE_NAME D/WRITING:: Metadata:
06-15 22:07:07.990 11866-11866/PACKAGE_NAME D/WRITING:: rotate : 90
06-15 22:07:08.400 11866-11866/PACKAGE_NAME D/WRITING:: creation_time : 2017-02-04 13:10:13
06-15 22:07:08.870 11866-11866/PACKAGE_NAME D/WRITING:: handler_name : VideoHandle
06-15 22:07:09.880 11866-11866/PACKAGE_NAME D/WRITING:: Side data:
06-15 22:07:10.530 11866-11866/PACKAGE_NAME D/WRITING:: displaymatrix: rotation of -90.00 degrees
06-15 22:07:11.000 11866-11866/PACKAGE_NAME D/WRITING:: Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default)
06-15 22:07:11.530 11866-11866/PACKAGE_NAME D/WRITING:: Metadata:
06-15 22:07:12.120 11866-11866/PACKAGE_NAME D/WRITING:: creation_time : 2017-02-04 13:10:13
06-15 22:07:12.620 11866-11866/PACKAGE_NAME D/WRITING:: handler_name : SoundHandleAfter that nothing happens, FFMPEG seems like stuck in oblivion. Any ideas what could be wrong
-
ffmpeg null filter when configuring (no such filter 'eq')
20 octobre 2017, par DiolorI configure ffmpeg to compile it an Android gcc (among others) like that :
./configure --disable-filters --enable-filter=atrim,trim,eq
And this is the preview :
Enabled filters:
aformat anull atrim format null trimObviously the
eq
filter is missing and in it’s place it’s thenull
enabled filter. As expected theeq
filter is also missing from the executable binary and if we try use theeq
filter it will return :No such filter: 'eq', Error reinitializing filters!, Failed to inject frame into filter network:
Invalid argument, Error while processing the decoded data for stream #0:0, Conversion failed!Full configuration :
--prefix=/path/to/x86
--enable-static --disable-shared
--enable-small
--enable-cross-compile
--target-os=linux
--arch=x86
--sysroot=/path/to/sysroot
--cross-prefix=/path/to/i686-linux-android-
--enable-pic
--disable-ffplay
--disable-ffprobe
--disable-ffserver
--disable-doc
--disable-filters
--enable-filter=atrim,trim,eq
--disable-asm
--disable-debug
--extra-cflags=-I/path/to/usr/include -O3 -Wno-deprecated-declarations -fpie -pie -Wl,-z,relro,-z,now -march=i686 -m32 -mtune=intel -mssse3 -mfpmath=sse
--extra-ldflags=-L/path/to/usr/lib -fpie -pie -
How i can fix selected processor does not support Thumb mode `itt gt'
22 octobre 2017, par w liuWhen I compiled ffmpeg(version 3.3.4) for Android, I successfully compiled out .so, but there was an error while running the project.
C :\Users\admin\AppData\Local\Temp\ffmpeg-105062.s : Assembler messages :
C :\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43301 : Error : selected processor does not support Thumb modeitt gt'
C:\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43302: Error: thumb conditional instruction should be in IT block --movgt r6,r0’
C :\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43303 : Error : thumb conditional instruction should be in IT block —movgt r0,r1'
C:\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43305: Error: selected processor does not support Thumb modeit le’
C :\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43306 : Error : thumb conditional instruction should be in IT block —movle r0,r2'
C:\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43308: Error: selected processor does not support Thumb modeit gt’
C :\Users\admin\AppData\Local\Temp\ffmpeg-105062.s:43309 : Error : thumb conditional instruction should be in IT block — `movgt r6,r0’
clang.exe : error : assembler command failed with exit code 1 (use -v to see invocation)NDK=/root/Ndk/android-ndk-r14b
SYSROOT=$NDK/platforms/android-23/arch-arm/
TOOLCHAIN=/root/Ndk/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
function build_one
./configure \
—prefix=$PREFIX
—enable-shared
—disable-static
—disable-doc
—enable-ffmpeg
—disable-ffplay
—disable-ffprobe
—disable-ffserver
—disable-doc
—disable-symver
—enable-small
—cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
—target-os=linux
—arch=armv7-a
—enable-cross-compile
—sysroot=$SYSROOT
—extra-cflags="-march=armv7-a -mfloat-abi=softfp -mfpu=neon -D__ARM_ARCH_7__ -D__ARM_ARCH_7A__"
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make install
CPU=arm
PREFIX=/root/FFmpegOut/android/$CPU
build_one