
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (70)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (10511)
-
FFmpeg concat creating corrupted video part (Media Info provided)
6 mai 2022, par krvI 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





-
What exactly is the input to the coder part of a software video codec ?
30 juin 2022, par usrnew xnewI 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 :


-
Generate animated padded thumbnail using ffmpeg
15 juillet 2022, par kreguswe'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
andpad
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 !