
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (89)
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (8318)
-
Multi-language broadcasting title metadata for Audio & subtitle is not working
28 septembre 2022, par Fariduzzaman XenarI have a (.mp4) video file that contains 1 video track, 2 audio tracks & 2 subtitles. I already used different titles for audio tracks on encoding, but it's not working on any web player like JWPlayer, or Flussonic, where Multi-language broadcasting is supported. It shows eng a1, hin a2 for audio | eng t1, ben t2 for subtitle


I want to show it like this English, Hindi for audio | English, Bangla for Subtitle


Here is my video Detail :
[FROM FFPROBE]


Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 2254 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 129 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:2[0x3](hin): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 161 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:3[0x4](eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s
 Metadata:
 handler_name : SubtitleHandler
 Stream #0:4[0x5](ben): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
 Metadata:
 handler_name : SubtitleHandler
 Stream #0:5[0x6](eng): Data: bin_data (text / 0x74786574)
 Metadata:
 handler_name : SubtitleHandler



[FROM MEDIAINFO]


General
Complete name : video.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 2.64 GiB
Duration : 2 h 28 min
Overall bit rate mode : Variable
Overall bit rate : 2 551 kb/s
Writing application : Lavf59.32.100

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2 h 27 min
Source duration : 2 h 27 min
Bit rate : 2 141 kb/s
Nominal bit rate : 2 250 kb/s
Maximum bit rate : 2 254 kb/s
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1


Audio #1
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Channel(s) : 2 channels
Source stream size : 137 MiB (5%)
Title : English
Language : English
Default : Yes
Alternate group : 1
Menus : 6

Audio #2
ID : 3
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Channel(s) : 2 channels
Source stream size : 171 MiB (6%)
Title : Hindi
Language : Hindi
Default : Yes
Alternate group : 2
Menus : 6

Text #1
ID : 4
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 2 h 27 min
Bit rate mode : Variable
Bit rate : 69 b/s
Stream size : 74.4 KiB (0%)
Title : English
Language : English
Default : No
Forced : No
Alternate group : 3
Menus : 6

Text #2
ID : 5
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 2 h 27 min
Bit rate mode : Variable
Bit rate : 164 b/s
Stream size : 178 KiB (0%)
Title : Bangla
Language : Bengali
Default : Yes
Forced : No
Alternate group : 4
Menus : 6




-
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