Recherche avancée

Médias (91)

Autres articles (47)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (6386)

  • avconv : Match stream id

    12 mars 2014, par Luca Barbato
    avconv : Match stream id
    

    Quite useful to select by pid in MPEG-TS.

    • [DBH] cmdutils.c
    • [DBH] doc/avtools-common-opts.texi
  • float_dsp : Have implementation match function pointer prototype

    1er novembre 2016, par Diego Biurrun
    float_dsp : Have implementation match function pointer prototype
    

    libavutil/x86/float_dsp_init.c(144) : warning C4028 : formal parameter 1 different from declaration
    libavutil/x86/float_dsp_init.c(144) : warning C4028 : formal parameter 2 different from declaration

    • [DBH] libavutil/x86/float_dsp_init.c
  • Convert a file to match another's specification exactly with FFMPEG ?

    25 mars 2022, par user1748217

    I have a series of files from the same source and so of the exact same format in every way that I'm concatenating with FFMPEG

    


      

    • file1.mov
    • 


    • file2.mov
    • 


    • file3.mov
    • 


    


    This is very fast and is working fine however no I want to take optional intro file (from many different source and of many different types) and convert that to match the others before joining.

    


      

    • intro.mp4
    • 


    


    How do I do this with FFMPEG ?

    


    Does this give me everything I need ?

    


    ffprobe -select_streams a:0 -show_entries \
  stream=codec_name,channels -of default=nw=1:nk=1 -v 0 ./file1.mov

ffprobe -select_streams v:0 -show_entries \
  stream=codec_name,width,height,r_frame_rate,pix_fmt \
  -of default=nw=1:nk=1 -v 0 ./file1.mov


    


    So with that I can just :

    


    ffmpeg -i intro.mp4 \ 
   -c:v h264 -s 1280x720 -pix_fmt yuv420p -framerate 30/1  \ 
   -c:a pcm_s16le -ca 1 intro.mov


    


    and then merge it seamlessly to the rest ?

    


    ffmpeg -f concat -safe 0 -i videos.txt -c copy merged.mov -y


    


    The answer is of course "no", hence the request for your support.
The audio is fine when files 1, 2 & 3 are merged but is too fast when the intro + 1, 2 & 3 are merged. The converted intro file always plays fine on it's own after the conversion and after the merge, but the others play audio too fast after the merge.

    


    What am I missing ?

    


    UPDATE :

    


    So in the end this worked for the intro :

    


    ffmpeg -i intro.mp4 \ 
   -c:v h264 -s 1280x720 -pix_fmt yuv420p -framerate 30 \ 
   -c:a pcm_s16le -ac 1 -b:a 512k -ar 32000 intro.mov -y