Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (43)

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

  • Submit bugs and patches

    13 avril 2011

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

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

Sur d’autres sites (8508)

  • Evolution #3821 : [sécurité - cookie] possibilité de gérer l’attribut "secure" du cookie spip sess...

    7 février 2020, par Luis Speciale

    Yo, trois ans que ça traîne ! Le client n’est pas content, comme disait l’autre.
    Pour ma part, c’était spip_lang que me tournait en bourrique, je suis allé en mode bourrin au bazooka

    if (!$secure and defined(’_COOKIE_SECURE’))
    $secure = in_array($name, explode(’ ’, ’spip_session’)) ;
    $httponly = in_array($name, explode(’ ’, ’spip_session’)) ;

    if (!$secure and defined(’_COOKIE_SECURE’))
    $secure = in_array($name, explode(’ ’, ’spip_lang’)) ;
    $httponly = in_array($name, explode(’ ’, ’spip_lang’)) ;

  • ffmpeg - concatenate mp4 files + audio from a folder structure

    17 septembre 2022, par Ionut Bejinariu

    I use this batch file to concatenate several .mp4 files and then join them with an audio song.

    


    @echo off

mkdir ".\Export" 
set "sourcedir="  
set "outputdir=Export" 

for %%i in (*.mp4) do echo file '%%i'>> lista.txt
ffmpeg -f concat -safe 0 -i lista.txt -c copy mergedmp4.mp4

for %%F in (*.wav *.mp3) DO ( 
    ffmpeg -i mergedmp4.mp4 -i "%%F" -map 0:v -map 1:a -vcodec copy -c:a aac -b:a 320k "%outputdir%\%%~nF.mp4"
)

del lista.txt
del mergedmp4.mp4


    


    So far so good, It's working

    


    I would describe what will help me more and I need to happen :

    


    I have this folder structure \Video-15-sec\Canal-1\Videos-1, Videos-2 .. Videos-15 or sometimes can be until Videos-20 or more, depends how I organize them.

    


    All of Videos folders have .mp4 files in them and are renamed all the time1.mp4, 2.mp4, 3.mp4 ... 25.mp4 ... 35.mp4 ..etc each of the Videos folders respect the name of file starting with 1.mp4 to how many are in the folder.

    


    The directory structure is like this :

    


    

──Video-15-sec
│       ├───Canal-1
│       │   ├───Videos-1 (.mp4 files in it)
│       │   ├───Videos-2 (.mp4 files in it)
│       │   ├───Videos-3 (.mp4 files in it)
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7
│       │   ├───Videos-8
│       │   ├───Videos-9
│       │   ├───Videos-10
│       │   ├───Videos-11
│       │   ├───Videos-12
│       │   ├───Videos-13
│       │   ├───Videos-14
│       │   └───Videos-15
│       ├───Canal-2
│       │   ├───Videos-1 (.mp4 files in it)
│       │   ├───Videos-2 (.mp4 files in it)
│       │   ├───Videos-3 (.mp4 files in it)
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7
│       │   ├───Videos-8
│       │   ├───Videos-9
│       │   ├───Videos-10
│       │   ├───Videos-11
│       │   ├───Videos-12
│       │   ├───Videos-13
│       │   ├───Videos-14
│       │   └───Videos-15
│       ├───Canal-3
│       │   ├───Videos-1 (.mp4 files in it)
│       │   ├───Videos-2 (.mp4 files in it)
│       │   ├───Videos-3 (.mp4 files in it)
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7
│       │   ├───Videos-8
│       │   ├───Videos-9
│       │   ├───Videos-10
│       │   ├───Videos-11
│       │   ├───Videos-12
│       │   ├───Videos-13
│       │   ├───Videos-14
│       │   └───Videos-15
│       ├───Canal-4


    


    I want to have a separate folder \allmusic where I will have all the music, and the batch file will always export with the name of the song.

    


    all the mp4 files of each separate folder Videos-1, Videos-2 ... Videos-10..., will be concatenated separately and then joined with a single song, each separate folder, with one song each. All the songs and Videos folders in loop, until all my songs are done.

    


    The video created will be exported in a separate folder \Export-all-Videos

    


    Actions of Batch file :

    


    ─Video-15-sec
│       ├───Canal-1
│       │   ├───Videos-1 (concatenate.mp4 files from) + 1 song -> Folder  \Export-all-Videos\name of the song.mp4
│       │   ├───Videos-2 (concatenate.mp4 files from) + 1 song -> Folder  \Export-all-Videos\name of the song.mp4
│       │   ├───Videos-3 (concatenate.mp4 files from) + 1 song -> Folder  \Export-all-Videos\name of the song.mp4
│       │   ├───Videos-4 ...
│       │   ├───Videos-5
│       │   ├───Videos-6
│       │   ├───Videos-7


    


    I hope someone has a solution for this.

    


    Thank you very much

    


  • keep connection alive in ffserver

    17 août 2014, par Mohammadhzp

    I have a directory which contain some files,I loop around this files and stream them using ffmpeg to ffserver,the problem is when song is over,the client stop receiving the stream.VLC and jwplayer have this problem-which I tested-(although I can fix this problem in jwplayer by adding repeat : true option but I don’t think it’s such a good idea).

    what I need is an option or some trick in ffserver which keep connection alive(at least for a while) so that if a song is over,the next song start automatically(it take 1 second to switch songs),maybe ffserver have a timeout option ?