
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (69)
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (9288)
-
Streaming Video from RTMP to EMGUCV
22 juillet 2017, par IsuruI’m trying to stream a webcam using RTMP to an EMGUCV project in order to process the video. I have set up a private RTMP server in a linux box using this tutorial,
https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/I’m testing the webcam stream using ffmpeg with the following commands,
-
Write to the rtmp server using,
ffmpeg -y -f vfwcap -framerate 25 -video_size 640x480 -i 0 -an -f flv rtmp://rtmp-server:1935/live/stream
-
Read from the rtmp server using,
ffplay -fflags nobuffer rtmp ://rtmp-server:1935/live/stream -loglevel verbose
I’m able to write a simple OpenCV C++ application to read the stream and display it. Code below,
cv::VideoCapture vcap;
cv::Mat image;
const std::string videoStreamAddress = "rtmp://rtmp-server:1935/live/stream";
if(!vcap.open(videoStreamAddress)) {
printf("Error opening video stream or file");
return -1;
}
cv::namedWindow("Output Window");
cv::Mat edges;
for(;;) {
if(!vcap.read(image)) {
printf("No frame");
cv::waitKey();
}
cv::imshow("Output Window", image);
if(cv::waitKey(1) >= 0) break;
}
return 0;The above code works properly. However when I try it using EMGUCV C#, I get the error message
unable to create to capture from rtmp://rtmp-server:1935/live/stream
This is my C# Code,
public partial class MainForm : Form
{
private static Capture _cameraCapture;
public MainForm()
{
InitializeComponent();
Run();
}
void Run()
{
try
{
_cameraCapture = new Capture("rtmp://192.168.56.101:1935/live/stream");
}
catch (Exception e)
{
MessageBox.Show(e.Message);
return;
}
}
}Do I need a specific build of EMGUCV with FFMPEG or is RTMP capturing not available in EMGUCV ?
-
-
Evolution #2173 (Résolu) : Date de création / publication
13 janvier 2018, par nico d_J’ai ajouté la doc du plugin : https://contrib.spip.net/ecrire/?exec=article&id_article=4967
Pas encore publiée, mais je propose de fermer ce ticket dès qu’elle le sera, et de continuer la discussion sur le forum du plugin sur contrib.
-
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>