
Recherche avancée
Autres articles (55)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
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 (...)
Sur d’autres sites (9425)
-
Simples loop to iterate over files and send them to ffmpeg
25 octobre 2019, par user2752471I want to do a shell script that will iterate over several video files in a directory, send everyone of them to ffmpeg, that will then reencode each one, producing a reencoded file that will have the same name as the original, except with .avi extension instead .mkv or .mp4.
I found a fairly simple script in another topic here on SO, tried to change it slightly to take into account the file extension and the destination directory.
However my script only produces countless "anything : No such file or directory"
Here is it :
$ for f in $(find -type f -name *.mkv); do ffmpeg -n -i "$f" -c:v copy ".$f" ; done
And these is the ffmpeg command that I usually use :
ffmpeg -y -i -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 1 -an -f avi /dev/null && ffmpeg -i -c:a libmp3lame -b:a 48k -ac 1 -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 2 .avi
So I need to identify what is incorrect in the first script, that is considering each small word of the file’s name as a file, and then change it as to add all these ffmpeg parameters.
Somethings that I do not understand in the script :
1)Are the -type and f in find command necessary. From what I read of the documentation, all it does is to tell find that it shall look for normal files, something that seems irrelevant for my case. When I use find, I do : find starting dir -name filename. So do I have to keep it ?
2)What -n means for ffmpeg ? I am currently without a man entry for ffmpeg. Is it necessary for my needs ?
3)Do I need to have "" around $f ? What it does ?
4)As far as I understand $ denotes a variable. But what the "f" after it does ? Do I need it ?
5)The " ;" after the closing ")" and the ".$f" are necessary ? The first is used to indicate the end of the for loop,and the second the end of the ffmpeg command ?
6)The "do" and the "does" are also necessary for the same motives behind the " ;"
Here is my attempt of the ffmpeg part of the script. Please tell me what to change on it, as in the find part of it.
do ffmpeg -n -y -i "$f.mkv" -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 1 -an -f avi /dev/null && ffmpeg -n -i "$f" -c:a libmp3lame -b:a 48k -ac 1 -vf scale=720:-2 -c:v mpeg4 -vtag xvid -b:v 969k -pass 2 ".$f.avi" ; done
If I would like the script to also look for ".mp4" besides ".mkv" how I would need to change it ?
Thanks for any input.
-
avcodec/mips : Improve hevc uni-w horiz mc msa functions
9 octobre 2017, par Kaustubh Rasteavcodec/mips : Improve hevc uni-w horiz mc msa functions
Load the specific destination bytes instead of MSA load and pack.
Pack the data to half word before clipping.
Use immediate unsigned saturation for clip to max saving one vector register.Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Overlay Image on moving object in Video
5 juillet 2017, par Karandeep AtwalI am using
FFmpeg
to overlay image/emoji on video by this command -"-i "+inputfilePath+" -filter_complex "+"[0][1]overlay=enable='between(t,"+startTime+","+endTime+")'[v1]"+" -map [v0] -map 0:a "+OutputfilePath;
But above command only overlay image over video and stays still.
In Instagram and Snapchat there is New pin feature . I want exactly same ,eg
blur
on moving faces or as in below videos -Is it possible via
FFmpeg
?I think someone with OPENCV or Argumented Reality knowledge can help in this .