
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (94)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (7015)
-
Gstreamer errors when streaming on windows
19 juillet 2014, par user2656632I tried to streaming video by gstreamer using this :
Sender :
gst-launch ksvideosrc ! ffmpegcolorspace ! ffenc_mpeg2video gop-size=1 ! mpegtsmux ! rtpmp2tpay ! udpsink host=127.0.0.1 port=5000
Receiver :
gst-launch udpsrc port=5000 caps="application/x-rtp, media=video, clockrate=90000, encoding-name=MP2TS" ! rtpmp2tdepay ! ffdemux_mpegts ! ffdec_mpeg2video ! ffmpegcolorspace ! directdrawsink
It works, but wrong. I got very low fps and I got this output :
0:00:01.583091000 19496 02404840 ERROR ffmpeg .:0:: invalid mb
type in I Frame at 33 21
0:00:01.590091000 19496 02404840 ERROR ffmpeg .:0:: Warning MV
s not available
0:00:20.763188000 19496 02404840 ERROR ffmpeg .:0:: invalid mb
type in I Frame at 33 21
0:00:20.764188000 19496 02404840 ERROR ffmpeg .:0:: Warning MV
s not available
0:00:20.816191000 19496 02404840 ERROR ffmpeg .:0:: skipped MB
in I frame at 7 22
0:00:20.817191000 19496 02404840 ERROR ffmpeg .:0:: Warning MV
s not available
0:00:20.847192000 19496 02404840 ERROR ffmpeg .:0:: skipped MB
in I frame at 24 19
0:00:20.949198000 19496 02404840 ERROR ffmpeg .:0:: skipped MB
in I frame at 3 20
0:00:20.970199000 19496 02404840 ERROR ffmpeg .:0:: invalid mb
type in I Frame at 36 19
0:00:20.982200000 19496 02404840 ERROR ffmpeg .:0:: skipped MB
in I frame at 14 20
0:00:21.007202000 19496 02404840 ERROR ffmpeg .:0:: slice mism
atch
0:00:21.031203000 19496 02404840 ERROR ffmpeg .:0:: skipped MB
in I frame at 13 20
0:00:21.060205000 19496 02404840 ERROR ffmpeg .:0:: skipped MB
in I frame at 31 24How I can fix these issues ?
-
ffmpeg video stream to app c# [on hold]
3 septembre 2014, par Alexey MedvedevI am trying to make a video mixer for online broadcasts. To do this, I use ffmpeg and C #. I had a problem with the transfer of the video stream from ffmpeg to my program. I would like to receive a stream of ffmpeg using network protocols (e.g. TCP, UDP or others) or capturing if from ffplay window, but I don`t how I can do it. Can you give me some ideas ?
For example, I have command for ffmpeg : "ffmpeg -i video1.mp4 -f mpegts udp:127.0.0.1:5000" or same command with other output formats or network protocols. How i can read video stream from the port and convert it to Bitmap ?
I need to send video stream from my program from computer A to my program to computer B. I write program on C#. I dont know how I can compress video which I must send between my computers and I decided to use Ffmpeg. Now, I can streaming video from my program in computer A to ffmpeg and compress it with parameters which I need.
On second computer I can read this steam using ffmpeg or ffplay, but I don`t know how I can get this stream into my program.
1) How can I get this stream in my program ? Which libraries can you recommend me ?
2) Do you know any libraries which can compress video, instead of using ffmpeg ? -
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>