Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (21)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (7695)

  • Merge video files using Concat filter in FFmpeg

    8 juillet 2013, par vijay

    I am using FFmpeg to concat video files of different codecs in my android application.
    I read the FFmpeg documentation and tried the following things.

    1. ffmpeg -i "concat:input1.mpg|input2.mpg" -c copy output.mp4 (works only for mpg files)

    2. ffmpeg -i 1.mp4 -c copy -bsf dump_extra 1.ts
      ffmpeg -i 2.mp4 -c copy -bsf dump_extra 2.ts
      ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4 (works for mp4 files)

    I tried both the methods for 3gp files but it throws an error in stream filters.The second method stores the .ts files in device that should not be done and also i lost the quality of the video.

    When i googled it out i found that FFmpeg provides a way to concat files with different codecs.So i tried the following command to this in a single step without storing files in device.

    fmpeg -i 1.mp4 -i 2.3gp -i 3.mpg -filter_complex '[0:0] [0:1] [1:0] [1:1]
    [2:0] [2:1] concat=n=3:v=1:a=1 [a] [v] ' -map '[a]' -map '[v]' -c copy output.mp4

    It throws the following exception :

    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 25 2013 20:34:51 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration:
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    F.mp4: No such file or directory
    tsk@tsk:~/Android/Backups/android-ffmpeg-x264/Project/jni$ ffmpeg -i 1.mp4 -i 2.mp4 -filter_complex '[0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a]' -map '[v]' -map '[a]' output.mp4
    ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Jun 25 2013 20:34:51 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration:
     libavutil      52. 18.100 / 52. 18.100
     libavcodec     54. 92.100 / 54. 92.100
     libavformat    54. 63.104 / 54. 63.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 42.103 /  3. 42.103
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:00:04.04, start: 0.000000, bitrate: 1457 kb/s
       Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1454 kb/s, SAR 349:320 DAR 349:240, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: mp41
       creation_time   : 1970-01-01 00:00:00
     Duration: 00:00:04.04, start: 0.000000, bitrate: 1498 kb/s
       Stream #1:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1495 kb/s, SAR 349:320 DAR 349:240, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Metadata:
         creation_time   : 1970-01-01 00:00:00
         handler_name    : VideoHandler
    Stream specifier ':1' in filtergraph description [0:1] [0:0] [1:1] [1:0] concat=n=2:v=1:a=1 [v] [a] matches no streams.

    I googled out but found no solution yet.

    Any help is appreciated.

  • all pages of the same domain keep loading until background process finish [on hold]

    7 juillet 2013, par Kal

    I upload video files to mydomain_1.com and once the upload finish I store info about the uploaded file in mydomain_1 database under table process_queue.

    I have process.php under mydomain_2.com that connects to mydomain_1 database and check if process_queue table has any new entries. If there is then process.

    notice we are talking two separate domains.

    the moment process.php finds a new entry it starts converting the video using exec with ffmpeg.

    while the process is happening I cannot access any page under mydomain_1.com. all pages keep loading forever. the moment the process is done on mydomain_2.com I get access to pages on mydomain_1.com

    I thought it could be a mysql connection issue so on process.php I used mysql_close($db) immediately after every call to the database.

  • Revision 88543 : Refactoring de la fonction gravatar : au lieu des tests succesifs ...

    9 avril 2015, par cedric@… — Log

    Refactoring de la fonction gravatar : au lieu des tests succesifs encapsules difficiles a comprendre et maintenir, on fait une sequence de tests qui permettent tous de sortir si pas de mise a jour necessaire
    l’argument $default peut prendre aussi bien une valeur defaut de l’API gravatar qu’un chemin vers une image
    la balise #GRAVATAR peur prendre une valeur par defaut de l’API en 3e argument et pas seulement un chemin vers une image
    on propose la valeur "retro" par defaut en plus
    dans le formulaire de configuration on affiche les images d’exemple a la taille configuree, pour mieux se rendre compte