
Recherche avancée
Autres articles (95)
-
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 (9218)
-
avformat_open_input failed at openning local rtmp stream
3 septembre 2019, par edhuI’m relatively new to this workflow and this might be a simple problem to solve. However, I haven’t found answers that matched exactly with my question. I’ve set up my nginx server with rtmp module and for testing purposes I used the following command to publish my stream :
ffmpeg -re -i -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream
After that, I launched up my application which is supposed to read the stream from the nginx server and it failed at
avformat_open_input(&ctx, szFilePath, NULL, NULL);
The returned error code is -5 and it signifies I/O issue. The
szFilePath
I passed in isrtmp://localhost/show/stream
and I assume this will automatically work since it works when I tried to play some mp4 sample files online. I also triedrtmp://localhost:1935/show/stream
and vice versa. I could view the stream being played in VLC but I can’t open it in the code. I’m not really sure what happened here. I feel like this isn’t necessarily a complicated issue but I don’t know where to start looking for possibles causes. I’d appreciate the help. Thanks ! -
avformat/utils : return pending IO error on EOF in av_read_frame()
24 août 2019, par Marton Balintavformat/utils : return pending IO error on EOF in av_read_frame()
avio_feof() returns true both in case of actual EOF and in case of IO errors.
Some demuxers (matroska) have special handling to be able to return the proper
error for this exact reason, e.g. :if (avio_feof(pb))
if (pb->error)
return pb->error ;
else
return AVERROR_EOF ;
However, most of the demuxers do not, and they simply return AVERROR_EOF if
avio_feof() is true, so there is a real chance that IO errors are mistaken for
EOF.We might just say that the API user should always check the IO context error
attribute on EOF to make sure no IO errors happened, but not even ffmpeg.c does
this. It should be more intuitive to the API user if we simply return the IO
error as the return value of av_read_frame() instead of AVERROR_EOF.Signed-off-by : Marton Balint <cus@passwd.hu>
-
Accidentally overwrote dylib files to usr/local/lib by copying lib from application bundle
21 août 2019, par random_permutationI overwrote some of my dylib files in /usr/local/bin/ and now I’m having issues running a program. Is there a way of restoring these files back ?
The program ffmpeg was running fine for me. Then I installed the program GPAC and did the following :
$ sudo cp MP4Box /usr/local/bin/
$ sudo cp -R /Applications/GPAC.app/Contents/MacOS/lib/* /usr/local/lib/I did this because it would allow me to run MP4Box from the command line since /usr/local/lib/ is in $PATH.
But now when I try running
$ ffmpeg
I get this error :
dyld : Library not loaded : /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib
Referenced from : /usr/local/bin/ffmpeg Reason : Incompatible library
version : ffmpeg requires version 10.0.0 or later, but
libSDL2-2.0.0.dylib provides version 5.0.0 Abort trap : 6I think what happened is : I overwrote some files into /usr/local/lib/ that I shouldn’t have done. In this case, I overwrote the version 10.0.0 libSDL2-2.0.0.dylib with version 5.0.0 from the GPAC app bundle.
I have tried using homebrew to uninstall and reinstall ffmpeg, hoping that it would see that it would need to update my dylib libraries.
$ brew uninstall ffmpeg
$ brew install ffmpeg
$ ffmpegBut this results in the same error.
Here is the list of all the files I copied from /Applications/GPAC.app/Contents/MacOS/lib/* to /usr/local/lib/
libSDL2-2.0.0.dylib libfreetype.6.dylib libplds4.dylib
liba52.0.dylib libgpac.dylib libpng16.16.dylib
libavcodec.58.dylib libjpeg.9.dylib libpostproc.55.dylib
libavdevice.58.dylib liblzma.5.dylib libssl.1.0.0.dylib
libavfilter.7.dylib libmad.0.dylib libswresample.3.dylib
libavformat.58.dylib libmozjs185.1.0.dylib libswscale.5.dylib
libavresample.4.dylib libmp3lame.0.dylib libtheora.0.dylib
libavutil.56.dylib libnspr4.dylib libvorbis.0.dylib
libcrypto.1.0.0.dylib libogg.0.dylib libx264.152.dylib
libfaad.2.dylib libplc4.dylib