
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
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
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (103)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (6852)
-
Anomalie #4701 (Fermé) : Jointures automatiques erronées ? (ex. : groupe au lieu de groupe_mots)
23 mars 2021(J’hésitais à classer le ticket dans le plugin mots, mais ça semble concerner les jointures en général donc j’ai mis dans spip. À déplacer si c’est pas le cas).
Graphie signalait une erreur sur contrib avec le plugin identifiants et une boucle sur les groupes de mots-clés.
La jointure automatique se fait bien, mais dans le where ça ne met pas le bon type d’objet :groupe
au lieu degroupe_mots
.En essayant de tracer un peu le problème, j’obtiens à une erreur similaire avec la dist, pour reproduire :
1. Ajouter un document à un groupe de mots-clé, lui donner « toto » comme titre.
2. Et tester la boucle suivante :<span class="CodeRay"><span class="tag">span><span class="error">(</span><span class="attribute-name">GROUPES_MOTS</span><span class="error">)</span> <span class="error">{</span><span class="attribute-name">documents.titre</span>=<span class="attribute-value">toto</span><span class="error">}</span><span class="tag">></span>
#ID_GROUPE
<span class="tag"></span>
</span></span>Dans spip_documents_liens on a le bon type d’objet
groupe_mots
, mais dans la requête même problème :groupe
au lieu degroupe_mots
- <span class="CodeRay"><span class="class">SELECT</span> L1.id_objet, L1.id_objet <span class="keyword">AS</span> id_groupe
- <span class="keyword">FROM</span> spip_documents_liens <span class="keyword">AS</span> <span class="string"><span class="delimiter">'</span><span class="content">L1</span><span class="delimiter">'</span></span>
- <span class="keyword">INNER</span> <span class="keyword">JOIN</span> spip_documents <span class="keyword">AS</span> L2 <span class="keyword">ON</span> ( L2.id_document = L1.id_document )
- <span class="keyword">WHERE</span> (L1.objet = <span class="string"><span class="delimiter">'</span><span class="content">groupe</span><span class="delimiter">'</span></span>)
- <span class="keyword">AND</span> (L2.titre = <span class="string"><span class="delimiter">'</span><span class="content">toto</span><span class="delimiter">'</span></span>)
- <span class="keyword">GROUP</span> <span class="keyword">BY</span> L1.id_objet
- </span>
Graphie signale que ça fonctionnait dans une version précédente de spip 3.3-dev, quelque chose a dû changer entre temps.
Je ne sais pas d’où sort ce "groupe", il est bien dans les alias de la table spip_groupes_mots mais c’est le dernier de la liste : https://git.spip.net/spip/mots/src/branch/master/base/mots.php#L152
Doit y avoir autre chose qui entre en jeu.- <span class="CodeRay"><span class="string"><span class="delimiter">'</span><span class="content">table_objet_surnoms</span><span class="delimiter">'</span></span> => <span class="predefined">array</span>(
- <span class="string"><span class="delimiter">'</span><span class="content">groupemot</span><span class="delimiter">'</span></span>,
- <span class="string"><span class="delimiter">'</span><span class="content">groupe_mots</span><span class="delimiter">'</span></span>
- <span class="comment">/*hum*/</span>,
- <span class="string"><span class="delimiter">'</span><span class="content">groupe_mot</span><span class="delimiter">'</span></span>
- <span class="comment">/* hum*/</span>,
- <span class="string"><span class="delimiter">'</span><span class="content">groupe</span><span class="delimiter">'</span></span>
- <span class="comment">/*hum (EXPOSE)*/</span>
- ),
- </span>
-
I Need Help Making Our FIRST Robotics Competition Driver Station Video Feed Faster [closed]
30 mars, par Joshua GreenI am currently using FFmpeg on a Raspberry Pi 4 Model B using an ArduCam UC-844 Rev. B as the camera. We do not need any audio and I don't care about the quality of the video. All we need is for the stream to be as fast as possible. The video from the camera is being streamed to the driver station via FFmpeg and being picked up on the driver station via FFplay. Right now we are getting a delay that we wish could go away or be significantly shortened. These are the commands we are using.


- 

-
Raspberry Pi :
ffmpeg -i /dev/video0 -c:v libx264 -crf 45 -maxrate 1M -bufsize 1.2M -preset ultrafast -tune zerolatency -filter:v fps=30 -f mpegts -omit_video_pes_length 0 udp://10.2.33.5:554


-
Driver Station :
ffplay -fflags nobuffer -flags low_delay -probesize 32 -analyzeduration 0 -f mpegts -vf setpts=0 udp://10.2.33.5:554








-
-
Pyspark : Use ffmpeg on the driver and workers
13 avril 2021, par Be Chiller TooI'm trying to process a batch of audio files on my Spark cluster (in Databricks). I have an init script that installs ffmpeg (with
apt
) and pydub (withpip
).

I have a Dataframe of the file paths I want to process, when I call my UDF that opens/processes/exports I sometimes get the following error :


pydub.exceptions.CouldntEncodeError: Encoding failed. ffmpeg/avlib returned error code: 1
...
[wav @ 0x1e1b4c0] Could not find codec parameters for stream 0 
(Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, 768 kb/s): unspecified sample format



that is to say, my UDF which uses pydub can correctly process some files, but for some other it fails. I checked with the
file
command, all these MP3 files seem to have the same configuration/codec. So I'm thinking that pyspark distributes the 'lines' in my dataframe to the driver and the worker, but only the driver has ffmpeg. So all the files that are processed by my worker fail.

Is my assumption correct ?


How can I solve this ? I don't know how to either :


- 

- Do the processing only on the driver (which has all the requirments)
- Install ffmpeg on the worker too