
Recherche avancée
Autres articles (74)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (6409)
-
New Piwik 2.0 public beta for testers
16 octobre 2013, par mattDear Piwik community,
We are excited to announce the release of the first public beta version of Piwik 2.0.
This is software still in development and we really don’t recommend that you run it on a production site — set up a test database just to play with the new version.
Piwik 2.0 is a major update from Piwik 1.12 and is the result of 5 months of work on the platform !
What’s changed ?
We focused on upgrading Piwik source code quality and maintainability : upgraded to PHP 5.3 using namespaces, changed templating library to Twig, started using composer, using Less as well as css, improved QA tests, introduced new Screenshots tests, refactored translations to nice JSON format, refactored LOTS of code, added documentation….
There also performance improvements, in particular the “All Websites Dashboard” is now usable with 20,000+ websites !
Several bugs were fixed and we added some very-special-and-exciting new features.
See the list of closed tickets in Piwik 2.0, or learn more about our recent developments in the Development update blog post.
Piwik 2 is the open platform for your analytics data !
How to update to Piwik 2.0 beta ?
- You can tell Piwik to use the latest beta from within the user interface. See this FAQ : [piwik.org]
- or alternatively you may download the latest beta from the build server, upload these files on top of your existing piwik files, and visit Piwik to upgrade.
Beta cycle
The more you test the beta, the more stable our release candidates and our final release will be. If you think you’ve found a bug, you can post it in this forum post. Or, if you’re comfortable writing a reproducible bug report, file one. The stable Piwik 2.0 release is planned for mid-November !Happy testing,
PS : if you are interested in professional support for Piwik, or custom feature development, contact the Piwik experts.
-
ffmpeg - operation not permitted error while conversion
20 février 2012, par JomoosI am developing an android app. My requirement is that to implement an rtsp streaming server on android. It has to live stream video and audio captured using
MediaRecorder
. Another requirement is that I have to use live555 as the streaming server. What I get fromMediaRecorder
is in MP4 or 3GP format. live555 cannot able to stream both. But it can stream audio if I recorded it only in 'RAW_AMR' format. Since live555 support 'mpg' format for streaming, I decided to put someone in middle who can convert 'mp4' or '3gp' to 'mpg', and I chose ffmpeg.I have ported live555 and ffmpeg to android. ffmpeg is able to convert the file recorded by
MediaRecorder
once it is finished. But the problem is that ffmpeg cannot be able to do it concurrently. That is, ffmpeg is not able to convert the file while recording. It shows anOperation not permitted
error. I tried the same on my linux machine, using VLC to record instead ofMediaRecorder
on android. The result is same. ffmpeg is able to convert once the recording is finished, and not able to do the same while recording.Here is the ffmpeg command I issued on my linux box :
ffmpeg -v 9 -loglevel 99 -i test.mp4 test.mpg
Where
test.mp4
is the file to which VLC is recording inmp4
format. andtest.mpg
is my destination file. The following is the output by ffmpeg on terminal.ffmpeg version 0.8.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Feb 1 2012 18:29:27 with gcc 4.6.2 20111027 (Red Hat 4.6.2-1)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --enable-libcelt --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1672600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1672600] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1672600] moov atom not found
test.mp4: Operation not permittedWould anyone please tell me what is causing the problem ? Or is the scenario above is possible by ffmpeg. That is, is ffmpeg is able to do the conversion at the same time as that of recording ? If it is not possible by ffmpeg, would you please suggest any alternative solutions ?
NOTE : I am putting a
C
tag because if it possible by some tweaking in C on ffmpeg, I am ready to do that(I want the solution that badly). But please provide some pointers to the right direction. -
Undefined reference to FFMPEG function despite linking via CMake
8 mars, par MysticTortoiseI am attempting to integrate FFMPEG's libav library into my project. I use CMake and want to build FFmpeg from source since I want to configure things specifically for my use case. I have compiled the files into .a archive static libraries which are included in my project, but i continually get an error :


CMakeFiles/ffmpegtest.dir/main.cpp.obj:main.cpp:(.text+0xc): undefined reference to avformat_alloc_context


I've tried a variety of solutions online but none seem to work. I've stripped the project down to the bare minimum and yet it continues to produce this error.


Here is my
main.cpp


extern "C" {
 #include <libavutil></libavutil>frame.h>
 #include <libavutil></libavutil>mem.h>
 #include <libavcodec></libavcodec>avcodec.h>
 #include <libavformat></libavformat>avformat.h>
}

int main(){
 avformat_alloc_context();
 return 0;
}



And my
CMakeLists.txt


cmake_minimum_required(VERSION 3.24)
project(ffmpegtest)

add_executable(ffmpegtest main.cpp)

find_library(AVCODEC_LIB avcodec PATHS lib/ffmpeg/lib)
find_library(AVFORMAT_LIB avformat PATHS lib/ffmpeg/lib)
find_library(AVUTIL_LIB avutil PATHS lib/ffmpeg/lib)
find_library(AVDEVICE_LIB avdevice PATHS lib/ffmpeg/lib)

target_include_directories(ffmpegtest PRIVATE
 lib/ffmpeg/include
)


target_link_libraries(ffmpegtest
 ${AVCODEC_LIB} ${AVFORMAT_LIB} ${AVUTIL_LIB} ${AVDEVICE_LIB}
)



And finally, the configure script I have setup to build FFmpeg (stripped down)


./configure \
--disable-doc \
--enable-static \
--prefix=${ffmpegBuildDir}



(where ffmpegBuildDir is set elsewhere in the script. I have copied the .a files from that ffmpegBuildDir and into the corresponding directory into my stripped down test case.)


I don't know what could be causing issues here. What am I doing wrong ?


For additional info, here is the command that CMake spits out :


C:\WINDOWS\system32\cmd.exe /C "cd . && C:\devkitPro\msys2\mingw32\bin\c++.exe CMakeFiles/ffmpegtest.dir/main.cpp.obj -o ffmpegtest.exe -Wl,--out-implib,libffmpegtest.dll.a -Wl,--major-image-version,0,--minor-image-version,0 D:/Programming/ffmpegtest/lib/ffmpeg/lib/libavcodec.a D:/Programming/ffmpegtest/lib/ffmpeg/lib/libavformat.a D:/Programming/ffmpegtest/lib/ffmpeg/lib/libavutil.a D:/Programming/ffmpegtest/lib/ffmpeg/lib/libavdevice.a -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
C:/devkitPro/msys2/mingw32/bin/../lib/gcc/i686-w64-mingw32/14.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/ffmpegtest.dir/main.cpp.obj:main.cpp:(.text+0xc): undefined reference to avformat_alloc_context



EDIT : Here is exactly what i get from doing
nm libavformat.a | grep avformat_alloc_context


U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
0000000000000390 T avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context
 U avformat_alloc_context