Recherche avancée

Médias (91)

Autres articles (72)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7865)

  • ffmpeg - how to record live stream from ip cameras and saved as playlist.m3u8 over time for each folder

    29 mars 2016, par Android Mobile

    Can you help me with ffmpeg image processing ?
    I’m trying to execute it with a command that failed.

    My record stream :

    ffmpeg -i "rtsp://192.168.1.10/user=admin_password=_channel=1_stream=0.sdp?real_stream" -c copy -map 0 -f segment -segment_list "D:/Program/xampp/htdocs/cam1/record/list.txt" -segment_time 900 -segment_atclocktime 1 -strftime 1 "D:/Program/xampp/htdocs/cam1/record/%Y-%m-%d_%H-%M-%S.mp4"

    But, I want to save the format playlist.m3u8 and video formats ts.

    Example :

    "D:/Program/xampp/htdocs/cam1/record/[foldertime]/playlist.m3u8" , inside [folertime] playlist.m3u8, cam01.ts, cam02.ts, cam03.ts, cam03.ts,....
  • Raspberry pi live stream to youtube stopped working

    27 décembre 2023, par Gergely Maros

    I have a working setup for streaming a video to youtube with my raspberry pi 3.
It was work until yesterday. Nothing changed but I have an error when I try to start the stream.
Running the following command :

    



    raspivid -o - -t 0 -w 1280 -h 720 -p -hf -fps 25 -b 2560000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/my_key


    



    And get this error :

    



    ffmpeg version 3.2.10-1 deb9u1+rpt1 Copyright (c) 2000-2018 the FFmpeg
developers   built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516  
configuration : —prefix=/usr —extra-version='1 deb9u1+rpt1'
—toolchain=hardened —libdir=/usr/lib/arm-linux-gnueabihf —incdir=/usr/include/arm-linux-gnueabihf —enable-gpl —disable-stripping —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libebur128 —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmp3lame —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librubberband —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-omx-rpi —enable-mmal —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared   libavutil      55. 34.101 / 55. 34.101   libavcodec     57. 64.101 / 57. 64.101   libavformat    57. 56.101 / 57. 56.101   libavdevice    57.  1.100 /
57.  1.100   libavfilter     6. 65.100 /  6. 65.100   libavresample   3.  1.  0 /  3.  1.  0   libswscale      4.  2.100 /  4.  2.100   libswresample   2.  3.100 /  2.  3.100   libpostproc    54.  1.100 /
54.  1.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, s16le, from '/dev/zero' :   Duration : N/A, bitrate : 1411 kb/s
    Stream #0:0 : Audio : pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Input #1, h264, from 'pipe :' :   Duration : N/A, bitrate : N/A
    Stream #1:0 : Video : h264 (High), yuv420p(progressive), 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
rtmp ://a.rtmp.youtube.com/live2/my_key : Input/output error


    



    It worked more over a month, but now (I don't know why) stopped working.

    



    Can anyone help me ?

    



    Cheers,
Greg

    


  • how to create an http live stream ( broadcast ) from a segmented mp4 without sound defects

    18 août 2020, par user3621958

    tl ;dr - concatenating independent short videos to an hls playlist creates sound defects. A 'Tick' sound at the concatenation point. How do I avoid it ?

    



    I have a process that emits a 4 second MOV video every 3 seconds.
Those 4s videos are segments of a longer video. But they are completely independent. 
I want to be able to play the Longer video before it exists.
In order to achieve that I'm creating an HLS even playlist
hls event playlist
I first convert the first 4s video to hls using ffmpeg
by running :

    



    fmpeg -y -i  output0.mov -c:a aac -b:a 128000 -r:a 44100 -c:v libx264  -x264-params keyint=150:scenecut=0  -hls_flags omit_endlist -hls_playlist_type -b:t 800k -maxrate 2000k -bufsize 1200k -f hls -pix_fmt yuv420p -g 5 -hls_time 5 one.m3u8


    



    this will create an .ts file and and an .m3u8 playlist

    



    #EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-TARGETDURATION:4
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.00,
part1.ts


    



    notice the : -hls_flags omit_endlist -hls_playlist_type event flags. They make sure the playlist is an EVENT playlist and that it has no EXT-X-ENDLIST at the end of the list ( this makes the player to start polling the .m3u8 file in order to "wait" for new .ts chunks to be appended to the playlist )

    



    When the next 4s video is available I'm running the ffmpeg command again.
and then "merge" the new .m3u8 file to the old .m3u8 file. 
by appending the new .ts file to the playlist.

    



    #EXT-X-PLAYLIST-TYPE:EVENT
#EXT-X-TARGETDURATION:4
#EXT-X-VERSION:4
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4.00,
part1.ts <- first 4 seconds chunk
#EXTINF:4.00,
part2.ts <- second ( new ) 4 second chunk


    



    since the player is polling the .m3u8 file , when its updated it fetches the second .ts file (part2.ts)
and plays it.

    



    The only issue is that sound defect. exactly at the concatenation point of the two videos. ( at second 4 ) in this example.
The video has no visible defects.
I suspect this happens because of an encoding problem. ( every mov video is encoded to hls separately ) 
But I must play the video after 4 seconds. ( can't wait for the whole duration to be ready )

    



    What am I doing wrong ? How to encode the hls chunks to avoid the sound defect ?

    



    In ffmpeg documentation I saw :
Segment the input file, and create an M3U8 live playlist (can be used as live HLS source) :

    



    ffmpeg -re -i in.mkv -codec copy -map 0 -f segment -segment_list playlist.m3u8 \
-segment_list_flags +live -segment_time 10 out%03d.mkv


    



    My problem is that i don't have the entire video. Its generated chunk by chunk.