Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (89)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

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

Sur d’autres sites (11304)

  • Conversion from Iphone Core Surface RGB Frame into ffmepg AVFarme

    10 mars 2015, par Raghu

    I am trying to convert Core Surface RGB frame buffer(Iphone) to ffmpeg Avfarme to encode into a movie file. But I am not getting the correct video output (video showing colors dazzling not the correct picture)

    I guess there is something wrong with converting from core surface frame buffer into AVFrame.

    Here is my code :

    Surface *surface = [[Surface alloc]initWithCoreSurfaceBuffer:coreSurfaceBuffer];
    [surface lock];
    unsigned int height = surface.height;
    unsigned int width = surface.width;
    unsigned int alignmentedBytesPerRow = (width * 4);
    if (!readblePixels) {
       readblePixels = CGBitmapAllocateData(alignmentedBytesPerRow * height);
       NSLog(@"alloced readablepixels");
    }
    unsigned int bytesPerRow = surface.bytesPerRow;
    void *pixels = surface.baseAddress;
    for (unsigned int j = 0; j < height; j++) {
       memcpy(readblePixels + alignmentedBytesPerRow * j, pixels + bytesPerRow * j, bytesPerRow);
    }

    pFrameRGB->data[0] = readblePixels; // I guess here is what I am doing wrong.
    pFrameRGB->data[1] = NULL;
    pFrameRGB->data[2] = NULL;
    pFrameRGB->data[3] = NULL;

    pFrameRGB->linesize[0] = pCodecCtx->width;
    pFrameRGB->linesize[1] = 0;
    pFrameRGB->linesize[2] = 0;
    pFrameRGB->linesize[3] = 0;


    sws_scale (img_convert_ctx, pFrameRGB->data, pFrameRGB->linesize,
          0, pCodecCtx->height,
          pFrameYUV->data, pFrameYUV->linesize);  

    Please help me out.

    Thanks,

    Raghu

  • How to stop ffmpeg automatically rotating (Iphone 13) videos

    22 juillet 2022, par VdGR

    I have a bunch of videos I want to merge into one video.
Therefore I used this ffmpeg command.

    


    ffmpeg -y -loglevel warning -f concat -safe 0  -i "filelist.txt" -c copy "merged.mov"


    


    When I open merged.mov all my videos are rotated -90 degerees but when I open my videos for example in vlc it has the right rotation.
What am I doing wrong ?

    


    I tried already adding the "-noautorotate" option but that does not seem to solve the problem.

    


  • iPhone - FFMPEG/VLC audio stream for iOS

    24 avril 2013, par Siriss

    I am trying to write an app for a school project that will play a video stream of the lab. They use Foscam cameras, and from what I understand they only stream audio in FFMPEG and VLC (a wrapper of FFMPEG and others, correct ?). I can play the video stream in a UIWebView just fine, but I can't figure out how to get audio to work. I have read a bunch of post on here about the different audio stream options, but none support this format. I have also looked into VLCKit, but that seems to only work in OS X, not iOS.

    Is there a Framework, or Kit that can stream audio from a VLC/FFMPEG file, or does someone know of a better way to get audio from a Foscam ?