Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (75)

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

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (8160)

  • Ffmpeg rtmp to hls conversion but how to solve network issue ?

    11 mai, par Baka-Maru Lama

    I'm trying to convert hls stream from rtmp source and its' working fine but the problem is when rtmp server is down or network issue the ffmpeg hls conversion process gets stuck and never comes to work again even if rtmp server is back online.

    



    I've tried

    



    -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 5 


    



    command - it says option is not recognized options by the way I'm using ffmpeg [v4.2.1].

    



    I'm using following ffmpeg commands

    



    ffmpeg -i rtmp://localhost/living/test  ^
-max_muxing_queue_size 9999  ^
-async 1 -vf yadif -g 29.97 -r 23 ^
-b:v:0 3150k  -c:v libx264  -filter:v:0 "scale=426:-1" -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -strict_gop 1 -rc-lookahead 32 -no-scenecut 1 -forced-idr 1  -b:a:0 128k -map 0:v -map 0:a:0 ^
-b:v:1 4200k  -c:v libx264 -filter:v:1 "scale=640:-1" -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -strict_gop 1 -rc-lookahead 32 -no-scenecut 1 -forced-idr 1   -b:a:1 192k  -map 0:v -map 0:a:0 ^
-b:v:2 5250k  -c:v libx264 -filter:v:2 "scale=1280:-1" -rc:v vbr_hq -pix_fmt yuv420p -profile:v main -level 4.1 -strict_gop 1 -rc-lookahead 32 -no-scenecut 1 -forced-idr 1  -b:a:2 256k -map 0:v -map 0:a:0 ^
 -c:a aac -ar 48000    ^
-f hls ^
-var_stream_map "v:0,a:0  v:1,a:1 v:2,a:2" ^
-master_pl_name  index.m3u8 ^
-t 30000 -hls_time 10 ^
 -hls_init_time 4 -hls_list_size 0 ^
-master_pl_publish_rate 10 ^
-hls_flags delete_segments+discont_start+split_by_time "../live/test/vs%%v/manifest.m3u8" 
pause


    


  • ffmpeg overwrite v4l2-ctl configuration -> how to do real raw device to network copy ?

    14 décembre 2019, par Serveurperso

    I need to do a real device to a tcp socket copy like :

    cat /dev/video0 | /bin/nc 127.0.0.1 8000 -w 1

    This very basic command line work for my case. I want to do the same, but with the ffmpeg process.
    The aim is to standardize the streaming process, this case, a basic raw copy from a device to network, and advanced transcoding from any source to network, always with the same ffmpeg process.

    I use v4l2-ctl before ffmpeg to make a lot of configuration that I want to keep.

    I tried :

    ffmpeg -loglevel debug -i /dev/video0 -f rawvideo tcp://127.0.0.1:8000

    ffmpeg -loglevel debug -f v4l2 -i /dev/video0 -f rawvideo tcp://127.0.0.1:8000

    The probleme here ffmpeg kill my v4l2 configuration, and I don’t want to setup it twice (v4l2-ctl interface + ffmpeg interface) in my code.

    I also tried :

    ffmpeg -loglevel debug -f rawvideo -i /dev/video0 tcp://127.0.0.1:8000

    ffmpeg -loglevel debug -f rawvideo -i /dev/video0 -f rawvideo tcp://127.0.0.1:8000

    I always get this stderr + exit :

    [IMGUTILS @ 0x7ec1d5f0] Picture size 0x0 is invalid
    [AVIOContext @ 0x1e8bb40] Statistics: 26 bytes read, 0 seeks
    /dev/video0: Invalid argument

    I also tried the

    -c:v copy

    parameter for all combination above without success :(

    How to do a raw binary copy (like "cat" or "dd" with NetCat) from a device to socket with ffmpeg (without killing v4l2 configuration) ?

    Pascal

  • ffmpeg cut video and burn subtitle in a single command

    3 janvier 2020, par razvan

    I want to cut a piece out of a video and burn subtitle in that piece.

    I can do this in 3 steps :

    1. cut the video
      ffmpeg -ss 25:00 -to 26:00 -i vid.mp4 -c copy out.mp4

    2. cut the subtitle
      ffmpeg -i sub.srt -ss 25:00 -to 26:00 out.srt

    3. burn subtitle in the video piece
      ffmpeg -i out.mp4  -vf subtitles=out.srt  -c:a copy -y final.mp4

    But I want to do this in a single ffmpeg command.

    If I do this
    ffmpeg -ss 25:00 -to 26:00 -i vid.mp4   -vf subtitles=sub.srt  -c:a copy -y final.mp4
    the video is cut but no subtitle is burned into it.
    This is fast.

    If I do this
    ffmpeg  -i vid.mp4  -ss 25:00 -to 26:00 -vf subtitles=sub.srt  -c:a copy -y final.mp4
    the video is cut and subtitles burned correctly,but there is a delay in starting writing the final.mp4.
    I think ffmpeg is processing vid.mp4 from the beginning till it reach the -ss time (and drop that part)
    then continue processing and writing it to final.mp4

    Is there a way to do this fast and in a single ffmpeg command ?
    Like ffmpeg going directly to -ss time and cut that, process it, burn subtitle in it.

    Thanks