Recherche avancée

Médias (91)

Autres articles (98)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (12361)

  • Revision 5182befa49 : ads2armasm_ms : Add an ALIGN 4 after ENDP This makes sure that labels for data s

    19 mars 2014, par Martin Storsjo

    Changed Paths :
     Modify /build/make/ads2armasm_ms.pl



    ads2armasm_ms : Add an ALIGN 4 after ENDP

    This makes sure that labels for data symbols directly after
    functions get properly 4-byte-aligned (when the source is assembled
    in thumb mode).

    Previously, if declaring a data symbol directly after a function, the
    symbol could end up pointing to the unaligned address (if the total
    size of the thumb function didn't end up being a multiple of 4). The
    data in the symbol itself ended up aligned, but the symbol pointed to
    the preceding unaligned position.

    That is, a source file looking like this :
    — -
    ...
    ENDP

    symbol
    DCD 0x12345678
    — -

    could end up being assembled into
    symbol :
    xxxxx2 : 0000
    xxxxx4 : 5678
    xxxxx6 : 1234

    (This doesn't happen if the symbol label is on the same line as the
    DCD directive.)

    By adding an ALIGN 4 directly after the ENDP we make sure the symbol
    itself gets aligned properly.

    This isn't an issue with the original, untranslated arm source,
    since it only is built in arm mode where all instructions are 4 byte,
    and since the gnu assembler automatically adds the padding before the
    symbol even in thumb mode.

    Change-Id : Iadbeebd656b0197e423e79a12a7d3ef8859cf445

  • exec() does not return to PHP process

    24 avril 2013, par Ivo Renkema

    I am running FFMPEG from PHP with the EXEC command. I am working on a XAMP stack.

    $command = 'ffmpeg -y -i input output 2>logfile';
    exec ($command);
    // after FFMPEG handling...

    As you can see, I am redirecting FFMPEG's output to a log file.

    This works fine from smaller video files (up to approximately 10 MB).

    My problem is that for larger video files, any PHP commands after the exec() will not get executed. Note however, that the FFMPEG process works just fine. The log file shows that FFMPEG terminates OK, and the resulting output file is also good.

    My max_execution_time is set to 10800, which should be plenty (and then some). Anyway, as I understand from max_time_limit :

    The set_time_limit() function and the configuration directive
    max_execution_time only affect the execution time of the script
    itself. Any time spent on activity that happens outside the execution
    of the script such as system calls using system() ... is not included
    when determining the maximum time that the script has been running.

    Update : error logs state : Premature end of script

    What is going on ?

  • How to output stream from camera(recording in RTSP) via FFmpeg (Kokorin Jaffree)

    22 mars 2023, par Глеб К

    I'm trying to reach watching live hls stream in browser based on rtsp-camera stream from java-client using Jafree library(https://github.com/kokorin/Jaffree).

    


    But I could not execute the command due to a lack of FFmpeg rights(FFmpeg is installed in /usr/bin/ffmpeg)
Code

    


    And I also tried to execute this command from runtime :

    


    sudo ffmpeg -fflags nobuffer  -rtsp_transport tcp  -i rtsp://my_url  -vsync 0  -copyts  -vcodec copy  -movflags frag_keyframe+empty_moov  -an  -hls_flags delete_segments+append_list  -f segment  -segment_list_flags live  -segment_time 1  -segment_list_size 3  -segment_format mpegts  -segment_list /temp/stream/index.m3u8  -segment_list_type m3u8  -segment_list_entry_prefix /stream/  /temp/stream/%d.ts


    


    I can execute it in the console and everything is ok, but on the browser I get CORS trying to access it.

    


    (https://i.stack.imgur.com/QUltG.png)

    


    Could you please share a way to achieve stream in the browser ?