
Recherche avancée
Autres articles (39)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (4846)
-
How to record UDP stream with FFMPEG in chunks ?
30 janvier 2018, par user1394281I’m looking for a way to record a video UDP stream using ffmpeg but in 10mn chunks.
I currently use the following to get 10mn of video (with h264 transcoding)."ffmpeg -i udp ://239.0.77.15:5000 -map 0:0 -map 0:1 -s 640x360 -vcodec libx264 -g 100 -vb 500000 -r 25 -strict experimental -vf yadif -acodec aac -ab 96000 -ac 2 -t 600 -y /media/test.m4 "
My problem is that using command line ffmpeg needs time to resync with the udp stream loosing 2 seconds of video each time. Is it normal ?
Any idea if there is a way to do it in command line or should I tried to use the ffmpeg API ?
Thanks in advance
-
ffmpeg image and flask app in two different containers in Docker compose. How do I use ffmpeg in flask app ?
14 novembre 2017, par Conor QuinnHere is my docker compose yml file :
ffmpeg:
image: jrottenberg/ffmpeg:ubuntu
tty: true
flask_app:
build: ./flask_app
#image: conorquinn01/composeapp
command: python ./flask_app/app.py
ports:
- "5000:5000"
volumes:
- .:/muse_compose2
links:
['ffmpeg']Not sure how to do this. Thanks.
-
Gstreamer channel reordering failed
31 octobre 2017, par user972851I installed the library essentia which causes my previously working pipeline to crash :
** (gst-launch-1.0:22515): CRITICAL **: gst_audio_reorder_channels: assertion 'size % ((info->width * channels) / 8) == 0' failed
ERROR: from element /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0: Channel reordering failed.
Additional debug info:
gstrtpL16depay.c(276): gst_rtp_L16_depay_process (): /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0The pipeline looks like this :
udpsrc port=5000 ! application/x-rtp,media=(string)audio,channels=1, clock-rate=(int)44100,encoding-name=(string)L16,payload=10 ! rtpL16depay ! audioconvert ! tee name=t ! queue ! autoaudiosink sync=false t. ! queue ! appsink name=codesink
I am using gstreamer 1.0 on Ubuntu 16.04 and (re-)installed the libraries mentioned in the essentia doc :
build-essential libyaml-dev libfftw3-dev libavcodec-dev libavformat-dev libavutil-dev libavresample-dev python-dev libsamplerate0-dev libtag1-dev
python-numpy-dev python-numpy python-yaml
ffmpegThe essentia install script finished ’successfully’ even though I cannot find MonoLoader or any other Audioloader.... (so still something wrong with essentia as well, but thats not the main problem !)
Cleaned out parts of the gstreamer debug log look like this :
0:00:00.149495849 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin106>[00m g_dir_open(/dev/v4l2) failed: Error opening directory '/dev/v4l2': No such file or directory
0:00:00.149807870 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/home/xxx/.frei0r-1/lib) failed: Error opening directory '/home/xxx/.frei0r-1/lib': No such file or directory
0:00:00.149823765 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/lib/x86_64-linux-gnu/frei0r-1) failed: Error opening directory '/usr/lib/x86_64-linux-gnu/frei0r-1': No such file or directory
0:00:00.149836069 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/lib/frei0r-1) failed: Error opening directory '/usr/lib/frei0r-1': No such file or directory
0:00:00.149847527 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/local/lib/frei0r-1) failed: Error opening directory '/usr/local/lib/frei0r-1': No such file or directory
0:00:00.149859202 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/lib32/frei0r-1) failed: Error opening directory '/usr/lib32/frei0r-1': No such file or directory
0:00:00.149870221 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/local/lib32/frei0r-1) failed: Error opening directory '/usr/local/lib32/frei0r-1': No such file or directory
0:00:00.149881462 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/lib64/frei0r-1) failed: Error opening directory '/usr/lib64/frei0r-1': No such file or directory
0:00:00.149893070 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstplugin.c:1549:gst_plugin_ext_dep_scan_dir_and_match_names:<plugin223>[00m g_dir_open(/usr/local/lib64/frei0r-1) failed: Error opening directory '/usr/local/lib64/frei0r-1': No such file or directory
0:00:00.186559327 [334m22515[00m 0xf93a80 [33;01mWARN [00m [00m rtpL16depay gstrtpL16depay.c:276:gst_rtp_L16_depay_process:<rtpl16depay0>[00m error: Channel reordering failed.
0:00:00.186574584 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01;37;41m GST_MESSAGE gstelement.c:1848:gst_element_message_full:<rtpl16depay0>[00m start
0:00:00.186589070 [334m22515[00m 0xf93a80 [36mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1879:gst_element_message_full:<rtpl16depay0>[00m posting message: Channel reordering failed.
0:00:00.186619665 [334m22515[00m 0xf93a80 [33;01mWARN [00m [00m structure gststructure.c:1935:priv_gst_structure_append_to_gstring:[00m No value transform to serialize field 'gerror' of type 'GError'
0:00:00.186613247 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:311:gst_bus_post:<bus1>[00m [msg 0xfc44c0] posting on bus error message: 0xfc44c0, time 99:99:99.999999999, seq-num 59, element 'rtpl16depay0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstrtpL16depay.c\(276\):\ gst_rtp_L16_depay_process\ \(\):\ /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0";
0:00:00.186641091 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01m bin gstbin.c:3533:gst_bin_handle_message_func:<pipeline0>[00m [msg 0xfc44c0] handling child rtpl16depay0 message of type error
0:00:00.186649484 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01m bin gstbin.c:3540:gst_bin_handle_message_func:<pipeline0>[00m got ERROR message, unlocking state change
0:00:00.186656312 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01m bin gstbin.c:3870:gst_bin_handle_message_func:<pipeline0>[00m posting message upward
0:00:00.186665962 [334m22515[00m 0xf93a80 [33;01mWARN [00m [00m structure gststructure.c:1935:priv_gst_structure_append_to_gstring:[00m No value transform to serialize field 'gerror' of type 'GError'
0:00:00.186662657 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:311:gst_bus_post:<bus2>[00m [msg 0xfc44c0] posting on bus error message: 0xfc44c0, time 99:99:99.999999999, seq-num 59, element 'rtpl16depay0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstrtpL16depay.c\(276\):\ gst_rtp_L16_depay_process\ \(\):\ /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0";
0:00:00.186688725 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:350:gst_bus_post:<bus2>[00m [msg 0xfc44c0] pushing on async queue
0:00:00.186706354 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:353:gst_bus_post:<bus2>[00m [msg 0xfc44c0] pushed on async queue
0:00:00.186713847 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:346:gst_bus_post:<bus1>[00m [msg 0xfc44c0] dropped
0:00:00.186720541 [334m22515[00m 0xf93a80 [36mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1902:gst_element_message_full:<rtpl16depay0>[00m posted error message: Channel reordering failed.
0:00:00.186729277 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01;34m GST_MEMORY gstmemory.c:87:_gst_memory_free:[00m free memory 0x7f7780004b80
0:00:00.186737518 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01;35m GST_SCHEDULING gstpad.c:4192:gst_pad_chain_data_unchecked:[00m called chainfunction &0x7f77a1a9ae00 with buffer 0x7f7780016060, returned ok
0:00:00.186746868 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01;35m GST_SCHEDULING gstpad.c:4192:gst_pad_chain_data_unchecked:[00m called chainfunction &gst_base_transform_chain with buffer 0x7f7780016060, returned ok
0:00:00.186734973 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:523:gst_bus_timed_pop_filtered:<bus2>[00m got message 0xfc44c0, error from rtpl16depay0, type mask is 4294967295
0:00:00.186759208 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00m basesrc gstbasesrc.c:2456:gst_base_src_get_range:<udpsrc0>[00m calling create offset 18446744073709551615 length 4096, time 0
0:00:00.186808915 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01;34m GST_MEMORY gstmemory.c:138:gst_memory_init:[00m new memory 0x7f7780017ae0, maxsize:901 offset:0 size:894
0:00:00.186812210 [334m22515[00m 0xd96a00 [33;01mWARN [00m [00m structure gststructure.c:1935:priv_gst_structure_append_to_gstring:[00m No value transform to serialize field 'gerror' of type 'GError'
0:00:00.186798035 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:791:gst_bus_source_dispatch:<bus2>[00m source 0xfc0b60 calling dispatch with error message: 0xfc44c0, time 99:99:99.999999999, seq-num 59, element 'rtpl16depay0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstrtpL16depay.c\(276\):\ gst_rtp_L16_depay_process\ \(\):\ /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0";
0:00:00.187438285 [334m22515[00m 0xf93a80 [33;01mWARN [00m [00m rtpL16depay gstrtpL16depay.c:276:gst_rtp_L16_depay_process:<rtpl16depay0>[00m error: Channel reordering failed.
0:00:00.187861496 [334m22515[00m 0xf93a80 [36mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1879:gst_element_message_full:<rtpl16depay0>[00m posting message: Channel reordering failed.
0:00:00.187870817 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;31m GST_STATES gstelement.c:2523:gst_element_set_state_func:<autoaudiosink0>[00m set_state to PAUSED
0:00:00.187917831 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;31m GST_STATES gstelement.c:2561:gst_element_set_state_func:<autoaudiosink0>[00m current READY, old_pending PAUSED, next PAUSED, old return ASYNC
0:00:00.187926145 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;31m GST_STATES gstelement.c:2615:gst_element_set_state_func:<autoaudiosink0>[00m element was busy with async state change
0:00:00.187931662 [334m22515[00m 0xf93a80 [33;01mWARN [00m [00m structure gststructure.c:1935:priv_gst_structure_append_to_gstring:[00m No value transform to serialize field 'gerror' of type 'GError'
0:00:00.187932562 [334m22515[00m 0xd96a00 [36mINFO [00m [00;01;31m GST_STATES gstbin.c:2770:gst_bin_change_state_func:<pipeline0>[00m child 'autoaudiosink0' is changing state asynchronously to PAUSED
0:00:00.187919799 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:311:gst_bus_post:<bus1>[00m [msg 0xfc4540] posting on bus error message: 0xfc4540, time 99:99:99.999999999, seq-num 60, element 'rtpl16depay0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstrtpL16depay.c\(276\):\ gst_rtp_L16_depay_process\ \(\):\ /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0";
0:00:00.187957346 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01m bin gstbin.c:2182:gst_bin_sort_iterator_next:<pipeline0>[00m queue head gives queue0
0:00:00.187965818 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01m bin gstbin.c:3533:gst_bin_handle_message_func:<pipeline0>[00m [msg 0xfc4540] handling child rtpl16depay0 message of type error
0:00:00.187975510 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01m bin gstbin.c:882:find_message:<pipeline0>[00m no message found matching types 00001000
0:00:00.187996861 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01m bin gstbin.c:889:find_message:<pipeline0>[00m structure-change
0:00:00.188003444 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01m bin gstbin.c:2098:update_degree:<pipeline0>[00m change element audioconvert0, degree 1->0, linked to queue0
0:00:00.188010702 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01m bin gstbin.c:1981:add_to_queue:<pipeline0>[00m adding 'audioconvert0' to queue
0:00:00.188019716 [334m22515[00m 0xd96a00 [36mINFO [00m [00;01;31m GST_STATES gstbin.c:2316:gst_bin_element_set_state:<queue0>[00m current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:00.188021589 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;01m bin gstbin.c:3540:gst_bin_handle_message_func:<pipeline0>[00m got ERROR message, unlocking state change
0:00:00.188204142 [334m22515[00m 0xf93a80 [33;01mWARN [00m [00m structure gststructure.c:1935:priv_gst_structure_append_to_gstring:[00m No value transform to serialize field 'gerror' of type 'GError'
0:00:00.188196343 [334m22515[00m 0xf93a80 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:311:gst_bus_post:<bus2>[00m [msg 0xfc4540] posting on bus error message: 0xfc4540, time 99:99:99.999999999, seq-num 60, element 'rtpl16depay0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstrtpL16depay.c\(276\):\ gst_rtp_L16_depay_process\ \(\):\ /GstPipeline:pipeline0/GstRtpL16Depay:rtpl16depay0";
0:00:00.188532703 [334m22515[00m 0xf93a80 [36mINFO [00m [00;01;31;47m GST_ERROR_SYSTEM gstelement.c:1902:gst_element_message_full:<rtpl16depay0>[00m posted error message: Channel reordering failed.
0:00:00.199466751 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;43m GST_BUS gstbus.c:523:gst_bus_timed_pop_filtered:<bus2>[00m got message 0xfc4540, error from rtpl16depay0, type mask is 4294967295
0:00:00.203389413 [334m22515[00m 0xd96a00 [37mDEBUG [00m [00;01;36m GST_PLUGIN_LOADING gstpluginfeature.c:66:gst_plugin_feature_finalize:[00m finalizing feature 0xf69ea0: 'errorignore'
</bus2></rtpl16depay0></bus2></pipeline0></queue0></pipeline0></pipeline0></pipeline0></pipeline0></pipeline0></pipeline0></bus1></pipeline0></autoaudiosink0></autoaudiosink0></autoaudiosink0></rtpl16depay0></rtpl16depay0></bus2></udpsrc0></bus2></rtpl16depay0></bus1></bus2></bus2></bus2></pipeline0></pipeline0></pipeline0></bus1></rtpl16depay0></rtpl16depay0></rtpl16depay0></plugin223></plugin223></plugin223></plugin223></plugin223></plugin223></plugin223></plugin223></plugin106>