Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (93)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7232)

  • Problems accessing codecs with ggplot and gganimate

    19 décembre 2016, par noLongerRandom

    Using gganimate. Can’t figure out how to properly access functionality of ffmpeg, specifically I want to change the codec I’m using in the video file I’m outputting.

    # load packages
    library(ggplot)
    library(animation)
    library(gganimate)

    # Here's my data.frame
    myDf <- data.frame(
       year = c(1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014),
       bottom50 = c(0.195, 0.191, 0.187, 0.192, 0.196, 0.205, 0.207, 0.210, 0.209, 0.204, 0.203, 0.204, 0.205, 0.203, 0.202, 0.200, 0.200, 0.201, 0.199, 0.195, 0.190, 0.183, 0.179, 0.179, 0.177, 0.172, 0.169, 0.169, 0.168, 0.166, 0.158, 0.159, 0.158, 0.154, 0.151, 0.148, 0.149, 0.148, 0.146, 0.149, 0.148, 0.145, 0.142, 0.138, 0.135, 0.137, 0.137, 0.136, 0.130, 0.127, 0.123, 0.127, 0.125), top1 = c(0.126, 0.127, 0.129, 0.128, 0.126, 0.123, 0.122, 0.115, 0.110, 0.111, 0.111, 0.109, 0.106, 0.105, 0.105, 0.107, 0.108, 0.111, 0.107, 0.110, 0.112, 0.115, 0.125, 0.125, 0.122, 0.133, 0.149, 0.145, 0.145, 0.139, 0.150, 0.146, 0.147, 0.153, 0.160, 0.166, 0.169, 0.177, 0.183, 0.173, 0.171, 0.172, 0.183, 0.194, 0.201, 0.199, 0.195, 0.185, 0.198, 0.196, 0.208, 0.196, 0.202)
    )

    #Basic plot
    p <- ggplot(myDf, aes(x = year, y = bottom50, frame = year)) +
       geom_line(color = "dodgerblue") +
       geom_line(aes(y = top1), color = "darkred")

    The non-animated version gets me what I want :

    enter image description here

    And I get an animation version output to video with :

    gganimate(p, interval = .1, title_frame = FALSE, "income.mp4")

    That’s fine, but I want to change some the output parameters, specifically : alter the dimensions, the frame rate, and use a different codec.

    # change some of the options
    ani.options(ani.height = 1080, ani.width = 1920,
               interval = 0.04166667, other.opts = "-vcodec qtrle -f mov")
    # re-animate
    gganimate(p, title_frame = FALSE, "income.mov")

    That gives me the following error :

    Error in animation_saver(saver, filename) :
     Don't know how to save animation of type mov

    I’m using ’.mov’ as my file extension because I’m trying to change to the Animation codec (so it’s no longer a .mp4 wrapper). I’ve got ffmpeg installed, so this is probably a syntax issue. But the documentation isn’t very clear here ; gganimate doesn’t have any documentation on changing codecs (or outputting any video besides an mp4), and the animation package is light on specifics as well.

  • tag refuses to play mp4 video

    5 janvier 2015, par MightyPork

    I have a video I want to embed using the html5 video tag :

    I’ve converted it using ffmpeg :

    ffmpeg -i P6135199.MOV -vcodec libx264 -acodec aac helios.mp4

    FFMPEG output :

    [libx264 @ 0x22ac340] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 0x22ac340] profile High 4:2:2, level 1.2, 4:2:2 8-bit
    [libx264 @ 0x22ac340] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options : cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to ’helios.mp4’ :
      Metadata :
        comment-eng : OLYMPUS DIGITAL CAMERA                           
        comment : OLYMPUS DIGITAL CAMERA                           
        encoder : Lavf56.15.102
        Stream #0:0(eng) : Video : h264 (libx264) ([33][0][0][0] / 0x0021), yuvj422p(pc), 320x240, q=-1—1, 15 fps, 15360 tbn, 15 tbc (default)
        Metadata :
          creation_time : 2008-06-13 10:47:16
          encoder : Lavc56.13.100 libx264
    Stream mapping :
      Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=  240 fps=124 q=-1.0 Lsize=     906kB time=00:00:15.86 bitrate= 467.7kbits/s    
    video:902kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.409100%
    [libx264 @ 0x22ac340] frame I:1     Avg QP:23.71  size :  7960
    [libx264 @ 0x22ac340] frame P:123   Avg QP:23.85  size :  5255
    [libx264 @ 0x22ac340] frame B:116   Avg QP:25.41  size :  2317
    [libx264 @ 0x22ac340] consecutive B-frames :  3.3% 96.7%  0.0%  0.0%
    [libx264 @ 0x22ac340] mb I  I16..4 : 15.7% 69.0% 15.3%
    [libx264 @ 0x22ac340] mb P  I16..4 :  2.2% 13.4%  0.8%  P16..4 : 43.8% 23.1% 14.0%  0.0%  0.0%    skip : 2.8%
    [libx264 @ 0x22ac340] mb B  I16..4 :  0.3%  1.3%  0.1%  B16..8 : 42.4%  9.9%  3.0%  direct:12.2%  skip:30.9%  L0:37.2% L1:38.2% BI:24.5%
    [libx264 @ 0x22ac340] 8x8 transform intra:80.8% inter:71.9%
    [libx264 @ 0x22ac340] coded y,uvDC,uvAC intra : 76.7% 96.8% 49.7% inter : 37.8% 60.9% 5.1%
    [libx264 @ 0x22ac340] i16 v,h,dc,p : 39%  4%  8% 49%
    [libx264 @ 0x22ac340] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 14% 39%  6%  3%  4%  3%  6% 12%
    [libx264 @ 0x22ac340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 25% 11% 18%  8%  7%  7%  8%  8%  8%
    [libx264 @ 0x22ac340] i8c dc,h,v,p : 63%  7% 20% 10%
    [libx264 @ 0x22ac340] Weighted P-Frames : Y:5.7% UV:0.8%
    [libx264 @ 0x22ac340] ref P L0 : 51.4% 18.3% 20.6%  9.3%  0.4%
    [libx264 @ 0x22ac340] ref B L0 : 80.8% 19.2%
    [libx264 @ 0x22ac340] kb/s:461.52
    

    And I try to embed it as follows :

    <video src="helios.mp4" controls="controls">Get a better browser!</video>

    However, Chrome doesn’t play the video, only offers to download it (same as it did before I converted the video). Firefox has the same problem.

    I’ve tested and other mp4 files (from my phone) play just fine.

    What’s the problem ? Did I convert it wrong ?

  • configure : Use pkg-config for libdc1394 discovery

    22 février 2015, par Vittorio Giovara
    configure : Use pkg-config for libdc1394 discovery
    

    Since not all systems need the libraw1394 dependency, let pkg-config
    provide the list of libraries actually needed.

    The libdc1394-2.pc file has been included since version 2 (2008-01-05),
    so it should be safe to use.

    • [DBH] configure