Advanced search

Medias (91)

Other articles (55)

  • Le profil des utilisateurs

    12 April 2011, by

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 November 2010, by

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 May 2011, by

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

On other websites (3931)

  • FFmpeg- Concat videos with unknown resolution/frame size/rate etc

    21 March 2017, by Karandeep Atwal

    On android platform, I am using this library for concatenating videos.
    For mp4 files with Same Properties like frame-size,resolution etc. I have succeeded concatenating by this command-

    -f concat -safe 0 -i inputfile.txt -codec copy Outputfile

    where inputfile.txt contains-

    file /storage/emulated/0/demo/vid1.mp4
    file /storage/emulated/0/demo/vid2.mp4
    file /storage/emulated/0/demo/vid3.mp4
    file /storage/emulated/0/demo/vid4.mp4

    But, this command only works if input video files have SAME Properties eg. videos made from camera app.If we add other mp4 videos to the input eg. Whatsapp Videos, then I got corrupted Output. It is described here.

    I have read about Concat-Filter ,But this is not working in my case giving me errors like Media-mismatch asked here, different SAR value,frame-size etc. doesn’t match. I also used this Command but it takes about three hours for 25Mb & 5Mb video.

    I want to choose as many random videos from storage and want to concat them. I also think of converting every chosen video to same bitrate, same frame size, same aspect ratio, but it is time-consuming.

    What would be the Best Way to Concat videos of unknown type using ffmpeg commands?

  • Error while trying to stream higer resolution using ffmpeg and jsmpeg

    11 April 2017, by trojek

    I try to do a prof of concept of streaming webcam in browser using jsmpeg. It works perfect when I use code from the documentation which is as follows:

    ffmpeg \
       -f v4l2 \
           -framerate 25 -video_size 640x480 -i /dev/video0 \
       -f mpegts \
           -codec:v mpeg1video -s 640x480 -b:v 1000k -bf 0 \
       http://localhost:8081/supersecret

    My webcam supports resolutions, framerates and formats as in code below:

    [video4linux2,v4l2 @ 0x2655360] Compressed:       mjpeg :          Motion-JPEG : 1920x1080 1280x720 1024x768 640x480 800x600 1280x1024 320x240
    [video4linux2,v4l2 @ 0x2655360] Raw       :     yuyv422 :           YUYV 4:2:2 : 1920x1080 1280x720 1024x768 640x480 800x600 1280x1024 320x240

    While I change in above code the resolution from 640x480 to e.g. 1024x768, I get an error:

    [mpeg1video @ 0x110f4e0] MPEG1/2 does not support 10/1 fps
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I assume that camera driver change number of fps and MPEG1/2 doesn’t support that numer of fps.
    Probably I get from camera raw data (yuyv422) and it can’t play it with higer framerate when e.f. 10 for 1024x768.
    How Can I modify ffmped execution code in order to stream video in Full HD resulution?

  • using ffmpeg to record highest resolution offered by Facetime cameras (mac)

    7 May 2017, by user1361529

    I am using the following code successfully to record a video feed from my mac

    ./ffmpeg -f avfoundation -framerate 30  -i "default" out.mp4

    This however seems to be recording video at the lowest resolution of 320x200

    My camera supports the following resolutions:

    [avfoundation @ 0x7ff7b2800000] Supported modes:
    [avfoundation @ 0x7ff7b2800000]   1280x720@[1.000000 30.000000]fps
    [avfoundation @ 0x7ff7b2800000]   640x480@[1.000000 30.000000]fps
    [avfoundation @ 0x7ff7b2800000]   320x240@[1.000000 30.000000]fps

    I tried manually specifying the resolution using both -s and -video_size but that seems to just scale up the low res video.

    How do I get ffmpeg to pick my 1280x720 resolution?

    thanks