Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (53)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

    15 mai 2013
  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (7686)

  • html5 video tag m3u8 file not working

    9 décembre 2014, par Mr.Park

    Step 1. ffmpeg work : .mp4 -> .m3u8 and .tp Files create

    ffmpeg options :

    ffmpeg -y -i Internet.mp4 -pix_fmt yuv420p -vcodec libx264 -acodec ac3 -r 30 -profile:v baseline -b:v 1500k -maxrate 2000k -s 480x300 -map 0 -flags -global_header -f segment -segment_list index_1500.m3u8 -segment_time 10 -segment_format mpeg_ts -segment_list_type m3u8 segment%05d.ts

    Like this

    Step 2. HTML5 programing

    < !DOCTYPE html>

    < html>

    < head>

    < title > Storage.html < /title >

    < /head >

    < body >

    < video width="352" height="198" src="index_1500.m3u8"/>

    < /body>

    < /html>

    html file create

    but video play not working...

    but, vlc media player [index_1500.m3u8] file play very well

    Please Help..

  • FFmpeg - concatenate variable length intro / outro fixed segments and separate audio track

    25 septembre 2017, par bobmarksie

    I’m trying to create an app which generates a video based on 3 main parts : -

    1. Intro - Variable length video ( 20 to 30 seconds long)
    2. Segments - 3 clips from a "segments video" - this is a fixed length video (always 400 seconds) which contains 100 separate videos all precisely 4 seconds in length e.g. "segment 1" is from 0 to 4 seconds and "segment 3" is from 8 to 12 seconds.
    3. Outro - Variable length video ( 10 to 20 seconds long)

    The user picks the intro, segments and outro from a list of videos and the app concatenates these together (and extracts 3 segments at random). The user also picks an audio file which plays for the entire video. The generated file should look something like the following : -

    GENERATED VIDEO

    VIDEO   | Intro (20 - 30) |  Seg 1 (4) |  Seg 2 (4) |  Seg 3 (4) |  Outro (10 - 20)  |
    --------+-----------------+------------+------------+------------+-------------------+
    AUDIO   |        Audio track which spans full video (e.g. 4 minutes long) ...        |

    I have been able to hack the following together using ffmpeg (which works) : -

    ffmpeg -y \
     -i audio/audio-19.m4a \
     -i videos/intro/intro-23.mkv \
     -i videos/segments/segments-88.mkv \
     -i videos/outro/outro-12.mkv \
     -filter_complex \
       "[1:v]trim=0:30,setpts=PTS-STARTPTS[v0]; \
       [0:a]atrim=0:30,asetpts=PTS-STARTPTS[a0]; \
       [2:v]trim=20:24,setpts=PTS-STARTPTS[v1]; \
       [0:a]atrim=30:34,asetpts=PTS-STARTPTS[a1]; \
       [2:v]trim=60:64,setpts=PTS-STARTPTS[v2]; \
       [0:a]atrim=34:38,asetpts=PTS-STARTPTS[a2]; \
       [2:v]trim=132:136,setpts=PTS-STARTPTS[v3]; \
       [0:a]atrim=38:42,asetpts=PTS-STARTPTS[a3]; \
       [3:v]trim=0:20,setpts=PTS-STARTPTS[v4]; \
       [0:a]atrim=42:62,asetpts=PTS-STARTPTS[a4]; \
       [v0][a0][v1][a1][v2][a2][v3][a3][v4][a4]concat=n=5:v=1:a=1[out]" \
     -map "[out]" generated.mkv

    However, there are 2 problems with this solution : -

    1. I’ve had to define the length of the intro video ([1:v]trim=0:30 ...) and the outro video ([3:v]trim=0:20 ...) - these are variable and would be preferable if I could simply concat the entire video.
    2. Each of the audio tracks are trimmed (using a running total from each video length) e.g. [0:a]atrim=0:30 ... => [0:a]atrim=30:34 ... => [0:a]atrim=34:38 ... => etc. Would be much easier if it simply said - "here’s the audio track - trim depending on the length of the generated video"

    Any advice is much appreciated !

  • Why review compositing work in MJPEG videos rather than (say) H.264 ?

    6 juin 2016, par d3vid

    I have received a request to encode DPX files to MOV/MJPEG rather than MOV/H.264 (which ffmpeg picks by default if you convert to output.mov). These is to review compositing renders (in motion), so color accuracy is critical.

    Comparing a sample "ideal" MOV to the current (H.264) output I can see :

    • resolution : the same
    • ColorSpace/Primaries : Rec609 (SD) versus Rec709 (HD)
    • YUV : 4:2:0 versus 4:4:4
    • filesize : smaller

    The ffmpeg default seems to be better quality and result in a smaller filesize. Is there something I’m missing ?