Recherche avancée

Médias (91)

Autres articles (112)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (13181)

  • Relocated ffmpeg example files fail

    17 novembre 2020, par CT99

    I'm trying to use some ffmpeg calls in my own program, the basis of which I'm editing the ffmpeg example program remuxing.c. I'm trying to use some of the ffmpeg calls in my own program.

    


    I'm running Ubuntu 18.04.5 on a generic Linux box.

    


    To help better understand what I've done and where I've having problems, I'll out line what I've done and what is not working.

    


    Steps I've successfully completed :

    


    — I've have downloaded the ffmpeg code base and example files

    


    — Next I did a './configure', then 'make', then 'make install' and 'make examples' to make the libraries and examples

    


    — I tested some of the examples and they ran fine from the default install directory

    


    — specifically, when I test remuxing.c in the original ffmpeg downloaded dir — compile and run — it works fine

    


        ./remuxing /data/iphone-h264.m4v /tmp/test15.ts


    


    — this creates a .ts output file that I can test and is readable by vlc

    


    Having ensured that I correctly compiled and tested ffmpeg source and its example files, I next move to working my own program based on the example remuxing.c

    


    — I copied the original remuxing.c into my own test directory structure

    


    — I make it by running this to link in the required ffmpeg libraries (I think)

    


        cc -DLINUX -o remuxing remuxing.c -I ../ffmpeg/libavformat -lavformat -I ../ffmpeg/libavcodec -lavcodec -I ../ffmpeg/libswresample -lswresample -I ../ffmpeg/libavutil -lavutil -lpthread -lm


    


    — however when I try to generate a test16.ts file (to know it is different from the one I created before) I get an error :

    


        ./remuxing /data/iphone-h264.m4v /tmp/test16.ts
    Could not open input file '/data/iphone-h264.m4v’ Error occurred: Invalid data found when processing input


    


    This is the exact same video file the same program converted from the installed doc/examples directory.

    


    QUESTION — why is this happening — what am I doing wrong ?

    


    I guess I may not be properly linking in the ffmpeg libraries ?? — but I'm not sure what I'm doing wrong.

    


    I can also post my makefiles if that would help.

    


    Would be most appreciative for any help — thank you in advance.

    


  • Web Based Playback of iOS Videos with Orientation Flag

    3 mars 2012, par shanee

    We just recently created an iPhone app for one of our system that allows users to upload picture and video content to our services. The last major hitch we are running into is how to handle videos that are uploaded in an orientation other than Horizontal Right. Apparently if your playback system does not account for the orientation flag sent with the video then it will play upside down or sideways.

    The correct approach appears to be that the playback system should take the orientation flag into account just prior to playback. This is the way Apple handles it directly on the device as well as through Quicktime.

    SO my first hope is that someone is aware of a web based (HTML5 or Flash) player that is capable of rotating a video during playback based on either the video orientation metadata or based on a passed flag (we already have the necessary flag available in the DB if we need to just pass it manually). If you know of any such player then PLEASE SHARE !

    If you aren't aware of such a player, then has anyone had any luck rotating their videos using FFMPEG or MEncoder ? We did a few hours of testing last week and weren't able to get any decent results from the two heavy hitters mentioned there.

    Failing ALL OF THAT, is it possible to have the iPhone upload a video or image in a specified direction ?

    Any of the three will work for me, but I would prefer to do whatever is standard (if one exists).

    Any help is much appreciated !

  • Can I record a video without using UIImagePickerController ?

    24 mai 2016, par SUKIYAKI

    Can I record a video without using UIImagePickerController ?
    Of course without needing to jailbreak or anything else that would cause the App Store to reject the app.

    I think there is a way to access video device not using UIImagePickerController because these camera applications can record video and work on iPhone 2G/3G which utilizes ffmpeg :

    I pick this code up by googling.

    AVFormatParameters formatParams;
    AVInputFormat *iformat;

    formatParams.device = "/dev/video0";
    formatParams.channel = 0;
    formatParams.standard = "ntsc";
    formatParams.width = 640;
    formatParams.height = 480;
    formatParams.frame_rate = 29;
    formatParams.frame_rate_base = 1;
    filename = "";
    iformat = av_find_input_format("video4linux");

    av_open_input_file(&ffmpegFormatContext,
                    filename, iformat, 0, &formatParams);

    This code tell me how to open camera device, but I don’t know device path of iPhone.

    How do iVideoCamera and iVidCam record video ?