Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (92)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (5323)

  • how to add duration to mjpeg or how to make mjpeg faster

    10 octobre 2014, par n2v2rda2

    i have ip-cam mjpeg that i made and it have total 240 frames

    encode souce is
    ffmpeg.exe -framerate 25 -i c :\%06d.jpg\ -s 1920x1080 -qscale 1 -vcodec mjpeg -r 25 C :\result.mjpg -y

    now i want to play result.mjpg by mjpeg player i made

    my problem
    1. i can't get mjpeg's play time or duration time

    2. playing is slower then other movie player so i want to sync it and play more faster

    below is ffprobe result

    Input #0, mjpeg, from 'result.mjpg':
    Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg), 1920x1080, 25 tbr, 1200k tbn, 25 tbc

    below is result added -show_frame

    [FRAME]
    media_type=video
    key_frame=1
    pkt_pts=720000
    pkt_pts_time=0.600000
    pkt_dts=720000
    pkt_dts_time=0.600000
    best_effort_timestamp=720000
    best_effort_timestamp_time=0.600000
    pkt_duration=48000
    pkt_duration_time=0.040000
    pkt_pos=4731406
    pkt_size=313289
    width=1920
    height=1080
    pix_fmt=yuvj444p
    sample_aspect_ratio=333:320
    pict_type=I
    coded_picture_number=0
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]

    ffprobe show me there are Duration : N/A, bitrate : N/A

    how do i set Duration and bitrate
    is there any encode-option i have to set ?

    when i decode mjpeg like below

    i can’t get duration just 0

    AVFormatContext*  pFC;
    int               ret;

    pFC = avformat_alloc_context();

    ret  = avformat_open_input(&pFC, filename, NULL, NULL);
    if (ret < 0) {
       // fail .
    }

    ret  = avformat_find_stream_info(pFC, NULL);
    if (ret < 0) {
       // fail
    }
    printf("duration %ld", pFC->duration);   <----- only 0
  • Appending two audiofiles React Native

    21 octobre 2020, par R. Adang

    I want to combine to wav files into one file. So file1 + file2 = file3.
I am currently looking into ffmpeg, but when I try to use concat it only returns a file with the length of the first file. The react native code that I use is :

    



    RNFFmpeg.execute('-i "concat:' + path1 + '|' + pathOutput + '" -acodec copy ' + pathOutput2).then(result => console.log("FFmpeg process exited with rc " + result.rc)); 


    



    Is my command wrong ?

    



    If you have a better solution for this please let me know !

    


  • Copy codecs setting from video or how to join video using ffmpeg [closed]

    6 décembre 2012, par Степан Талабира

    We have 2 videos :
    test1.mp4 and test2.mp4

    How do I convert video 1 with parameters video 2 ? (for join them together)

    I tried to pull out the parameters of video using ffmpeg-php.
    But the result is bad .. mkvmerge or MP4Box not join this result video.
    Mencoder says that the video codec settings is different...

    Сan anyone tell me how to blind 2 video (the first small and second big) without re-encoding the second movie
    Video mp4 H.264.