
Recherche avancée
Autres articles (77)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 (...)
Sur d’autres sites (11491)
-
Prevent libavformat (FFmpeg) from adding "ENCODER" tag to output / help stripping the tags
9 juillet 2021, par Wyatt WardI made a bash script that transfers audio or video metadata from one file to another, regardless of media container format, via FFMpeg. My problem is that FFMpeg consistently adds a 'ENCODER' tag.



Example :



Before running through FFMpeg :



File : track01.cdda.flac



Metadata:
 ALBUM : Wish You Were Here
 ARTIST : Pink Floyd
 COPYRIGHT : 1975 Harvest Records
 DATE : 1975
 GENRE : Experimental Rock
 TITLE : Shine On You Crazy Diamond
 track : 1




After running through FFMpeg :



File : track01-iphone-alac.m4a



Metadata:
 ALBUM=Wish You Were Here
 ARTIST=Pink Floyd
 COPYRIGHT=1975 Harvest Records
 DATE=1975
 GENRE=Experimental Rock
 TITLE=Shine On You Crazy Diamond
 track=1
 ENCODER=Lavf55.12.100




So really, I want to either force FFMpeg to not add the 'ENCODER' tag, or I want to strip that tag off afterwards. Is there a way to do this ? I really don't want to spend hours trying to compile FFMpeg again on my Pentium 4 HT - the only working computer I have at the moment. I'd prefer not to have to use another program unless it's related enough to FFMpeg or MPlayer/Mencoder that I won't have to install anything new if I have those installed.


-
FFMPEG Audio merging using the PHP library
11 juin 2020, par JesseI have been working with FFMPEG, still a beginner but I learnt alot.



So I have to merge 2 audio's one that belongs to a video and one that is just an .mp3 file.
I got the correct shell exec, but now I want to use the FFMPEG php library.



This is the correct (I think) and working shell command :



/usr/bin/ffmpeg -y -i video-short.mp4 -i audio-short.mp3 -filter_complex "[0:a][1:a]amerge=inputs=2 [a]" -map 0:v -map "[a]" -c:v copy -c:a aac -ac 2 -b:a 128k video3-audio-output.mp4




This outputs a video with 2 audio's.



I got this figured after I made the php code and editing some of the outputted code so the script works.
Here is the php code, where I can't seem to figure out how to return the correct shell.



$video = $this->ffmpeg->openAdvanced([
 'video-short.mp4',
 'audio-short.mp3'
 ]);
 $video
 ->filters()
 ->custom('[0:a][1:a]', 'amerge=inputs=', '2[a]' );
 $video
 ->map(array('0:v', '"[a]"'), new X264('aac'),
 'video3-audio-output.mp4'
 )
 ->save();




Now I need to get the code to return something like the shell that does work, I've been trying for alot of hours.



This is what my php returns it gives an encoding error, plus



No channel layout for input 1



/usr/bin/ffmpeg -y -i video-short.mp4 -i audio-short.mp3 -filter_complex [0:a][1:a]amerge=inputs=2[a] -map 0:v -map "[a]" -vcodec libx264 -acodec aac -b:a 128k video3-audio-output.mp4




(EDIT)
So I added 'Copy' to FFMpeg\Format\Video\X264 getAvaiableVideoCodecs().



If I add 'copy' to new X264('aac', 'copy') It does dump the correct Shell command, but it still crashes on "Encoding Failed"


-
What is the most suitable H265 setting converting from H264 on ffmpeg ?
9 juin 2017, par minion007Currently, I was trying to convert my videos no matter personal videos or movies from H264 to H265. But that was much harder than what I expected.
Firstly, it took me over 10 hours to build ffmpeg on Linux and I believe I’m still having some problems on dealing with this.
Secondly, I notice there is degradation after converting by using the setting or parameters from Internet or ffmpeg official website. On the other hand, the video size would be the same or even bigger than the original video size if I use small crf like 23 or 28.
For instance, sudo ffmpeg -i input.mp4 -c:v hevc -x265-params lossless -preset medium -crf 30 -c:a copy output.mkv
sudo ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless -preset medium -crf 30 -c:a copy output.mkv
the above two settings give me the very small video size (between 21% 23% of the original video) which is the main reason why I want to convert my videos to H265 but drawback would be the quality of converted video is worse than the original video (I would may be between 30% 35% degradation).
Thirdly, the size of video would be much bigger than the original size of video if I use the lossless parameter.
sudo ffmpeg -i input.mp4 -c:v libx265 -x265-params lossless=1 -preset medium -crf 30 -c:a copy output.mkv
the above setting can keep the quality of the original video but size would be huge (above 200% of original video).
Is there any suggestion ?