
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (69)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
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 (...)
Sur d’autres sites (12121)
-
Heroku ffmpeg buildpack
20 octobre 2015, par Manuel QuintanillaPutting together the video upload section in my rails app and am having some issues with video play on mobile phones. Im using
paperclip-av-transcoder, s3 and Heroku
On my laptop I can visit the page and see the video thumbnails and play the videos only because I have previously installed ffmpeg to my machine.
Remotely on Heroku I’ve set the appropriate buildpacks for ffmpeg and have run push heroku master to install the buildpacks - Now when I visit the page on my mobile iPhone I don’t get a thumbnail but when I play the video it plays - on the other hand when I visit the page on my Android phone I don’t get a thumbnail and the video dose not play but I can upload mp4s on Android.
Check out my set up here : Heroku ffmpeg buildpacks for video uploads
It seems I don’t have the proper buildpack setup or some other heroku setting with ffmpeg.
Any suggestions ? Thanks in advance !
-
How to record a livestream in ffmpeg or gstreamer and split the files without skipping or duplicating frames
15 décembre 2020, par Blake CochraneCan somone please recommend a solution for safely recording a live stream to a file that would not produce a corrupted file if the system was unsavely shut down.


I am starting on a project using a battery powered Raspberry Pi 4B.
I am using GStreamer to use the ASIC for Raw Pi camera to h.264 compression to create a RTSP/HLS/RTMP stream.
I need to continuosly record the livestream to a file on the Pi without any duplicate & missing frames or transcoding - eg using -vcodec copy.
As the Pi is battery powered, it can be unsafely shut down randomly when the battery is out of energy.
I know that if a mp4 container isn't 'finalised' with the moov atom before the file finishes writing which would leave the file corrupted/unrepairable and unplayable.
So if I have an mp4 recording of 6 hours that is corrupted and unfixable that is a problem.
My idea was to split the recording to a new file after x amount of minutes or frames or bytes as losing the last few minutes is not so bad as to lose hours of recordings.
I would need to set the last frame in the old file as the previous frame to the next I frame (starting frame) in the new file as a h.264 stream can only start on an I frame.


So it would go like this.
file 1
| Frame |0001|I|
| --- | --- | --- |
|Frame|0002|P|
|Frame|0003|B|
...
| Frame |1524|B|
| --- | --- | --- |
| Frame |1525|P|


file 2
| Frame |1526|I|
| --- | --- | --- |
| Frame |1527|B|


Then all of the split files can be appended to each other without transcoding in ffmpeg.
I don't need to record the live stream directly to an mp4, whatever container it is in can be converted to an mp4 when appending the split files.


There is a python script of the Raspberry pi that accomplishes all of this but it can not be used for a live stream multicast as the Pi camera can not be accessed by more than one process at a time.
Unless there is a way to live stream the latest frames in an mp4 file that is continiously being recorded to, I am stuck.


-
error while install FFMPEG-PHP
30 juillet 2016, par Box LyricsI’m trying to install FFmpeg and FFMPEG-PHP .
The installation of FFmpeg is success but when i try to install FFMPEG-PHP i get this error# make
/bin/sh /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/libtool --mode=compile cc -I. -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/include -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/main -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c -o ffmpeg_movie.lo
libtool: compile: cc -I. -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -DPHP_ATOM_INC -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/include -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/main -I/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c -fPIC -DPIC -o .libs/ffmpeg_movie.o
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:42:32: error: libavcodec/version.h: No such file or directory
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:76:1: warning: "MAX_STREAMS" redefined
In file included from /root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:43:
/usr/include/libavformat/avformat.h:569:1: warning: this is the location of the previous definition
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘php_get_dict_value’:
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: ‘AVDictionaryEntry’ undeclared (first use in this function)
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: (Each undeclared identifier is reported only once
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: for each function it appears in.)
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:509: error: ‘m_entry’ undeclared (first use in this function)
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getPixelFormat’:
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:828: warning: assignment makes pointer from integer without a cast
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c: In function ‘_php_get_codec_name’:
/root/ffmpeg_sources/ffmpeg-php-0.6.0/ffmpeg-php/ffmpeg_movie.c:918: error: ‘AV_CODEC_ID_MPEG2TS’ undeclared (first use in this function)
make: *** [ffmpeg_movie.lo] Error 1this is what i have execute
# git clone https://github.com/tony2001/ffmpeg-php.git
# cd ffmpeg-php
# make clean
# phpize
# ./configure
# makewhen i search for a solution i found this :
If you get an error message like make : *** [ffmpeg_movie.lo] Error 1 open the ffmpeg_movie.c file and make the following changes :user@myVPS:~# vim ffmpeg_movie.c
Change list_entry *le ; to zend_rsrc_list_entry *le ;
Change list_entry new_le ; to zend_rsrc_list_entry new_le ;
Change hashkey_length+1, (void *)&new_le, sizeof(list_entry), to hashkey_length+1, (void *)&new_le,sizeof(zend_rsrc_list_entry),but when i check the ffmpeg_movie.c i found that is already fixed with this changes.
I can’t find the probleme