Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (103)

  • Le profil des utilisateurs

    12 avril 2011, par

    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 novembre 2010, par

    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 mai 2011, par

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

Sur d’autres sites (15960)

  • Generate animated padded thumbnail using ffmpeg

    15 juillet 2022, par kregus

    we've been generating animated thumbnails with ffmpeg without a problem using this command :

    


    ffmpeg -y -ss 5 -t 3 -i "/input.mp4" -i /playbtn.png -r 10 -filter_complex "[0]fps=10,scale=1280:-1:flags=lanczos[pb];[pb][1]overlay=(W-w)/2:(H-h)/2, split[s0][s1];[s0]palettegen=max_colors=32[p];[s1][p]paletteuse=dither=bayer" /output.gif


    


    However, now we want to force each thumbnail to be 1280x720 and pad the rest black.

    


    This works well for regular thumbnails with this command :

    


    ffmpeg -y -ss 5 -t 3 -i "/input.mp4" -vframes 1 -filter:v "scale=w=1280:h=720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2" /output.jpg


    


    Now I tried dozens of ways to try and integrate the force_original_aspect_ratio and pad filters into the animated thumbnail generation code, but am getting a host of errors, like :

    


    Cannot find a matching stream for unlabeled input pad 0 on filter Parsed_split_4

    


    When I tried this command :

    


    ffmpeg -y -ss 5 -t 3 -i "/Users/nick/Downloads/intro_portrait_nl_1650909779_rendereddd.mp4" -i /Applications/Ampps/www/vormats_aws/web-render/functions/files/playbtn.png -r 10 -filter_complex "[0]fps=10,scale=1280:720:flags=lanczos:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2[pb];[pb][1]overlay=(W-w)/2:(H-h)/2;split[s0][s1];[s0]palettegen=max_colors=32[p];[s1][p]paletteuse=dither=bayer" /Users/nick/Downloads/smallLandscapeee.gif


    


    ... You get the point, I have no idea how to adapt our original animated thumbnail generation code to force a 1280x720 resolution with padding.

    


    Any input is appreciated, thanks !

    


  • What exactly is the input to the coder part of a software video codec ?

    30 juin 2022, par usrnew xnew

    I am doing a project based on video codecs and have to implement a specific type of codec(one of the H.26x types). So far in my research, I've found out that mp4 files are simply container files that can contain video data in any coded form. I wanted to know if there is a raw file type for video files like how there are for images and audio. However, I came to find out that there is no standard raw file for a video format and since mp4 is a container, it may as well contain a completely uncompressed video with frames, audio etc.

    


    So basically, if there's no specific standard raw format for a video, what kind of file would the software codec take as input while encoding ? And if it does take an mp4, how do we find out if it's really an uncompressed mp4 file or an already encoded one, i.e. which atom holds the value of encoding name ?

    


    Edit :

    


  • FFmpeg concat creating corrupted video part (Media Info provided)

    6 mai 2022, par krv

    I am using concat to join a list of video files with the following command

    


    ffmpeg -f concat -safe 0 -i filesList.txt -c copy output.mp4 


    


    The issue here is that there are a few files that were recorded in slow motion on my phone. The slow-motion files have the same frame rate as the other files.

    


    But when concatenated the part where the slow-motion files are concatenated appears to be frozen / glitch (it does not play a single frame).

    


    I am able to seek forward and backward the part that does not play. So the portion of the video that contained normal files plays and as soon as the slow-motion video comes, nothing plays, and when a normal file comes it starts playing again.

    


    I am attaching the media Info of both files

    


    Info of the slow motion file :

    


    General
Complete name :     I:\concate Test\VID20210727114100.mp4
Format :    MPEG-4
Format profile :    Base Media / Version 2
Codec ID :  mp42 (isom/mp42)
File size :     27.6 MiB
Duration :  1 min 0 s
Overall bit rate :  3 825 kb/s
Encoded date :  UTC 2021-07-27 06:11:08
Tagged date :   UTC 2021-07-27 06:11:08
xyz :   +21.6146+071.2342/
com.android.version :   11

Video
ID :    1
Format :    HEVC
Format/Info :   High Efficiency Video Coding
Format profile :    Main@L3.1@Main
Codec ID :  hvc1
Codec ID/Info :     High Efficiency Video Coding
Duration :  1 min 0 s
Source duration :   1 min 0 s
Bit rate :  3 771 kb/s
Width :     1 280 pixels
Height :    720 pixels
Display aspect ratio :  16:9
Frame rate mode :   Variable
Frame rate :    30.000 FPS
Minimum frame rate :    29.910 FPS
Maximum frame rate :    30.090 FPS
Real frame rate :   240.000 FPS
Color space :   YUV
Chroma subsampling :    4:2:0
Bit depth :     8 bits
Bits/(Pixel*Frame) :    0.136
Stream size :   27.2 MiB (99%)
Source stream size :    27.2 MiB (99%)
Title :     VideoHandle
Language :  English
Encoded date :  UTC 2021-07-27 06:11:08
Tagged date :   UTC 2021-07-27 06:11:08
Color range :   Limited
Color primaries :   BT.709
Transfer characteristics :  BT.709
Matrix coefficients :   BT.709
mdhd_Duration :     60524
Codec configuration box :   hvcC


    


    Info of the regular video file

    


    
General
Complete name :     I:\concate Test\VID20210727113901.mp4
Format :    MPEG-4
Format profile :    Base Media / Version 2
Codec ID :  mp42 (isom/mp42)
File size :     39.0 MiB
Duration :  37 s 930 ms
Overall bit rate :  8 615 kb/s
Encoded date :  UTC 2021-07-27 06:09:40
Tagged date :   UTC 2021-07-27 06:09:40
xyz :   +21.6146+071.2342/
com.android.version :   11

Video
ID :    1
Format :    HEVC
Format/Info :   High Efficiency Video Coding
Format profile :    Main@L4@Main
Codec ID :  hvc1
Codec ID/Info :     High Efficiency Video Coding
Duration :  37 s 930 ms
Source duration :   37 s 900 ms
Bit rate :  8 408 kb/s
Width :     1 920 pixels
Height :    1 080 pixels
Display aspect ratio :  16:9
Frame rate mode :   Variable
Frame rate :    29.604 FPS
Minimum frame rate :    29.508 FPS
Maximum frame rate :    29.605 FPS
Real frame rate :   30.000 FPS
Color space :   YUV
Chroma subsampling :    4:2:0
Bit depth :     8 bits
Bits/(Pixel*Frame) :    0.137
Stream size :   38.0 MiB (98%)
Source stream size :    38.0 MiB (98%)
Title :     VideoHandle
Language :  English
Encoded date :  UTC 2021-07-27 06:09:40
Tagged date :   UTC 2021-07-27 06:09:40
Color range :   Limited
Color primaries :   BT.709
Transfer characteristics :  BT.709
Matrix coefficients :   BT.709
mdhd_Duration :     37930
Codec configuration box :   hvcC

Audio
ID :    2
Format :    AAC LC
Format/Info :   Advanced Audio Codec Low Complexity
Codec ID :  mp4a-40-2
Duration :  37 s 909 ms
Bit rate mode :     Constant
Bit rate :  128 kb/s
Channel(s) :    2 channels
Channel layout :    L R
Sampling rate :     48.0 kHz
Frame rate :    46.875 FPS (1024 SPF)
Compression mode :  Lossy
Stream size :   592 KiB (1%)
Title :     SoundHandle
Language :  English
Encoded date :  UTC 2021-07-27 06:09:40
Tagged date :   UTC 2021-07-27 06:09:40