
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (27)
-
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
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 (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
Sur d’autres sites (5267)
-
Use FFmpeg to join MP4 files while preserving subtitles stream [closed]
21 juin 2018, par user1985553I tried :
ffmpeg -f concat -i files.lst -c copy output.mp4
But the output file doesn’t have the subtitles stream. How do I fix this ?
Log :
ffmpeg version 2.3.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 4 2014 09:23:21 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x121e7e0] Invalid SampleDelta -1136 in STTS, at 252 st:1
[concat @ 0x121d8e0] Estimating duration from bitrate, this may be inaccurate
Input #0, concat, from 'files.lst':
Duration: 00:00:00.02, start: 0.000000, bitrate: 144 kb/s
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 720x480 [SAR 8:9 DAR 4:3], 2528 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s
Stream #0:2: Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf55.48.100
Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 2528 kb/s, 29.97 fps, 90k tbn, 90k tbc
Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 160 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1205da0] Invalid SampleDelta -1136 in STTS, at 164 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1227f80] Invalid SampleDelta -1136 in STTS, at 47 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x130d5e0] Invalid SampleDelta -1136 in STTS, at 715 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1202b80] Invalid SampleDelta -1136 in STTS, at 121 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1202b80] Invalid SampleDelta -1136 in STTS, at 67 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x121e7e0] Invalid SampleDelta -1136 in STTS, at 586 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x121e7e0] Invalid SampleDelta -1136 in STTS, at 697 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1205da0] Invalid SampleDelta -1136 in STTS, at 327 st:1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1202ba0] Invalid SampleDelta -1136 in STTS, at 559 st:1
frame= 7713 fps=0.0 q=-1.0 Lsize= 83874kB time=00:04:17.62 bitrate=2667.0kbits/s
video:78535kB audio:5036kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.362465% -
ffmpeg - Merge back frames to a video with the same encoding
24 septembre 2019, par VuwoxI have a video encoded using H264 at 23.98 fps, for a duration of 00:00:06.42.
I extracted the frames from that video, and then I processed those images one-by-one. Now I want to put them back together as a video, but I want to be the same as the source video (same duration, same audio, etc).
Whatever I tried gives something different. The duration is always greater (around 00:00:06.59), the audio seems to be up to the end of the video (as expected), but the frame are not encoded properly, and they seems to freeze at the end and the audio continue.
The one that look almost the same except the freeze at the end look like this :
ffmpeg -i input.mov \
-pattern_type glob -i 'result_*.tif'
-map 1 -map 0:a \
-map_metadata 0 \
-map_metadata:s:v 0:s:v \
-map_metadata:s:a 0:s:a \
output.movWhere I use the metadata and the audio from the input video, and use the frames from my second input.
EDIT : As suggested here the details of the source video.
ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Transparent.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2019-09-17 22:06:44
Duration: 00:00:06.42, start: 0.000000, bitrate: 47798 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 113 kb/s (default)
Metadata:
creation_time : 2019-09-17 22:06:44
handler_name : Core Media Data Handler
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 47541 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc (default)
Metadata:
creation_time : 2019-09-17 22:06:44
handler_name : Core Media Data Handler
encoder : H.264
timecode : 00:00:00:00
Stream #0:2(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2019-09-17 22:06:44
handler_name : Core Media Data Handler
timecode : 00:00:00:00
At least one output file must be specified -
ffmpeg : Error while saving or converting video to .mp4 format
16 juillet 2018, par user4215048sorry for my english...
On my hosting - ffmpeg is installed as a php module. I’m having errors when converting video to mp4 format
Error :
Error while opening the encoder for output stream # 0 : 0 - maybe incorrect parameters such as bit_rate, rate, width or height
Example of the ffmpeg command :
/usr/bin/ffmpeg -y -i /home/afk/public_html/webroot/files/video.flv -vcodec libx264 -acodec libvo_aacenc /home/afk/public_html/webroot/files/video_text.mp4 2 <& 1
I run this command through the php exec() function in the script :
exec ($command, $res) ;
And here is the result that I get ($res array) :
Array ( [0] => ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers [1] => built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16) [2] => configuration : —prefix=/usr —bindir=/usr/bin —datadir=/usr/share/ffmpeg —incdir=/usr/include/ffmpeg —libdir=/usr/lib64 —mandir=/usr/share/man —arch=x86_64 —optflags=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector —param=ssp-buffer-size=4 -m64 -mtune=generic’ —enable-bzlib —disable-crystalhd —enable-gnutls —enable-ladspa —enable-libass —enable-libdc1394 —enable-libfaac —enable-nonfree —disable-indev=jack —enable-libfreetype —enable-libgsm —enable-libmp3lame —enable-openal —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-libschroedinger —enable-libsoxr —enable-libspeex —enable-libtheora —enable-libvorbis —enable-libv4l2 —enable-libx264 —enable-libx265 —enable-libxvid —enable-x11grab —enable-avfilter —enable-avresample —enable-postproc —enable-pthreads —disable-static —enable-shared —enable-gpl —disable-debug —disable-stripping —shlibdir=/usr/lib64 —enable-runtime-cpudetect [3] => libavutil 54. 20.100 / 54. 20.100 [4] => libavcodec 56. 26.100 / 56. 26.100 [5] => libavformat 56. 25.101 / 56. 25.101 [6] => libavdevice 56. 4.100 / 56. 4.100 [7] => libavfilter 5. 11.102 / 5. 11.102 [8] => libavresample 2. 1. 0 / 2. 1. 0 [9] => libswscale 3. 1.101 / 3. 1.101 [10] => libswresample 1. 1.100 / 1. 1.100 [11] => libpostproc 53. 3.100 / 53. 3.100 [12] => Input #0, flv, from ’/home/afk/public_html/webroot/files/video.flv’ : [13] => Metadata : [14] => title : Title of the video [15] => encoder : Lavf56.25.101 [16] => Duration : 00:00:24.00, start : 0.000000, bitrate : 1364 kb/s [17] => Stream #0:0 : Video : flv1, yuv420p, 500x500, 200 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc [18] => [libx264 @ 0x1ec6720] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX [19] => Output #0, mp4, to ’/home/afk/public_html/webroot/files/video_text.mp4’ : [20] => Metadata : [21] => title : Title of the video [22] => encoder : Lavf56.25.101 [23] => Stream #0:0 : Video : h264, none, q=2-31, 128 kb/s, 25 fps [24] => Metadata : [25] => encoder : Lavc56.26.100 libx264 [26] => Stream mapping : [27] => Stream #0:0 -> #0:0 (flv1 (flv) -> h264 (libx264)) [28] => Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height )
The same error occurs when converting any video into this format. I’ve already used the examples from the ffmpeg documentation, but the error remains. Help to understand and solve this problem.
At the same time, the conversion from flv to ogg format works normally, or the creation of video from images into flv and ogg formats