
Recherche avancée
Autres articles (111)
-
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 (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)
Sur d’autres sites (10724)
-
movtextdec : Add support for automatic text wrapping
14 août 2015, par Nikleshmovtextdec : Add support for automatic text wrapping
The value of wrap_flag in the Text Wrap Box specifies if the text is to
be wrapped or not. Uses ’end of line wrap’ amongst the wrap styles
supported by ASS if the text is to be wrapped, i.e ; fill as much text
in a line as possible, then break to next line.The 3GPP spec has no provision for smart wrapping.
Signed-off-by : Niklesh <niklesh.lalwani@iitb.ac.in>
-
Extract files from mpeg video
28 octobre 2013, par A Dark Divided GemVideos created with Camtasia can be shared on the web by exporting the project for the TechSmith Smart Player. The video is exported in the "H264 - MPEG-4 AVC (part10) (avc1)" codec and the export also includes other custom XML, JavaScript and SWF files used by the TechSmith Smart Player.
These custom files are also "burnt" into the video itself. For example the contents of the XML file can be viewed when opening the MP4 video in a text editor. This allows other services to only ask for the MP4 file when uploading Camtasia videos.
Therefore my question is how do you extract text and binary files from a MP4 video file ? For this project I am limited to Java but I am happy to call an external executable as well.
I tried the "-dump_attachment" option in FFmpeg but that didn't work and I am out of ideas.
C :\Users\Desktop>ffmpeg -dump_attachment:t "" -i getting-started-project.mp4 ffmpeg version N-57448-gc78a416 Copyright (c) 2000-2013 the FFmpeg developers built on Oct 26 2013 18:08:54 with gcc 4.8.2 (GCC) configuration : —enable-gpl —enable-version3 —disable-w32threads —enable-av isynth —enable-bzlib —enable-fontconfig —enable-frei0r —enable-gnutls —enab le-iconv —enable-libass —enable-libbluray —enable-libcaca —enable-libfreetyp e —enable-libgsm —enable-libilbc —enable-libmodplug —enable-libmp3lame —ena ble-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-l ibopus —enable-librtmp —enable-libschroedinger —enable-libsoxr —enable-libsp eex —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvo-aa cenc —enable-libvo-amrwbenc —enable-libvorbis —enable-libvpx —enable-libwavp ack —enable-libx264 —enable-libxavs —enable-libxvid —enable-zlib libavutil 52. 47.101 / 52. 47.101 libavcodec 55. 38.101 / 55. 38.101 libavformat 55. 19.104 / 55. 19.104 libavdevice 55. 5.100 / 55. 5.100 libavfilter 3. 89.100 / 3. 89.100 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'getting-started-project.mp4' : Metadata : major_brand : mp42 minor_version : 0 compatible_brands : isommp42 creation_time : 2013-10-24 15:53:19 artist : description : title : Untitled Duration : 00:05:41.12, start : 0.000000, bitrate : 314 kb/s Stream #0:0(eng) : Video : h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 6 40x360 [SAR 1:1 DAR 16:9], 185 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default) Metadata : creation_time : 2013-10-24 15:53:19 handler_name : Mainconcept MP4 Video Media Handler Stream #0:1(eng) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 12 5 kb/s (default) Metadata : creation_time : 2013-10-24 15:53:19 handler_name : Mainconcept MP4 Sound Media Handler At least one output file must be specified
Update : It appears the XML is contained within a custom UUID atom and I just need a way of extracting that.
Thanks
-
Correcting the variable name in an ffmpeg subtitle script
21 juin 2017, par Steven FoongI have 175 mp4 video files and subtitle files with the extension .ass. Unfortunately, my smart TV is not able to read those subtitles. I plan to burn (hardcode) the subtitles into the video.
I use this command :
ffmpeg -i orgvideo.mp4 -vf subtitles="subtitle.ass" newvideo.mp4 <br />
It works. So I plan to use a
bash
script to automate the process.Everything in the script is working but the
ffmpeg
command line isn’t able to retrieve the subtitle variable.After googling around, I found that my file name has special character and space, that causes my script to fail. If the video file name and the subtitle file is simple, then the script should be no problem.
This is my script :
for f in *.mp4
do
new="${f%%.mp4} (CHT).mp4"
subtitle="${f%%.mp4}.chi.ass"
< /dev/null ffmpeg -i "$f" -vf subtitles="$subtitle" "$new"
doneThe
ffmpeg
line is having problems reading the subtitle file variable. Can anyone help ?