
Recherche avancée
Autres articles (44)
-
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 (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (5738)
-
How to seal subtitle on the video permanently ? ffmpeg
10 octobre 2017, par Robert ChoyI am able to add subtitle to my mp4 ; however, when i upload it on youtube, the subtitle is gone, disappeared.
So i am asking if there is any method to make the subtitle on the video (forever, permanently, seal it, burn it, force everyone watch the video with subtitle, can’t even turn it off manually)
ffmpeg -i video.mp4 -i subtitle.srt -c copy -c:s mov_text -disposition:s:0 forced \
permanently-subtitle-video-please.mp4i dont like the design of youtube subtitle, so i would love to upload my video + subtitle as one thing.
sorry i a not an English native speaker, hope you understand what i am trying to ask. thanks
-
ffmpeg acts weird at reencoding my videos
6 novembre 2022, par averagei have download multiple videos from yt-dlp (option :


yt-dlp --no-flat-playlist --audio-quality 0 --embed-thumbnail --embed-metadata --write-thumbnail --embed-subs --sub-langs all --embed-chapters --playlist-items xx playlist_url_goes_here



result in a bunch of video which encode in mkv and thumbnail in png (after preprocessing from webp/jpg)


my goal was to actually remove the embed thumbnail in mkv and replace it with png.


example of my video data when still in mkv format :


Input #0, matroska,webm, from 'ANIMACIÓN | kirby vs marx [U4g0vusRpEA].mkv':
 Metadata:
 title : ANIMACIÓN | kirby vs marx
 PURL : https://www.youtube.com/watch?v=U4g0vusRpEA
 COMMENT : https://www.youtube.com/watch?v=U4g0vusRpEA
 ARTIST : Los 5 heroes
 DATE : 20200908
 DESCRIPTION : kirby tendrá que enfrentarse a marx luego de que se negara a buscarle comida cuando marx estaba hambriento. Esto ocasiona que marx intente comer todo lo comestible que ve. ¿Podrá kirby detener a marx?
 SYNOPSIS : kirby tendrá que enfrentarse a marx luego de que se negara a buscarle comida cuando marx estaba hambriento. Esto ocasiona que marx intente comer todo lo comestible que ve. ¿Podrá kirby detener a marx?
 ENCODER : Lavf59.27.100
 Duration: 00:09:12.62, start: -0.007000, bitrate: 746 kb/s
 Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn (default)
 Metadata:
 DURATION : 00:09:12.621000000
 Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
 Metadata:
 DURATION : 00:09:12.621000000
 Stream #0:2(eng): Subtitle: webvtt
 Metadata:
 title : English
 HANDLER_NAME : English
 DURATION : 00:08:29.168000000
 Stream #0:3: Attachment: none
 Metadata:
 filename : cover.webp
 mimetype : image/webp



(depend on the video it will be have subtitle or chapters)


i went to ffmpeg and bulk-convert them using the command


for f in *.mkv; do 
ffmpeg -i "$f" -i "${f%.*}.png" -threads 2 -movflags use_metadata_tags -map_chapters 0 -map 0:V -map 0:a -map 0:s? -map 0:d? -scodec mov_text -map 1 -c:v:1 png -disposition:v:1 attached_pic "${f%.*}.mp4"; 
done



but when i tried to run it for the video above,


- 

- during ffmpeg convertion the input was likely same to my expectation




Output #0, mp4, to 'ANIMACIÓN | kirby vs marx [U4g0vusRpEA].mp4':
 Metadata:
 title : ANIMACIÓN | kirby vs marx
 PURL : https://www.youtube.com/watch?v=U4g0vusRpEA
 COMMENT : https://www.youtube.com/watch?v=U4g0vusRpEA
 ARTIST : Los 5 heroes
 DATE : 20200908
 DESCRIPTION : kirby tendrá que enfrentarse a marx luego de que se negara a buscarle comida cuando marx estaba hambriento. Esto ocasiona que marx intente comer todo lo comestible que ve. ¿Podrá kirby detener a marx?
 SYNOPSIS : kirby tendrá que enfrentarse a marx luego de que se negara a buscarle comida cuando marx estaba hambriento. Esto ocasiona que marx intente comer todo lo comestible que ve. ¿Podrá kirby detener a marx?
 encoder : Lavf59.27.100
 Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 12800 tbn (default)
 Metadata:
 DURATION : 00:09:12.621000000
 encoder : Lavc59.37.100 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 DURATION : 00:09:12.621000000
 encoder : Lavc59.37.100 aac
 Stream #0:2(eng): Subtitle: mov_text (tx3g / 0x67337874)
 Metadata:
 title : English
 HANDLER_NAME : English
 DURATION : 00:08:29.168000000
 encoder : Lavc59.37.100 mov_text
 Stream #0:3: Video: png (mp4v / 0x7634706D), rgb24(pc, progressive), 480x360, q=2-31, 200 kb/s, 25 fps, 12800 tbn (attached pic)
 Metadata:
 encoder : Lavc59.37.100 png



- 

- but when i use ffmpeg to check it again result in missing metadatas in video-audio-subtitles streams
(ffmpeg also add its custom metadata in which is not good) and the output video did not have the new thumbnail i want to embed (or even old thumbnail in webp)




Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ANIMACIÓN | kirby vs marx [U4g0vusRpEA].mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 title : ANIMACIÓN | kirby vs marx
 PURL : https://www.youtube.com/watch?v=U4g0vusRpEA
 COMMENT : https://www.youtube.com/watch?v=U4g0vusRpEA
 ARTIST : Los 5 heroes
 DATE : 20200908
 DESCRIPTION : kirby tendrá que enfrentarse a marx luego de que se negara a buscarle comida cuando marx estaba hambriento. Esto ocasiona que marx intente comer todo lo comestible que ve. ¿Podrá kirby detener a marx?
 SYNOPSIS : kirby tendrá que enfrentarse a marx luego de que se negara a buscarle comida cuando marx estaba hambriento. Esto ocasiona que marx intente comer todo lo comestible que ve. ¿Podrá kirby detener a marx?
 encoder : Lavf59.27.100
 Duration: 00:09:12.64, start: 0.000000, bitrate: 1261 kb/s
 Stream #0:0[0x1](eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1138 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : [0][0][0][0]
 encoder : Lavc59.37.100 libx264
 Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 116 kb/s (default)
 Metadata:
 handler_name : SoundHandler
 vendor_id : [0][0][0][0]
 Stream #0:2[0x3](eng): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
 Metadata:
 handler_name : English



so what i have gone wrong with my code and how to fix it ?
.


-
FFMpeg concat streams
9 juillet 2017, par chourizoI am trying to receive two H264 UDP streams from two cameras, and save them to one file (so they are always synchronized). I tried a lot of things, but it always says that there is no video on the second stream (although I can watch it).
ffmpeg -probesize 20M -analyzeduration 20M -i udp://@127.0.0.1:1234 -probesize 20M -analyzeduration 20M -i udp://@127.0.0.1:1235 -filter_complex "[0:v]fps=15,scale=320:240,setsar=1/1,setpts=PTS-STARTPTS[v0]; [1:v]fps=15,scale=320:240,setsar=1/1,setpts=PTS-STARTPTS[v1]; [v0][v1]concat=n=2:v=1:a=0 [v0] [v1]" -map "[v0]" -map "[v1]" -threads 0 -y kk.ts
Is it possible to apply the concat to real time streams, so we have a video with two programs as a result ?