Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (39)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Supporting all media types

    13 avril 2011, par

    Unlike 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 (...)

Sur d’autres sites (7217)

  • Video play in slow motion while converting webm file to mp4 using ffmpeg

    14 novembre 2019, par Hardik Kothari

    I am using ffmpeg-static-electron in electron app for converting webm file to mp4 and that file will be play in mobile app as android and ios.

    Here I am using ffmpeg command for converting webm file to mp4.

     await execa(ffmpegPath, [
         '-i',
         inputPath,
         '-f',
         'mp4',
         '-vcodec','libx264', // video codec
         '-acodec','aac', // audio codec
         '-b:v', '6400k',  // video bitrate
         '-b:a', '4800k',  // audio bitrate
         '-strict', 'experimental', // standard
         '-r',
         '30000/1001',
         '-crf',
         '26',
         '-g',
         '16',
         '-movflags',
         'faststart',
         '-preset',
         'veryfast',
         outputPath,
       ])

    I used ’-g’ to 16 for solving a dragging progress issue in android player but it increasing the app size.
    Here you can check it out this https://video.stackexchange.com/questions/21892/why-cant-my-video-play-from-where-i-drag-the-playback-bar

    Some time It is working fine but some time sound coming through garbled and sounded like robot with slow-motion video
    Here is log file for normal video :https://textuploader.com/1o1ml

    I want a best conversion (WebM to Mp4) with lower file size.Anyone please help.

  • Play FFMPEG Sound Sample with OpenAL

    16 avril 2013, par Asim

    i am using FFMPEG to load Audio Video from File...with the video its working but i don't know how to play audio samples coming ... here is my routine that is getting audio samples...

    m_AdotimeBase = (int64_t(m_Adocdec_ctx->time_base.num) * AV_TIME_BASE) / int64_t(m_Adocdec_ctx->time_base.den);  
    if(!m_Adofmt_ctx)
    {
       //AfxMessageBox(L"m_timeBase");
       return FALSE ;
    }
    int64_t seekAdoTarget = int64_t(m_currFrame) * m_AdotimeBase;  


    if(av_seek_frame(m_Adofmt_ctx, -1, seekAdoTarget, AVSEEK_FLAG_ANY) < 0)
    {
       /*CString st;
       st.Format(L"%d",m_currFrame);
       AfxMessageBox(L"av_seek_frame "+st);*/
       m_currFrame = m_totalFrames-1;
       return FALSE ;
    }

    if ((ret = av_read_frame(m_Adofmt_ctx, &packet)) < 0)
           return FALSE;
    if (packet.stream_index == 0)      
    {
       ret = avcodec_decode_audio4(m_Adocdec_ctx, &in_AdeoFrame, &got_frame, &packet);
       if (ret < 0)
       {
           av_free_packet(&packet);
           return FALSE;
       }
    }

    My problem is i want to listen that coming sample using OPENAL i tried hard to develop using this but won't be able .... but no success Please help mee. if u have some tutorial or refrence material plz do share with me

  • How to play entire youtube playlist on discord.py bot with youtube-dl

    25 novembre 2020, par bork

    I'm trying to make a discord music bot. I'm using youtube-dl to retrieve the info and ffmpeg to play the audio out. My bot can successfully queue and play regular videos but when it comes to playing the entire playlist, it doesn't work.

    


    This is my code for playing playlists :

    


                if 'entries' in info:
                for i in info['entries']:
                    URL = i['formats'][0]['url']     
                    player = FFmpegPCMAudio(URL, **FFMPEG_OPTIONS)
                    queue.append(player)
                    source = queue.pop(0)
                    voice.play(player, after = lambda e: play_next(ctx, source))            
                    await ctx.send('playing song')


    


    This downloads all the videos in the playlist but only plays the first one then shows this error :
discord.errors.ClientException: Already playing audio.