Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (52)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (4899)

  • Error while opening encoder for output stream #1:2 - maybe incorrect parameters such as bit_rate, rate, width or height

    14 novembre 2019, par geo-freak

    I am encoding a video which has dvb_teletext inside. I got an error saying Error while opening encoder for output stream #1:2. I used the following command to encode my video.

    ffmpeg -threads 8 -i input.ts -s 400x222 -qscale:v 4 -vcodec libx264 -s 320x240 -b:v 512000 -maxrate 512000 -acodec libfaac -b:a 32000 -ar 48000 -force_key_frames expr:gte(t,n_forced*3) -hls_flags single_file -hls_list_size 0 -hls_time 3 -y output.m3u8

    You can see the log output of my command.

    Input #0, mpegts, from 'pipe:':
     Duration: N/A, start: 91105.257722, bitrate: N/A
     Program 1
       Stream #0:0[0x4b1]: Video: h264 (High), 4 reference frames ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0xc7d](swe): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
       Stream #0:2[0x1932](swe,nor,dan,fin,swe): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
    [Parsed_fps_0 @ 0x55975e31b7e0] fps=1/1
    [graph 0 input from stream 0:0 @ 0x55975e1fb9c0] w:704 h:576 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:16/11 sws_param:flags=2
    [scaler for output stream 0:0 @ 0x55975e1f8fe0] w:400 h:222 flags:'bicubic' interl:0
    [swscaler @ 0x55975e1a0c80] deprecated pixel format used, make sure you did set range correctly
    [scaler for output stream 0:0 @ 0x55975e1f8fe0] w:704 h:576 fmt:yuv420p sar:16/11 -> w:400 h:222 fmt:yuvj420p sar:74/75 flags:0x4
    [graph 1 input from stream 0:0 @ 0x55975e177120] w:704 h:576 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:16/11 sws_param:flags=2
    [scaler for output stream 1:0 @ 0x55975e1f1020] w:320 h:240 flags:'bicubic' interl:0
    [scaler for output stream 1:0 @ 0x55975e1f1020] w:704 h:576 fmt:yuv420p sar:16/11 -> w:320 h:240 fmt:yuv420p sar:4/3 flags:0x4
    [graph 2 input from stream 0:1 @ 0x55975e532f20] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
    [audio format for output stream 1:1 @ 0x55975e533540] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 1:1'
    [auto-inserted resampler 0 @ 0x55975e5358e0] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
    [libx264 @ 0x55975e2349a0] VBV maxrate specified, but no bufsize, ignored
    [libx264 @ 0x55975e2349a0] using SAR=4/3
    [libx264 @ 0x55975e2349a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x55975e2349a0] profile High, level 2.0
    Output #0, hls, to 'output.m3u8':
       Stream #1:0: Video: h264 (libx264), -1 reference frame, yuv420p, 320x240 [SAR 4:3 DAR 16:9], q=-1--1, 512 kb/s, 25 fps, 25 tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.24.102 libx264
       Side data:
         unknown side data type 10 (24 bytes)
       Stream #1:1(swe): Audio: aac (libfaac), 48000 Hz, stereo, s16, 32 kb/s
       Metadata:
         encoder         : Lavc57.24.102 libfaac
       Stream #1:2(swe,nor,dan,fin,swe): Subtitle: webvtt, 128 kb/s
       Metadata:
         encoder         : Lavc57.24.102 webvtt
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
     Stream #0:0 -> #1:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #1:1 (mp2 (native) -> aac (libfaac))
     Stream #0:2 -> #1:2 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
    Error while opening encoder for output stream #1:2 - maybe incorrect parameters such as bit_rate, rate, width or height
    [Parsed_fps_0 @ 0x55975e31b7e0] 0 frames in, 0 frames out; 0 frames dropped, 0 frames duplicated.
    [libx264 @ 0x55975e2349a0] final ratefactor: 23.40
    (END)

    Do I need to use map options here ? How to resolve this ? Any help or suggestion ?

  • How to scroll long picture(big height) scrolling with background image in ffmpeg,Text in video products will flicker

    15 juin 2022, par user18550619

    use overlay or scoll filter,the result of video still flicker !
ffmepg cmd as follow :

    


    1.scoll filter

    


    ffmpeg -y -loop 1 -i input.png -i bg.png -filter_complex "[0]scroll=vertical=0.000819672131147541,crop=iw:1280:0:0,format=yuva444p[scrollView] ;[1][scrollView]overlay=0:0:enable='between (t,0,27.466666666666665)'" -t 27.466666666666665 E :\output1.mp4

    


    2.overlay with time change y position

    


    ffmpeg -y -r 1 -loop 1 -t 27.466666666666665 -i input.png -filter_complex "color=white:s=720x1280,fps=fps=30[bg] ;movie=bg.png[bg1] ;[bg][bg1]overlay=0:0[bg2] ;[bg2][0]overlay=y=-'t*60':shortest=1[video]" -preset ultrafast -b:v 1989k -map [video] E :\output2.mp4

    


    input.png

    


    bg.png

    


  • Happy Ada Lovelace Day to Women in Multimedia R&D

    24 mars 2010, par silvia

    In my field of interest, namely Multimedia, there are not many women active in research and technology development. The more reasons to expose them and point to their great achievements. In my time as a young researcher at the University of Mannheim, I met Prof Wendy Hall of the University of (...)