
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (56)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (4575)
-
PowerShell and ffmpeg : No such file or directory
8 juillet 2022, par Matt WilsonI'm trying to use the below command in a Python script, however I'm seeing that it's a PowerShell issue in that it can't seem to find the video file I'm pointing to.


I have a video file on a cloud drive
Z:
at the following location (for reproducibility, change this to whatever path you want with a video file in it) :

Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4


Notice the spaces and special characters in the filename in case that matters.


What I'm trying to do is down-sample that video file to a smaller size with the following command :


ffmpeg -i "Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4" -y -vcodec libx264 -acodec ac3 -threads 1 "Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity)DOWNSAMPLED.mp4"


I know it's long as it's mostly consumed by the filenames, but the error I'm getting is :


Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\[TutsNode.com] - TensorFlow Developer Certificate in 2021 Zero to Mastery\3. Neural network regression with TensorFlow\18. Setting up TensorFlow modelling experiments part 2 (increasing complexity).mp4: No such file or directory


The path IS correct, as it's a direct copy paste from the folder's URL bar.


The things I've tried include :


- 

- using quotes around filename
- not using quotes around filename
- prepending quoted filename with "r" (where I got message saying `did you mean file:r ?)
- prepending quoted filename with "file:r"
- used double slashes \ in filepaths












Is there a powershell pro out there that can tell me why it can't "find" the file ?


UPDATE
The command runs if I find a filename with :


$oldvids = Get-ChildItem *.mp4, *mov, *wmv, *avi -Recurse
foreach ($oldvid in $oldvids) 
{
 $newvid = [io.path]::ChangeExtension($oldvid.FullName, '_.mp4')
 ffmpeg -i $oldvid.FullName -y -vcodec libx264 -acodec ac3 -threads 1 $newvid
}



When I print the
$oldvid.name
and$oldvid.FullName
, the paths/filenames look like this :

Z:\Udemy_And_Misc_Downloads\TensorFlow Developer Certificate in 2021 Zero to Mastery\5. Computer Vision and Convolutional Neu
ral Networks in TensorFlow\35. Multi-class CNN's part 9 Making predictions with our model on custom images.mp4

35. Multi-class CNN's part 9 Making predictions with our model on custom images.mp4



...that first one being an exact copy of what I'm trying to use in my posted code. So what's the difference ??


SECOND UPDATE
I think the issue lies in that the file is located on a drive other than
C:
. Just tested it by moving the file onto my computer and running the command, and it worked. So I guess, is there a way to tell PowerShell to use theZ:
drive to find the file ?

-
Merge commit ’74ea1167d91ccb2e1f2943efa030f2c278b598be’
15 juin 2015, par Michael NiedermayerMerge commit ’74ea1167d91ccb2e1f2943efa030f2c278b598be’
* commit ’74ea1167d91ccb2e1f2943efa030f2c278b598be’ :
tls_gnutls : fix hang on disconnectionSee : 2222f419da99ef85d49ab04e7e15b76612f4d054
Merged-by : Michael Niedermayer <michaelni@gmx.at> -
Converting png images series to webm with transparent white background from Daz3d
25 août 2015, par JamesI’m trying to make a webm video with a transparent background from a Daz3D model.
My process is export png image series with transparent background from Daz3D, use ffmpeg to convert png series to webm video.
This was working well in Daz3D 4.6.But in Daz3D 4.8 the exported background is black instead of white, so when converted to webm is ok on Chrome as has the transparency, but on Firefox is black and has a halo (as Firefox does not support transparency so displays background).
So I’m looking for a solution with Daz3D, or tools like ImageMagik.
I almost got it with ImageMagik,convert -alpha extract *.png mask.png
mogrify -flatten talk*.png
for /f %x in ('dir /s /b blink*.png') do @composite -compose CopyOpacity mask-0.png %x %xBut for some reason the final webm has a white background not transparent ...
Some more info here,http://www.daz3d.com/forums/discussion/61237/daz3d-4-8-png-background-is-black
and here,
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=28214
>
Doh, okay I figured it out. My images were good, but I somehow have two different versions of ffmpeg on my computer and was using the wrong one that doesn’t seem to support transparency.Now it is working.
My only issue is the last shell line,
for /f %x in (’dir /s /b blink*.png’) do @composite -compose CopyOpacity mask-0.png %x %x
This only uses mask-0.png, instead of mask-1 for blink01.png, mask-2 for blink02.png etc.