
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (83)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (7763)
-
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



-
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
-
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