Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (79)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (5130)

  • Invalid data found when processing input when using Streaming Discord Bot (python)

    4 mai 2022, par DimKewl

    After refactoring and working on all possible solutions I could find on google
I always get the following error :

    


    Invalid data found when processing input

    


    My code snippet :

    


     FFMPEG_OPTIONS = {
    "before_options": "-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5",
    "options": "-vn -sn -dn"
}
@commands.command()
async def radio(self,ctx,url):
    await self.joinLogic(ctx)
    await self.playStreamOpus(ctx,url)

async def joinLogic(self, ctx):
    if ctx.author.voice is None:
        await ctx.send("Please join a voice channel!")
    else:
        voice_channel = ctx.author.voice.channel
        if ctx.voice_client is None:
            await voice_channel.connect()

async def playStreamOpus(self, ctx, url):
    source = await discord.FFmpegOpusAudio.from_probe(url, **self.FFMPEG_OPTIONS)
    ctx.voice_client.play(source)


    


    What have I already tried :

    


      

    • Re-install all dependencies on pip.
    • 


    • A variety of streaming links that were working in the past for the same code.
    • 


    • Tried the PCM instead of Opus.
    • 


    • Different streaming URLs.
    • 


    • More options in FFMPEG_Options to explicit that I need only audio.
    • 


    • Made sure that my bot is joined in my channel and can reach other places in my code.
    • 


    


    Streaming (sample) links I tried (worked before) :

    


    


    Full FFmpeg options from Debugger console :
['ffmpeg', '-reconnect', '1', '-reconnect_streamed', '1', '-reconnect_delay_max', '5', '-i', 'http://www.e-radio.gr/Radio-Polis-994-Larisa-i54/live', '-map_metadata', '-1', '-f', 'opus', '-c:a', 'libopus', '-ar', '48000', '-ac', '2', '-b:a', 'Nonek', '-loglevel', 'warning', '-vn', 'pipe:1']

    


    Youtube links work just fine in a similar method in the class.

    


    async def playYouTube(self,ctx,url): 
   await self.joinLogic(ctx) 
   YDL_OPTIONS = { "format": "bestaudio" }
   voiceClient = ctx.voice_client 

   with youtube_dl.YoutubeDL(YDL_OPTIONS) as youTube: 
       info = youTube.extract_info(url, download=False) 
       formattedUrl = info['formats'][0]['url'] 
       source = await discord.FFmpegOpusAudio.from_probe(formattedUrl, **self.FFMPEG_OPTIONS)
       voiceClient.play(source) 


    


    So most likely the problem lies with the URLs, which still boggles me cause they were working before ?

    


    Any insights will be highly appreciated !

    


  • Matomo maker InnoCraft named 2023 Hi-Tech Awards finalist

    20 avril 2023, par Erin — Press Releases

    WELLINGTON, N.Z., April 20, 2023 – InnoCraft, the makers of world-leading open-source web analytics platform Matomo, has been named an ASX Hi-Tech Emerging Company of the Year finalist in the 2023 Hi-Tech Awards. 



    Matomo founder Matthieu Aubry says, “At Matomo, we believe in empowering individuals and organizations to make informed decisions about their digital presence. By providing an open-source website analytics platform, we have created a more transparent and trustworthy digital ecosystem. We are proud to be recognised as a finalist for the Hi-Tech Awards, and we will continue to work towards a more open and ethical digital landscape, and grow the business in New Zealand and worldwide.”



    About Matomo

    Matomo, launched in 2007 as an open-source, privacy-friendly Google Analytics alternative, is trusted by over 1.5 million websites in 220 countries and has been translated in over 50 languages. Matomo tracks and analyses online visits and traffic to give users a deeper understanding of their website visitors to drive conversions and revenue ; while keeping businesses compliant with privacy laws worldwide, such as the EU’s General Data Protection Regulation (GDPR) and The California Consumer Privacy Act (CCPA).

    Aubry says Matomo is performing extremely well internationally as consumers and organizations look for privacy-focused analytics solutions, with several European countries already ruling the use of Google Analytics illegal due to data transfers to the US. In addition, Matomo’s user increase was recognized earlier this year with W3Tech’s award for the best web analytics software in its Web Technologies of the Year 2022 – with previous winners including Google Analytics and Facebook Pixel.



    A record number of companies entered the 2023 Hi-Tech Awards, with entries coming in from across the country and from all areas of the Hi-Tech sector. This depth is reflected in the line-up of finalists this year, according to David Downs, Chair of the Hi-Tech Trust, who says the standard of entries continue to grow every year.

