Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (65)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (8739)

  • Touble when excuting the same ffmpeg command for many times

    4 janvier 2015, par morndust

    Decription

    when using the same ffmpeg command for a couple of times, some of those will succeed, but, some of those would failed, ffmpeg report Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height or Invalid data found when processing input error.

    Input

    ffprobe

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/2137b8d42dcf4607a625755994133e69':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.4.101
     Duration: 00:01:00.02, start: 0.021333, bitrate: N/A
       Chapter #0.0: start 0.000000, end 60.000000
       Metadata:
         title           : 00:00:00.000
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x798 [SAR 1:1 DAR 320:133], 3255 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
       Metadata:
         handler_name    : SubtitleHandler

    Command

    /usr/local/bin/ffmpeg -i /tmp/2137b8d42dcf4607a625755994133e69 -f mp4 -b:v 3000k -r 24.0 -map_metadata -1 -vf scale=50:50 -y /tmp/foo.mp4

    Detail

    when i excute same command above 10 times, error would occur like 3 - 4 times.

    At the end, thanks for reading anyway, any answer would be appriciated.

  • FFMPEG HLS video can't play

    4 mai 2019, par John Doe

    I’m using ffmpeg to convert mp4 video to HLS but just copy codec without re-encoding and a lot of video having problem when playing with JWPlayer

    enter image description here

    First i make a loop to find best segment duration from 15 down to 1, do it over again couple times (480p, 720p, 1080p)

    ffmpeg -i in.mp4 -codec copy -bsf:v h264_mp4toannexb -f hls -hls_list_size 0 -hls_time $second out.m3u8

    If largest segment length is smaller than 10MB then break loop and using single segment option

    ffmpeg -i in.mp4 -f hls -hls_time $second_return_from_loop -hls_list_size 0 -hls_flags single_file -codec copy -bsf:v h264_mp4toannexb out.m3u8

    Generate master playlist with info (bitrate, width x height) getting from ffprobe command

    ffprobe -i in.mp4 -v quiet -print_format json -show_format -show_streams

    Is there something wrong with my command because sometime video got freeze but sound still playing or break on seeking, this’s my first time working with ffmpeg, really appreciate your help

    UPDATED : It was error on my proxy streaming source code not ffmpeg

  • Not able to read audio streams with ffmpeg

    14 avril 2013, par talhamalik22

    I am trying to solve a big problem but stuck with very small issue. I am trying to read audio streams inside a video file with the help of ffmpeg but the loop that should traverse the whole file of streams only runs couple of times. Can not figure out what is the issue as others have used it very similarly.
    Following is my code please check :

    JNIEXPORT jint JNICALL Java_ru_dzakhov_ffmpeg_test_MainActivity_logFileInfo
       (JNIEnv * env,
        jobject this,
        jstring filename
       )
    {

    AVFormatContext *pFormatCtx;
    int             i,j,k, videoStream, audioStream;
    AVCodecContext  *pCodecCtx;
    AVCodec         *pCodec;
    AVFrame         *pFrame;
    AVPacket        packet;
    int             frameFinished;
    float           aspect_ratio;
    AVCodecContext  *aCodecCtx;
    AVCodec         *aCodec;
    //uint8_t inbuf[AUDIO_INBUF_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
    j=0;

    av_register_all();
    char *str = (*env)->GetStringUTFChars(env, filename, 0);
    LOGI(str);
    // Open video file
    if(av_open_input_file(&pFormatCtx, str, NULL, 0, NULL)!=0)
       ;

    // Retrieve stream information
    if(av_find_stream_info(pFormatCtx)<0)
       ;

    LOGI("Separating");
    // Find the first video stream  
    videoStream=-1;
    audioStream=-1;

    for(i=0; i<&pFormatCtx->nb_streams; i++) {

       if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_AUDIO)
       {
           LOGI("Audio Stream");
           audioStream=i;
           }
    }
    av_write_header(pFormatCtx);
    if(videoStream==-1)
        LOGI("Video stream is -1");    


    if(audioStream==-1)
        LOGI("Audio stream is -1");

    return i;}