Recherche avancée

Médias (91)

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

Sur d’autres sites (8326)

  • FFmpeg. avcodec_find_encoder(AV_CODEC_ID_H264) return false

    14 juillet 2016, par Иван Чванов

    The problem : I can not connect the h264 codec for encoding and decoding of frames.


    Description :

    I downloaded from here ffmpeg library https://ffmpeg.zeranoe.com/builds/, version dev.

    Connect it to your project QT :

    extern "C"
    {
       #include
       #include
       #include
       #include
       #include
    }
        
    #pragma comment (lib, "avcodec.lib")
    #pragma comment (lib, "avformat.lib")
    #pragma comment (lib, "swscale.lib")
    #pragma comment (lib, "avutil.lib")

    Next prescribe av_register_all(); to include all codecs.

    Next, call the function : avcodec_find_encoder(AV_CODEC_ID_H264), returns false.

    In the ReadMe file, the library said that it was collected with —enable-libx264 and —enable-gpl compile the keys including h264 codec that is supposed to be.

    If the call : avcodec_find_encoder(AV_CODEC_ID_MPEG1VIDEO), it returns an object AVCodec, as it should.

    I use the MinGW compiler. OC Windows 7.

    How can I resolve or work around the problem ? Compile the library itself has not yet obtained. I understand you to connect sources and "poking" them, that too is meaningless.


    ** Once again, I will describe my problem : **

    I need to encode the codec h264 (can VP9) individual frames in one program, and then decode them in another program. You can use other libraries. The language C ++. It is necessary to use interframe compression codec, rather than simply pressed apart frames.

    Sorry for my english.

    Ideas. Advice. Suggestions.

  • ffmpeg Extract multiple streams from mkv to mp4

    28 mai 2016, par Sebastien Lemichez

    The situation

    I’m working on a everything to high compatibility mp4 app.
    The goal is to pass a video file and get a mp4 file that can be played by almost every player.

    I’m using ffmpeg to do so with this command :

    "ffmpeg -i " + inputPath + " -c:v libx264 -profile:v baseline -level 3.0 -preset ultrafast " + outputPath

    I’m doing it in a c# wrapper and it’s working like a charm.

    The Problem

    The real problem comes with extra streams that you can commonly find in mkv files like extra audio stream and multiple subtitles.

    So my goal is to use ffprobe.exe to get all input streams, extract them into different files and then using mp4box.exe to add them to my high compatibility mp4 file generated by ffmpeg.exe

    What I’ve done so far

    I have managed to get input streams in json with a structure like this :

    "streams":[
       {
           "index": 0,
           "codec_name": "h264",
           "codec_type": "video"
       },
       {
           "index": 1,
           "codec_name": "aac",
           "codec_type": "audio"
       },
       {
           "index": 2,
           "codec_name": "subrip",
           "codec_type": "subtitle"
           "tags":{
               "language": "eng"
           }
       },
       {
           "index": 3,
           "codec_name": "subrip",
           "codec_type": "subtitle"
           "tags":{
               "language": "fre"
           }
       },
       {
           "index": 4,
           "codec_name": "aac",
           "codec_type": "audio"
           "tags":{
               "language": "fre"
               "title": "Commentary"
           }
       }
    ]

    Where I’m stuck

    To extract those extra stream I would need to do something like this :

    ffmpeg -i input.mkv \
    -map 0:2 -c copy subtitle-2.srt \
    -map 0:3 -c copy subtitle-3.srt \
    -map 0:4 -c copy audio-4.aac

    So is there a way to use my ffprobe result to get these file extension because I have a codec_name "subrip" that should be saved in a srt.

    I’m avoiding an hard coded list because if I miss a format it will break. I’m more looking for a ffmpeg or ffprobe associated list I can use.

    English is not my native language so sorry for any misstakes.

  • FFMPEG send new segment to NAS while backup localhost [duplicate]

    27 juillet 2020, par BudinDelCielo

    ffmpeg captures my device (Game Capture 4K60 Pro MK.2 Video) on my local disk "D" and generates new segments every 1 hour 24 hours. everything works perfect. I would like to suppose two examples of failures.

    


    Is it possible to send my segments to my brakes simultaneously while it is stored on my D disk ?

    


    What would happen if my NAS were disconnected from the Network ? Could I continue capturing on my D disk, until the smb service is fixed ?

    


    How can I indicate in another batch process that a new segment is now available to copy to the NAS ? File sizes are not always the same because they vary by compression or duration by the -f -segment_time 3600 command. files never have the exact duration of an hour, so I am a bit lost to manage my segments. The new segments are 0kb, but could be due to capture failures, so here is my problem how to get information in another batch about the state of the segments.
Sorry my bad English.

    


    Thank you so much

    


    ffmpeg -hide_banner -guess_layout_max 0 ^
-f dshow -rtbufsize 1024M -video_size 1280x720 -i %DEVICE% ^
-c: v h264 -r 30000/1001 -aspect 16: 9 ^
-preset: v ultrafast -tune zerolatency -pix_fmt yuv420p ^
-c: a aac -ac 1 -ar 48000 -af aresample = async = 250 ^
-f segment -segment_time 3600 -strftime 1 -reset_timestamps 1 ^
-segment_format mp4 D:\%%Y%%m%%d-%%H%%M%%S.mp4


    


    it has not worked for me
FFMPEG : How to stream to multiple outputs with the same encoding independently

    


    Output #0, tee, to '[f=fifo:fifo_format=segment:segment_time=60:segment_atclocktime=1:strftime=1:reset_timestamps=1:segment_format=mp4]%Y%m%d-%H%M%S.mp4|[f=fifo:fifo_format=segment:segment_time=60:segment_atclocktime=1:strftime=1:reset_timestamps=1:segment_format=mp4]C :\Users\Home\Desktop\2%Y%m%d-%H%M%S.mp4' :
Output file #0 does not contain any stream