Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (36)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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 ;

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

  • FFmpeg : reduce video size issue

    25 décembre 2015, par Ali Hasanzade

    i don’t have any knowledge with FFmpeg , i using below command in order to reduce video size via FFmpeg from this post , but outputted videos does not have video, they are only sound with black video.

    ffmpeg -i in.mp4 -s 640x480 -b 512k -vcodec mpeg1video -acodec copy file.mp4

    What is the issue ?

  • Detecting frozen frames in video file using ffmpeg or similar

    16 décembre 2015, par jakkolwiek

    I’m trying to find a way to analyze couple of video files (mov) in order to find files with frozen frames or black screens appearing. I know that using simple command with ffmpeg returns the start/stop point and duration of black screens, unfortunately I can’t find any solution for frozen frames. The video files are rather small and definitely not high quality, but I need to distinguish the broken files apart from good ones. The thing is, it has to be to use as a simple shell command or library in order to use it with Java, Python, Ruby or similar. Any advice is much appreciated !

  • video after ffmpeg command conversion is not playing on windows

    10 décembre 2015, par Hemant Kumar

    I am stuck at a very weird and complex problem, hoping if anyone know the solution :

    I am converting user uploaded video using ffmpeg command on server and it was working fine as well. Today I found that if a video is recorded by a webcam from windows, is playing well in linux as well as on windows where as if user is creating a video by webcam from linux, is playing only on linux (any browser). On window it’s screen either show loading icon or black screen while audio is working fine.

    I am using following codec :

    ['-strict', '-2', '-preset slow', '-maxrate 500k', '-bufsize 1000k', vfOption, '-threads 0', '-ab 64k', '-movflags faststart','-vf scale=-1:480', '-metadata:s:v:0 rotate=0', '-vcodec libx264']

    I work on linux and using html5 player on my website. I am converting video in mp4 format.

    Input :

    ffmpeg -i /<server path="path">/stream_FE2AF05B-E630-1F7B-390B-37325B31B362.flv -strict -2 -vcodec libx264 -preset slow -vb 500k -maxrate 500k -bufsize 1000k -vf 'scale=-1:480 ' -threads 0 -ab 64k -s 640x480 -movflags faststart -metadata:s:v:0 rotate=0 /<server path="path">/testing.mp4
    </server></server>

    Output :

    ffmpeg version 2.2.5 Copyright (c) 2000-2014 the FFmpeg developers
     built on Aug  1 2014 09:24:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libtheora --enable-libx264 --enable-libvpx --enable-libmp3lame
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, flv, from '/<server path="path">/stream_FE2AF05B-E630-1F7B-390B-37325B31B362.flv':
     Metadata:
       canSeekToEnd    : true
     Duration: 00:00:04.04, start: 0.000000, bitrate: 636 kb/s
       Stream #0:0: Video: flv1, yuv420p, 640x480, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: nellymoser, 44100 Hz, mono, flt
    [libx264 @ 0x23c5340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x23c5340] profile High, level 5.2
    [libx264 @ 0x23c5340] 264 - core 142 r2453 ea0ca51 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=cbr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=500 vbv_bufsize=1000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/<server path="path">/testing.mp4':
     Metadata:
       canSeekToEnd    : true
       encoder         : Lavf55.33.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x480, q=-1--1, 500 kb/s, 16k tbn, 1k tbc
       Metadata:
         rotate          : 0
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, fltp, 64 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (flv -> libx264)
     Stream #0:1 -> #0:1 (nellymoser -> aac)
    Press [q] to stop, [?] for help
    [mp4 @ 0x23c0200] Starting second pass: moving the moov atom to the beginning of the file2 drop=0    
    frame= 4020 fps=706 q=-1.0 Lsize=     355kB time=00:00:04.08 bitrate= 712.0kbits/s dup=3931 drop=0    
    video:271kB audio:32kB subtitle:0 data:0 global headers:0kB muxing overhead 16.957901%
    [libx264 @ 0x23c5340] frame I:17    Avg QP:27.55  size:  7119
    [libx264 @ 0x23c5340] frame P:1013  Avg QP:25.37  size:    88
    [libx264 @ 0x23c5340] frame B:2990  Avg QP:27.32  size:    22
    [libx264 @ 0x23c5340] consecutive B-frames:  0.8%  0.0%  0.1% 99.1%
    [libx264 @ 0x23c5340] mb I  I16..4: 42.0% 55.1%  2.9%
    [libx264 @ 0x23c5340] mb P  I16..4:  0.3%  0.4%  0.0%  P16..4:  0.6%  0.1%  0.0%  0.0%  0.0%    skip:98.6%
    [libx264 @ 0x23c5340] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:35.7% L1:64.3% BI: 0.0%
    [libx264 @ 0x23c5340] 8x8 transform intra:55.0% inter:84.5%
    [libx264 @ 0x23c5340] direct mvs  spatial:87.6% temporal:12.4%
    [libx264 @ 0x23c5340] coded y,uvDC,uvAC intra: 33.4% 51.9% 0.7% inter: 0.0% 0.1% 0.0%
    [libx264 @ 0x23c5340] i16 v,h,dc,p: 26% 54% 15%  5%
    [libx264 @ 0x23c5340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 16% 53%  3%  1%  2%  2%  3%  3%
    [libx264 @ 0x23c5340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 20% 13% 14%  5%  7%  7% 11%  8%
    [libx264 @ 0x23c5340] i8c dc,h,v,p: 43% 31% 23%  3%
    [libx264 @ 0x23c5340] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x23c5340] ref P L0: 80.9%  9.0%  6.9%  2.6%  0.7%
    [libx264 @ 0x23c5340] ref B L0: 89.4%  8.6%  1.8%  0.2%
    [libx264 @ 0x23c5340] ref B L1: 91.0%  9.0%
    [libx264 @ 0x23c5340] kb/s:551.72
    </server></server>

    Outout from file recorded on window :

    Input :

    ffmpeg -i /<server path="path">/stream_window.flv -strict -2 -vcodec libx264 -preset slow -vb 500k -maxrate 500k -bufsize 1000k -vf 'scale=-1:480 ' -threads 0 -ab 64k -s 640x480 -movflags faststart -metadata:s:v:0 rotate=0 /<server path="path">/testing_1.mp4
    </server></server>

    Output :

    ffmpeg version 2.2.5 Copyright (c) 2000-2014 the FFmpeg developers
     built on Aug  1 2014 09:24:02 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libtheora --enable-libx264 --enable-libvpx --enable-libmp3lame
     libavutil      52. 66.100 / 52. 66.100
     libavcodec     55. 52.102 / 55. 52.102
     libavformat    55. 33.100 / 55. 33.100
     libavdevice    55. 10.100 / 55. 10.100
     libavfilter     4.  2.100 /  4.  2.100
     libswscale      2.  5.102 /  2.  5.102
     libswresample   0. 18.100 /  0. 18.100
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, flv, from '/<server path="path">/stream_window.flv':
     Metadata:
       canSeekToEnd    : true
     Duration: 00:00:09.22, start: 0.000000, bitrate: 420 kb/s
       Stream #0:0: Video: flv1, yuv420p, 640x480, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: nellymoser, 44100 Hz, mono, flt
    [libx264 @ 0x1e09fc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x1e09fc0] profile High, level 5.2
    [libx264 @ 0x1e09fc0] 264 - core 142 r2453 ea0ca51 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=24 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=cbr mbtree=1 bitrate=500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=500 vbv_bufsize=1000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/<server path="path">/testing_1.mp4':
     Metadata:
       canSeekToEnd    : true
       encoder         : Lavf55.33.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x480, q=-1--1, 500 kb/s, 16k tbn, 1k tbc
       Metadata:
         rotate          : 0
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, mono, fltp, 64 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (flv -> libx264)
     Stream #0:1 -> #0:1 (nellymoser -> aac)
    Press [q] to stop, [?] for help
    [mp4 @ 0x1e06220] Starting second pass: moving the moov atom to the beginning of the file7 drop=0    
    frame= 8936 fps=703 q=-1.0 Lsize=     771kB time=00:00:09.26 bitrate= 681.5kbits/s dup=8907 drop=0    
    video:585kB audio:73kB subtitle:0 data:0 global headers:0kB muxing overhead 17.106213%
    [libx264 @ 0x1e09fc0] frame I:40    Avg QP:29.54  size:  7449
    [libx264 @ 0x1e09fc0] frame P:2248  Avg QP:30.88  size:    69
    [libx264 @ 0x1e09fc0] frame B:6648  Avg QP:39.17  size:    22
    [libx264 @ 0x1e09fc0] consecutive B-frames:  0.8%  0.0%  0.1% 99.1%
    [libx264 @ 0x1e09fc0] mb I  I16..4: 36.8% 60.7%  2.5%
    [libx264 @ 0x1e09fc0] mb P  I16..4:  0.2%  0.3%  0.0%  P16..4:  0.4%  0.0%  0.0%  0.0%  0.0%    skip:98.9%
    [libx264 @ 0x1e09fc0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:34.2% L1:65.8% BI: 0.0%
    [libx264 @ 0x1e09fc0] 8x8 transform intra:60.6% inter:87.6%
    [libx264 @ 0x1e09fc0] direct mvs  spatial:72.8% temporal:27.2%
    [libx264 @ 0x1e09fc0] coded y,uvDC,uvAC intra: 36.3% 62.8% 4.7% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0x1e09fc0] i16 v,h,dc,p: 33% 46% 15%  7%
    [libx264 @ 0x1e09fc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 19% 46%  3%  1%  1%  1%  2%  4%
    [libx264 @ 0x1e09fc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 17% 14%  9%  4%  4%  5%  5%  7%
    [libx264 @ 0x1e09fc0] i8c dc,h,v,p: 42% 31% 23%  4%
    [libx264 @ 0x1e09fc0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x1e09fc0] ref P L0: 82.6%  9.9%  5.2%  1.7%  0.5%
    [libx264 @ 0x1e09fc0] ref B L0: 87.1% 11.0%  1.4%  0.4%
    [libx264 @ 0x1e09fc0] ref B L1: 90.3%  9.7%
    [libx264 @ 0x1e09fc0] kb/s:536.03
    </server></server>

    Can anyone figure what could be the problem ?

    @LordNeckbeard : Please find the command and its output above. Thanks