Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (103)

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

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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (8581)

  • doc/examples/output : Cast pointer to the right (const) type

    22 avril 2017, par Diego Biurrun
    doc/examples/output : Cast pointer to the right (const) type
    

    doc/examples/output.c:512:33 : warning : passing argument 2 of ‘sws_scale’ from incompatible pointer type

    • [DBH] doc/examples/output.c
  • ffmpeg producing empty MP4 files

    3 mai 2017, par Joshua Dowell

    I am trying to use ffmpeg to convert MTS files to MP4 files. It seems as though the command is running correctly, but the resulting files end up being empty.

    joshua@joshua-VirtualBox:~$ ffmpeg -i /media/sf_2017-04/SD_044/00007.MTS /media/sf_2017-04/SD_04/000007.mp4
    ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.2, Copyright (c) 2000-2014 the Libav developers
     built on Apr  1 2016 14:28:02 with gcc 4.6.3
    The ffmpeg program is only provided for script compatibility and will be removed
    in a future release. It has been deprecated in the Libav project to allow for
    incompatible command line syntax improvements in its replacement called avconv
    (see Changelog for details). Please use avconv instead.
    Input #0, mpegts, from '/media/sf_2017-04/SD_044/00007.MTS':
     Duration: 00:01:17.07, start: 1.927822, bitrate: 25053 kb/s
     Program 1
       Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 59.96 fps, 59.94 tbr, 90k tbn, 119.88 tbc
       Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
       Stream #0.2[0x1200]: Data: [144][0][0][0] / 0x0090
    File '/media/sf_2017-04/SD_04/000007.mp4' already exists. Overwrite ? [y/N] y
    [buffer @ 0x88772a0] w:1920 h:1080 pixfmt:yuv420p
    ffmpeg -i /media/sf_2017-04/SD_044/00007.MTS /media/sf_2017-04/SD_04/000007.mp4
    ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.2, Copyright (c) 2000-2014 the Libav developers
     built on Apr  1 2016 14:28:02 with gcc 4.6.3
    The ffmpeg program is only provided for script compatibility and will be removed
    in a future release. It has been deprecated in the Libav project to allow for
    incompatible command line syntax improvements in its replacement called avconv
    (see Changelog for details). Please use avconv instead.
    Input #0, mpegts, from '/media/sf_2017-04/SD_044/00007.MTS':
     Duration: 00:01:17.07, start: 1.927822, bitrate: 25053 kb/s
     Program 1
       Stream #0.0[0x1011]: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 59.96 fps, 59.94 tbr, 90k tbn, 119.88 tbc
       Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
       Stream #0.2[0x1200]: Data: [144][0][0][0] / 0x0090
    File '/media/sf_2017-04/SD_04/000007.mp4' already exists. Overwrite ? [y/N] y
    [buffer @ 0x88772a0] w:1920 h:1080 pixfmt:yuv420p
    encoder 'aac' is experimental and might produce bad results.
    Add '-strict experimental' if you want to use it.
  • How to export video as .mp4 using openCV ?

    6 juin 2017, par Riko

    I am trying to export video as .mp4 with openCV. I have tried several codecs but for now I had no success.

    This is a function that constructs a video from frames :

    def create_movie(self, out_directory, fps, total_frames):
       img1 = cv2.imread("temp/scr0.png")
       height, width, layers =  img1.shape
       codec = cv2.cv.CV_FOURCC('X','V','I','D')
       video = cv2.VideoWriter(out_directory, codec, fps, (width, height))

       for i in range(total_frames):
           img_name = "temp/scr" + str(i) + ".png"
           img = cv2.imread(img_name)
           video.write(img)

       video.release()
       cv2.destroyAllWindows()

    I usually get next error message, using different codecs :

    Tag XVID/0x44495658 incompatible with output codec id '13'

    Is is possible to do this and how ?