
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (63)
-
Personnaliser les catégories
21 juin 2013, parFormulaire 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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (9026)
-
ffmpeg confused regarding interlacing
17 juin 2020, par david fursti'm trying to extract some jpeg2000 video from an mxf container, and it seems that ffmpeg is incorrectly interpreting the format as progressive 50fps (it is actually interlaced at 25fps, as confirmed by mediainfo — although to be fair mediainfo reports "
Original frame rate : 50.000 FPS
"). the result is a video that is only 288 pixels high, rather than the original 576.


i've tried a number of different options, such as
-vf tinterlace
,bwdif
, and manually forcing aspect ratio, height, width, and pixel format, but the results have all been pretty horrible.


what is the (or a) correct way to make ffmpeg understand that the source video should be interpreted as interlaced 576x720 @25fps, and the target video should be output as such ?


-
FFmpeg 16:9 Aspect ratio
29 mai 2020, par Satish KumarFind the Image attachedI have a video of resolution 1920 x 1080, but it is cropped with black in all sides. I found the crop values as 1440:720:240:208.



But when i apply crop with (1440:720:240:208.), the output video loses some portion of videos along the four sides, which is actually present in original input video.



I want to remove only the black border on all sides, but the output video should cover the 16:9 aspect ratio without losing the actual play area as in input (original) video



pl let provide the ffmpeg syntax for the same.


-
FFMPEG code is not trimming the videos properly
8 mai 2022, par michaelmuller20I am trying to trim videos from a specific folder using ffmpeg via powershell but it seems the out doesn't work. However, the files are being renamed as per the code.


<# 

This script trims videos with ffmpeg using a start and end time.
Code below that calls ffmpeg and ffprobe assumes those executables 
are included in the return for $env:path. If this is not the 
case, either add them to PATH or call the .exe using the full
path.

#>

 $files = Get-ChildItem -Filter "*.mp4" -LiteralPath "C:\Users\PC\Desktop\Sample" # create a list of files to process
 $bool_fast = $true # use a fast method to trim the video file. Set to $false to use the slow method.

 ForEach ($f in $files) {
 # set up file names
 $src = $dest = $f.FullName # store original file name
 $new_name = "$($f.BaseName)_LONGER$($f.Extension)" # create a new file name for original file by inserting "_LONGER" before the extension
 Rename-Item -Path $src -NewName $new_name # rename the original file so we can use its name for the output (ffmpeg can't overwrite files)
 $src = $dest.Replace($f.Name, $new_name) # store the new source file name

 # get the file length in seconds
 $strcmd = "ffprobe -v quiet -print_format compact=print_section=0:nokey=1:escape=csv -show_entries format=duration $src" # outputs seconds
 $len = Invoke-Expression $strcmd

 # set start and end times
 $start = 0 # where to start trim in seconds from the beginnning of original video
 $end = 4 # where to end trim in seconds from the beginnning of original video

 # trim the video
 If ($bool_fast) {
 # this method seeks to the nearest i-frame and copies ... fast
 $strcmd = "ffmpeg -i $src -ss $start -to $end -c:v copy -c:a copy $dest"
 } Else {
 # this method re-encodes the file ... slow, but more accurate adherence to a time specification
 $strcmd = "ffmpeg -i $src -ss $start -to $end $dest"
 }
 Invoke-Expression $strcmd
 }