Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (6275)

  • InnoSetup python subprocess Popen ffmpeg

    1er juillet 2023, par Chris P

    In my code i have this line :

    


    self.p1 = Popen([self.ffmpeg_path,'-y','-loglevel','quiet','-i',self.retransmition_url,'epalxeis-radio.mp3'],stdin=PIPE,stdout=PIPE,stderr=PIPE, bufsize=1)


    


    which read an web radio stream and saves it locally with filename "epalxeis-radio.mp3"

    


    Using python to launch the script - works !
Using pyinstaller to launch the exe - works !
Using InnoSetup to launch the exe after installation - not working :(.

    


    The problem is that there is no epalxeis-radio.mp3 created when i try the third case (innosetup).

    


    The ffmpeg_path is : self.ffmpeg_path = os.path.abspath("extra/ffmpeg.exe")
and there is the extra folder in the same directory which is the innosetup exe.

    


    From Windows task manager there is no ffmpeg.exe shown in the tasks list.

    


    What wrong ?

    


    Edit : I used a smaller script to test the error :

    


    from subprocess import Popen, DEVNULL, STDOUT, PIPE
import os
import time
ffmpeg_path = os.path.abspath("extra/ffmpeg.exe")
retransmition_url = "http://shaincast.caster.fm:40636/listen.mp3?authn76260dc1cdf44a9132c0b63f85d9c67a"
with Popen([ffmpeg_path,'-y','-loglevel','quiet','-i',retransmition_url,'epalxeis-radio.mp3'],stdin=PIPE,stdout=PIPE,stderr=PIPE) as p1:
    time.sleep(1)


    


    in pyinstaller exe runs, but in innosetup exe stop immediately.

    


  • FFMpeg undefined reference to get_buffer

    14 juin 2012, par Kevin

    I'm trying to upgrade the FFMpeg source used with one of our projects but get_buffer has gone away. I'm not 100% sure on which method to replace it with. Here are two contexts in which its used, any help is appreciated.

    I look forward to hearing from you soon,

    Thanks,
    Kevin

       cur_offset = avio_tell(pb);
       if (!para->playctrl_info.read_end_flag && (0 == pkt->data_size)) {
           rev_byte = get_buffer(pb, pbuf, para->max_raw_size);
           if ((rev_byte > 0) && (cur_offset <= para->pFormatCtx->data_offset)) {
               try_count = 0;
               pkt->data_size = rev_byte;
               para->read_size.total_bytes += rev_byte;
               pkt->avpkt_newflag = 1;
               pkt->avpkt_isvalid = 1;

     do {
                   read_length = get_buffer(s->pb, data + 12, read_size);
                   if ((read_length <= 0) || (sync_flag == 1024)) {
                       if (read_length == AVERROR(EAGAIN)) {
                           continue;
                       } else {
                           FREE(data);
                           log_error("[%s]get data failed. ret=%d\n", __FUNCTION__, read_length);
                           return 0;
                       }
                   } else {
                       break;
                   }
               } while (retry_get_data < am_p->playctrl_info.read_max_retry_cnt);
               pkt = data;
  • Revision 37444 : Si les theora+vorbis plantent sur vorbis quand ils sont en mono, vorbis ...

    20 avril 2010, par kent1@… — Log

    Si les theora+vorbis plantent sur vorbis quand ils sont en mono, vorbis plantera aussi ... on rationalise tout cela