
Recherche avancée
Autres articles (51)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (5191)
-
Determine the actual resolution of a video using ffmpeg [closed]
18 novembre 2020, par EyprosI am trying to decode an avi video but but when I pass it through ffmpeg to check the encoding parameters I get this outcome which confused me :


$ffmpeg -i video.avi
...
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2501 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default)



I guess
yuv420p
means something like 746x420 pixel (I made the multiplication myself, so I am not sure it's exactly this one using the ratio of 1920x1080 and 1280x720) but anyway much less than 1280x720 which is 720p. So, what does exactly means those two together ?
yuv420p
vs1280x720
?

Can someone explain which is the actual resolution of the video ?


-
Stop FFMPEG changing extracted frame resolution
22 septembre 2020, par S_WheelI'm using a bash script to extract frames from a bunch of videos in a folder.


#!/bin/bash
if [ "$1" == '' ] || [ "$2" == '' ] || [ "$3" == '' ]; then
 echo "Usage: $0 <input folder="folder" /> <output folder="folder"> <file extension="extension">";
 exit;
fi
for file in "$1"/*."$3"; do
 destination="$2${file:${#1}:${#file}-${#1}-${#3}-1}";
 mkdir -p "$destination";
 ffmpeg -i "$file" -vsync 0 -frame_pts true -r 1000 "$destination/frame_%d.png";
done
</file></output>


Using the ffmpeg command :


ffmpeg -i "$file" -vsync 0 -frame_pts true -r 1000 -s "$destination/frame_%d.png";



My problem is the extracted frames have a lower resolution (and also a different resolution). The first video goes from 1024x576 to 768x576 in the extracted frames.


I can't force the WxH in the command because the videos all have different resolutions. Does anyone know why ffmpeg is changing the resolution and how to stop it ?


Thanks


-
Is variable resolution possible in MPEG-4 or Matroska ?
29 août 2020, par Chris_FIt's become increasingly common for movies to contain sections with varying aspect ratios. For instance, the movie The Dark Knight is is sometime 16:9 full frame, and at other times 2.40:1 with letter boxing. This is fine when viewed on a 16:9 (or even 4:3) screen, but if you try to watch it on a 2.40:1 screen you will get simultaneous horizontal and vertical letterboxes. Extremely undesirable.


Currently I use MPC-HC, which has a feature where it is able to analyze the video in real time, detect letter boxing, and dynamically crop the video. This works pretty well, but it's kind of an ugly solution. Are there any video formats that allow meta data like image resolution to change throughout the video ?