
Recherche avancée
Autres articles (87)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (17304)
-
Concat gives flickering result
4 avril 2016, par Robin CastlinI really don’t get this ; I use ffmpeg concat one 2 files and the audio is concated well, but the videos aren’t. The second video causes freeze/flicker/green screen instead.
'ffmpeg -y -f concat -i concat.txt -c:v libx264 -pix_fmt yuv420p -c:a copy output.mkv
Comparing the files, I have made them as identical as possible :
- input.mkv1
Video: MPEG4 Video (H264) 1280x720 60fps [V: h264 main L4.1, yuv420p, 1280x720 [default]]
Audio: AAC 48000Hz stereo [A: aac, 48000 Hz, stereo [default]] - input2.mkv
Video: MPEG4 Video (H264) 1280x720 60fps [V: English [eng] (h264 main L4.1, yuv420p, 1280x720) [default]]
Audio: AAC 48000Hz stereo [A: English [eng] (aac, 48000 Hz, stereo) [default]]
What could cause this behavior ?
- input.mkv1
-
FFMPEG : Convert multiple movies into plex direct play format
4 avril 2021, par SaschaI have a large movie base which I watch over plex (Apple TV plex client with raspberry 4 plex server). However, for standardization and to ensure better direct play with plex, I wanted to convert the movies/series to new format.


Therefore, my idea was to convert all movies to


- 

- 1080p (1920*1080) / 16:9
- 30 fps
- mkv container
- H.264 (libx264)
- 8 bit Video Depth
- 320 kbps audio AAC
- keep only German and English version (audio / subtitle)
















which seems to be good settings for sustainable standardization. Dont know, if other settings (e.g. hevc) would be better. However, I can't combine the commands with the right ffmpeg options to let my server convert in the background. By now, I came up with the following two commands, which I want to combine, once ffmpeg gives me the right output, which it does not at the moment. It breaks in the conversion process and does not keep only German and English subtitles and audio. I


Hope someone can help me out. Thanks a lot.


find . -name '*.mp4' -or -name '*.wav' -exec ffmpeg -i {} basename {}.mkv \; -exec rm {} \;

for f in *.mkv; do echo "Starting with ${f} @ $(date +%T)"; ffmpeg -hide_banner -i "${f}" -map_metadata:g -1 -movflags faststart -c:v libx264 -preset slow -crf 20 -pix_fmt yuv420p -vf scale=1920:-1,setdar=16/9 -filter:v fps=fps=30 -c:a aac -b:a 320k -map0:s "${f}.2.mkv"; echo "Finished with ${f} @ $(date +%T)"; done



-
FFMPEG encode audio and forced subtitles at same time ?
8 janvier 2017, par Nick BellI’m using latest static build of ffmpeg windows.
My input file (.mkv) is :
[video] - 1080, V_MPEG4/ISO/AVC, 14.6 Mbps, ID#0
[audio] - DTS 5.1, 1510 Kbps, ID#1
[subtitles] - S_TEXT/ASS Lossless English, ID#14My problem is this : I convert the audio, so that my target player, a XB1 console (media support faq), is able to play audio/video. However sometimes its rather difficult to hear or parts may be in foreign language, so I want to force the english subtitles into the mix at the same time I convert the audio.
Currently for the audio, I use the following command
ffmpeg -i input.mkv -codec copy -acodec ac3 output.mkv
Can I somehow tie in the forced subtitles (onto the video) in order to save an extra process of taking the output.mkv and trying to force subtitles on ?
Edit : I’ve tried using the following command to extract subtitles to be able to edit them
ffmpeg -i Movie.mkv -map 0:s:14 subs.srt
However i get the error :
Stream map '0:s:14' matches no streams
Edit2 : attempted to extract subtitles and succeeded with
ffmpeg -i input.mkv -map 0:14 -c copy subtitles.ass
but still looking to force the subtitles, nonetheless !
Also - a little bonus to this question - can I somehow extract the
.ass
file and edit it to only produce subtitles for foreign parts - so english audio doesn’t have subtitles during the movie but foreign audio does have subtitles ?Cheers
Edit3 :
When I try to use both of the commands at once (my earlier mentioned audio converter & one from the ffmpeg wiki)
ffmpeg -i input.mkv -codec copy -acodec ac3 -vf "ass=subs.ass" output.mkv
I get the following error from ffmpeg,
Filtergraph 'ass=subs.ass' was defined for video output stream 0:0 but codec copy was selected.
Filtering and streamcopy cannot be used together.