
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
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
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (37)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (5739)
-
What is causing "unspecified pixel format" and "Error opening filters !" error in ffmpeg ?
19 février 2019, par SJAndersonLAI’m writing an mp4 to HLS transcoding process that works as intended on files smaller than 7 gigabytes (sample size is 100 videos). When attempting to transcode anything larger than 7GB, it crashes.
The command :
ffmpeg
-i large_file.mp4 -y
-vf scale=w=1920:h=1080:force_original_aspect_ratio=decrease
-c:a aac
-ar 48000
-c:v h264
-profile:v main
-crf 20
-sc_threshold 0
-g 48
-keyint_min 48
-hls_time 4
-hls_playlist_type vod
-b:v 5000k
-maxrate 5350k
-bufsize 7500k
-b:a 192k
-hls_segment_filename /1080p_%03d.ts
-threads 0
/tmp/output-ef42dc65-1d3d-4682-b32b-68d7c712fb9c-raw-test/1080p.m3u8The error :
ffmpeg version 3.2.12-1\x7edeb9u1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x555888d821c0] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720, 3856 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'large_file.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.26.101
Duration: 05:56:12.51, start: 0.000000, bitrate: 4061 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 1280x720, 3856 kb/s, 29.99 fps, 30 tbr, 100k tbn, 200k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 194 kb/s (default)
Metadata:
handler_name : SoundHandler
[buffer @ 0x555888d88180] Unable to parse option value "-1" as pixel format
Last message repeated 1 times
[buffer @ 0x555888d88180] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0x555888d81e40] Error applying options to the filter.
Error opening filters!The error says to try increasing
analyzeduration
andprobesize
, which I set to max value (based on an answer from this post), however that didn’t seem to change the behavior. I also suspected that the file was corrupted, but the fact that this is failing for all files larger than 7GB makes it more difficult to suggest its something not related to the size of the mp4. -
Error " No such filter '' " while merging videos FFMPEG
23 mars 2019, par FejorHey i newbie in FFMPEG and i’m trying to merge two videos and i get that error - No such filter : ’’
How i can fix that ? Here is my code :ffmpeg -i videoplayback.mp4 videoplayback.mp4 -filter_complex
"[0:v]trim=end=1,setpts=PTS-STARTPTS,fade=t=in:d=1[intro];
[0:v]trim=start=1:end=123.39,setpts=PTS-STARTPTS[main];
[0:v]trim=start=123.39,setpts=PTS-STARTPTS,fade=t=out:d=1[end];
[1:v]trim=end=1,setpts=PTS-STARTPTS,fade=t=in:d=1[intro1];
[1:v]trim=start=1:end=123.39,setpts=PTS-STARTPTS[main1];
[1:v]trim=start=123.39,setpts=PTS-STARTPTS,fade=t=out:d=1[end1];
[0:a][1:a][a];
[intro][main][end][intro1][main1][end1]concat=n=6:v=1:a=1,scale=480x360,setsar=16/9[v]" -map "[v]" -map "[a]" -c:a copy output.mp4 -
How to fix "Unable to find a suitable output format for '/'" error in ffmpeg running with PHP [on hold]
4 avril 2019, par C.PietroI want to compress video on the server after the upload.
I installed correctly ffmpeg and when i run from the command lineffmpeg -i input.mp4 -vcodec libx265 -crf 28 -vcodec h264 -acodec aac -strict -2 output.mp4
it works !
But if i run the same command from PHP with exec,
class VideoCompress {
function compress($path, $name){
if (`which ffmpeg`) {
exec("cd \"$path\";ffmpeg -i \"$name\" -vcodec libx265 -crf 28 -vcodec h264 -acodec aac -strict -2 \"bk_$name\" / 2>&1", $o);
print_r8($o);
}
}
}it fails and return this error
Array
(
[0] => ffmpeg version N-48518-g27c94c57dc-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
[1] => built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
[2] => configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
[3] => libavutil 56. 26.100 / 56. 26.100
[4] => libavcodec 58. 48.100 / 58. 48.100
[5] => libavformat 58. 26.101 / 58. 26.101
[6] => libavdevice 58. 7.100 / 58. 7.100
[7] => libavfilter 7. 48.100 / 7. 48.100
[8] => libswscale 5. 4.100 / 5. 4.100
[9] => libswresample 3. 4.100 / 3. 4.100
[10] => libpostproc 55. 4.100 / 55. 4.100
[11] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'WebHD_720p.mp4':
[12] => Metadata:
[13] => major_brand : isom
[14] => minor_version : 512
[15] => compatible_brands: isomiso2avc1mp41
[16] => encoder : Lavf57.71.100
[17] => Duration: 00:03:23.22, start: 0.000000, bitrate: 1890 kb/s
[18] => Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 9:10 DAR 8:5], 1754 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
[19] => Metadata:
[20] => handler_name : VideoHandler
[21] => Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
[22] => Metadata:
[23] => handler_name : SoundHandler
[24] => [NULL @ 0x59fb100] Unable to find a suitable output format for '/'
[25] => /: Invalid argument
)Any idea on how can i fix it ?