”

    The hi-tech sector continues to flourish and it’s fantastic to see the success that so many of our companies enjoy on the international stage. This sector continues to prove its resilience and is at the forefront of our export economy in turbulent times,” says Downs.



    The Hi-Tech Awards Gala Dinner will take place on Friday, the 23rd of June, in Christchurch. 


     

    &lt;script type=&quot;text/javascript&quot;&gt;<br />
    console.log('script started!!!!');<br />
       var _paq = _paq || [];<br />
       _paq.push(['AbTesting::create', {<br />
           name: 'LanceTesting', // you can also use '18' (ID of the experiment) to hide the name<br />
           percentage: 100,<br />
           includedTargets: [{&quot;attribute&quot;:&quot;url&quot;,&quot;inverted&quot;:&quot;0&quot;,&quot;type&quot;:&quot;equals_simple&quot;,&quot;value&quot;:&quot;https:\/\/matomo.org\/blog\/2023\/01\/matomo-privacy-friendly-web-analytics-software-named-best-of-the-year-2022\/&quot;}],<br />
           excludedTargets: [],<br />
           variations: [<br />
               {<br />
                   name: 'original',<br />
                   activate: function (event) {<br />
                       // usually nothing needs to be done here<br />
                       console.log('group1');<br />
                   }<br />
               },<br />
               {<br />
                   name: 'Variation1', // you can also use '45' (ID of the variation) to hide the name<br />
                   percentage: 90,<br />
                   activate: function(event) {<br />
                       console.log('group2');<br />
                       event.redirect('https://matomo.org/blog/2023/08/matomo-named-2023-hi-tech-awards-finalist/');<br />
                   }<br />
               }            <br />
           ],<br />
           trigger: function () {<br />
               return true; // here you can further customize which of your visitors will participate in this experiment<br />
           }<br />
       }]);<br />
    &lt;/script&gt;
  • ffmpeg combine multiple images - output video incorrect xfade transition time, and total length

    24 janvier 2021, par jsaluja

    I want to merge 5 images with transition at specific times 4.00, 10.0, 16.0, 22.0, with a transition duration of 1 sec, and a 27 sec audio into a 27 sec video clip.

    &#xA;

    I used the below command, and got output video of 10 min 43 sec

    &#xA;

    ./ffmpeg \&#xA;-i 27.m4a \&#xA;-loop 1 -t 4.0 -i image01.jpeg \&#xA;-loop 1 -t 6.0 -i image02.jpeg \&#xA;-loop 1 -t 6.0 -i image03.jpeg \&#xA;-loop 1 -t 6.0 -i image04.jpeg \&#xA;-loop 1 -t 5.0 -i image05.jpeg \&#xA;-movflags faststart -pix_fmt yuva420p \&#xA;-filter_complex " \&#xA;[1:v] format=pix_fmts=yuva420p, \&#xA;scale=1080:1920:force_original_aspect_ratio=decrease, \&#xA;pad=1080:1920:(ow-iw)/2:(oh-ih)/2, \&#xA;zoompan=z=&#x27;if(eq(on,1),1,zoom&#x2B;0.0004170)&#x27;:x=&#x27;iw-iw/zoom&#x27;:y=&#x27;0&#x27;:fps=60:d=60*4.000:s=1080x1920, \&#xA;crop=w=1080:h=1920:x=&#x27;(iw-ow)/2&#x27;:y=&#x27;(ih-oh)/2&#x27;, \&#xA;setpts=PTS-STARTPTS&#x2B;0.000/TB[v0]; \&#xA;[2:v] format=pix_fmts=yuva420p, \&#xA;scale=1080:1920:force_original_aspect_ratio=decrease, \&#xA;pad=1080:1920:(ow-iw)/2:(oh-ih)/2, \&#xA;zoompan=z=&#x27;if(eq(on,1),1,zoom&#x2B;0.0004170)&#x27;:x=&#x27;0&#x27;:y=&#x27;ih-ih/zoom&#x27;:fps=60:d=60*6.000:s=1080x1920, \&#xA;crop=w=1080:h=1920:x=&#x27;(iw-ow)/2&#x27;:y=&#x27;(ih-oh)/2&#x27;, \&#xA;setpts=PTS-STARTPTS&#x2B;4.000/TB[v1]; \&#xA;[3:v] format=pix_fmts=yuva420p, \&#xA;scale=1080:1920:force_original_aspect_ratio=decrease, \&#xA;pad=1080:1920:(ow-iw)/2:(oh-ih)/2, \&#xA;zoompan=z=&#x27;if(eq(on,1),1,zoom&#x2B;0.0004170)&#x27;:x=&#x27;0&#x27;:y=&#x27;ih-ih/zoom&#x27;:fps=60:d=60*6.000:s=1080x1920, \&#xA;crop=w=1080:h=1920:x=&#x27;(iw-ow)/2&#x27;:y=&#x27;(ih-oh)/2&#x27;, \&#xA;setpts=PTS-STARTPTS&#x2B;10.000/TB[v2]; \&#xA;[4:v] format=pix_fmts=yuva420p, \&#xA;scale=1080:1920:force_original_aspect_ratio=decrease, \&#xA;pad=1080:1920:(ow-iw)/2:(oh-ih)/2, \&#xA;zoompan=z=&#x27;if(eq(on,1),1,zoom&#x2B;0.0004170)&#x27;:x=&#x27;iw-iw/zoom&#x27;:y=&#x27;0&#x27;:fps=60:d=60*6.000:s=1080x1920, \&#xA;crop=w=1080:h=1920:x=&#x27;(iw-ow)/2&#x27;:y=&#x27;(ih-oh)/2&#x27;, \&#xA;setpts=PTS-STARTPTS&#x2B;16.000/TB[v3]; \&#xA;[5:v] format=pix_fmts=yuva420p, \&#xA;scale=1080:1920:force_original_aspect_ratio=decrease, \&#xA;pad=1080:1920:(ow-iw)/2:(oh-ih)/2, \&#xA;zoompan=z=&#x27;if(eq(on,1),1,zoom&#x2B;0.0004170)&#x27;:x=&#x27;iw-iw/zoom&#x27;:y=&#x27;ih-ih/zoom&#x27;:fps=60:d=60*5.000:s=1080x1920, \&#xA;crop=w=1080:h=1920:x=&#x27;(iw-ow)/2&#x27;:y=&#x27;(ih-oh)/2&#x27;, \&#xA;setpts=PTS-STARTPTS&#x2B;22.000/TB[v4]; \&#xA;[v0][v1]xfade=transition=circlecrop:duration=1.00:offset=3.000[v01];\&#xA;[v01][v2]xfade=transition=hrslice:duration=1.00:offset=8.000[v12];\&#xA;[v12][v3]xfade=transition=slideleft:duration=1.00:offset=13.000[v23];\&#xA;[v23][v4]xfade=transition=vdslice:duration=1.00:offset=18.000[v34]" \&#xA;-map "0:a" -map [v34] -y output.mp4&#xA;

    &#xA;

    ====

    &#xA;

    I think I need to tweak the time values are specified at 4 places to get this right

    &#xA;

    -loop 1 -t TIMESTAMP1

    &#xA;

    I set this to expected duration of each image i.e, 4, 6, 6, 6, 5

    &#xA;

    zoompan=z='if(eq(on,1),1,zoom+0.0004170)':x='iw-iw/zoom':y='0':fps=60:d=60* TIMESTAMP2 :s=1080x1920,

    &#xA;

    I set this to expected duration of each image i.e, 4, 6, 6, 6, 5

    &#xA;

    setpts = PTS - STARTPTS+ TIMESTAMP3 /TB

    &#xA;

    I set this to cumulative offset from 0 i.e, 0, 4, 10, 16, 22

    &#xA;

    Additionally, I ensured that&#xA;TIMESTAMP2 + TIMESTAMP3 = time at which each image display should end ie., 4, 10, 16, 22, 27

    &#xA;

    xfade=transition=circlecrop:duration=1.00:offset=TIMESTAMP4

    &#xA;

    =======

    &#xA;

    Few problems

    &#xA;

      &#xA;
    1. The transition between images, is not as per the times i expect
    2. &#xA;

    3. Overall clip length is long 10:43 as opposed to expected 00:27
    4. &#xA;

    5. Overall processing time is 5+ minutes
    6. &#xA;

    &#xA;

    Am i missing something ?

    &#xA;