
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (58)
-
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 -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (10263)
-
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.
-
Is my packet format is correct for converting h.264 data to .mp4 using ffmpeg
29 décembre 2015, par dinesh aggarwalI am going to convert h.264 stream data to .mp4 using ffmpeg
SPS NALU:67 64 00 1F AC 56 50 20 06 1A 6E 04 04 04 0D A0 88 46 58
PPS NALU:28 EE 37 27
I made raw file using these above NALUs as follows :
|0x 00 00 00 01 | SPS | 0x 00 00 01 | PPS | frame data | 0x 00 00 01|
my raw file is here : https://www.dropbox.com/s/gc9s9mll6ev9aoq/sps_pps_payload?dl=0
and frame data it self : https://www.dropbox.com/s/ibs7io0aprpo66e/packet1?dl=0
using following command at ffmpeg :
ffmpeg.exe -f h264 -i RawInputFile -vcodec copy -r 25 OutPutFilename.mp4
But it always gives :
missing picture in access unit with size XXXXXno frame !
decoding for stream 0 failed
Could not find codec parameters for stream 0 : unspecified size
Where am i wrong ?
-
ffmpeg library Androd : permission denied rtsp
26 avril 2020, par DOMENICO TAFFURII'm trying to record an .mp4 file from rtsp source on Android using ffmpeg library. I enabled the permission for Writing external storage but I get "Permission denied" from rtsp source. If I use the same source on VLC, it works.



I/FFmpeg: Loading FFmpeg for armv7 CPU
I/System.out: INIZIO
W/VRSystemServiceManager: vr service is not alive
I/HwSecImmHelper: mSecurityInputMethodService is null
I/HwPointEventFilter: support AFT
I/System.out: [/data/user/0/com.example.rtsp/files/ffmpeg, -i, rtsp://xxxxxxx:xxxxx@ipAddress:554/stream2, -acodec, copy, -vcodec, copy, /storage/emulated/0/Movies/recording1.mp4]
 null
 null
 Calling by::className:com.github.hiteshsondhi88.libffmpeg.ShellCommand MethodName:run
I/OpenGLRenderer: Initialized EGL, version 1.4
W/linker: /vendor/lib64/libhwuibp.so: unused DT entry: type 0xf arg 0xe3a
I/System.out: PROGRESS: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
I/System.out: PROGRESS: built with gcc 4.8 (GCC)
 PROGRESS: configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --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/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --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=
 PROGRESS: libavutil 55. 17.103 / 55. 17.103
 PROGRESS: libavcodec 57. 24.102 / 57. 24.102
 PROGRESS: libavformat 57. 25.100 / 57. 25.100
 PROGRESS: libavdevice 57. 0.101 / 57. 0.101
 PROGRESS: libavfilter 6. 31.100 / 6. 31.100
 PROGRESS: libswscale 4. 0.100 / 4. 0.100
 PROGRESS: libswresample 2. 0.101 / 2. 0.101
 PROGRESS: libpostproc 54. 0.100 / 54. 0.100
 PROGRESS: rtsp://xxxxxxx:xxxxx@ipAddress:554/stream2: Permission denied
I/System.out: FAIL: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --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/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --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=
 libavutil 55. 17.103 / 55. 17.103
 libavcodec 57. 24.102 / 57. 24.102
 libavformat 57. 25.100 / 57. 25.100
 libavdevice 57. 0.101 / 57. 0.101
 libavfilter 6. 31.100 / 6. 31.100
 libswscale 4. 0.100 / 4. 0.100
 libswresample 2. 0.101 / 2. 0.101
 libpostproc 54. 0.100 / 54. 0.100
 rtsp://xxxxxxx:xxxxx@ipAddress/stream2: Permission denied
 FINISH