
Recherche avancée
Autres articles (101)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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. (...)
Sur d’autres sites (6680)
-
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
24 octobre 2019, par Rocky SinghI am trying to convert an avi video file to flv format via FFMPEG with the following command :
-i C:\files\input\test.avi -y -ab 448k -ar 48000 -vcodec mpeg4 -s 640x480 -f flv C:\files\output\test.flv
Here is the response I am getting from ffmpeg :
Input :
Input #0, avi, from 'C:\files\input\test.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Duration: 00:01:00.00, start: 0.000000, bitrate: 1813 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x272 [SAR 1:1 DAR 40:17], 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), s16, 448 kb/sOutput :
Output #0, flv, to 'C:\files\output\test.flv':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Stream #0:0: Video: mpeg4, yuv420p, 640x480 [SAR 30:17 DAR 40:17], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream #0:1: Audio: mp3, 48000 Hz, 5.1(side), s16, 448 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Stream #0:1 -> #0:1 (ac3 -> libmp3lame)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or heightCan you tell me what is MAY BE here ? and what is wrong above ?
-
Video was encoded with a new width + height along with the old one. Can I re-encode with just the old dimensions using ffmpeg ?
14 novembre 2019, par KabirI’ve got a video out of OBS that play’s normally on my system if I open it with VLC for example, but when I import it into my editor (Adobe Premiere) it gets weirdly cropped down. When inspecting the data for the video it’s because for some reason the video gets encoded with a new width and height over top of the old one ! Is there a way using ffmpeg to re-encode/transcode the video to a new file with only the original width and height ?
Bonus question : would there be a way for me to extract the audio channels from my video as separate .mp3s ? There are 4 audio channels on the video
-
Error while opening encoder for output stream #1:2 - maybe incorrect parameters such as bit_rate, rate, width or height
14 novembre 2019, par geo-freakI am encoding a video which has dvb_teletext inside. I got an error saying Error while opening encoder for output stream #1:2. I used the following command to encode my video.
ffmpeg -threads 8 -i input.ts -s 400x222 -qscale:v 4 -vcodec libx264 -s 320x240 -b:v 512000 -maxrate 512000 -acodec libfaac -b:a 32000 -ar 48000 -force_key_frames expr:gte(t,n_forced*3) -hls_flags single_file -hls_list_size 0 -hls_time 3 -y output.m3u8
You can see the log output of my command.
Input #0, mpegts, from 'pipe:':
Duration: N/A, start: 91105.257722, bitrate: N/A
Program 1
Stream #0:0[0x4b1]: Video: h264 (High), 4 reference frames ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0xc7d](swe): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
Stream #0:2[0x1932](swe,nor,dan,fin,swe): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
[Parsed_fps_0 @ 0x55975e31b7e0] fps=1/1
[graph 0 input from stream 0:0 @ 0x55975e1fb9c0] w:704 h:576 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:16/11 sws_param:flags=2
[scaler for output stream 0:0 @ 0x55975e1f8fe0] w:400 h:222 flags:'bicubic' interl:0
[swscaler @ 0x55975e1a0c80] deprecated pixel format used, make sure you did set range correctly
[scaler for output stream 0:0 @ 0x55975e1f8fe0] w:704 h:576 fmt:yuv420p sar:16/11 -> w:400 h:222 fmt:yuvj420p sar:74/75 flags:0x4
[graph 1 input from stream 0:0 @ 0x55975e177120] w:704 h:576 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:16/11 sws_param:flags=2
[scaler for output stream 1:0 @ 0x55975e1f1020] w:320 h:240 flags:'bicubic' interl:0
[scaler for output stream 1:0 @ 0x55975e1f1020] w:704 h:576 fmt:yuv420p sar:16/11 -> w:320 h:240 fmt:yuv420p sar:4/3 flags:0x4
[graph 2 input from stream 0:1 @ 0x55975e532f20] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
[audio format for output stream 1:1 @ 0x55975e533540] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 1:1'
[auto-inserted resampler 0 @ 0x55975e5358e0] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
[libx264 @ 0x55975e2349a0] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x55975e2349a0] using SAR=4/3
[libx264 @ 0x55975e2349a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x55975e2349a0] profile High, level 2.0
Output #0, hls, to 'output.m3u8':
Stream #1:0: Video: h264 (libx264), -1 reference frame, yuv420p, 320x240 [SAR 4:3 DAR 16:9], q=-1--1, 512 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc57.24.102 libx264
Side data:
unknown side data type 10 (24 bytes)
Stream #1:1(swe): Audio: aac (libfaac), 48000 Hz, stereo, s16, 32 kb/s
Metadata:
encoder : Lavc57.24.102 libfaac
Stream #1:2(swe,nor,dan,fin,swe): Subtitle: webvtt, 128 kb/s
Metadata:
encoder : Lavc57.24.102 webvtt
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Stream #0:0 -> #1:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #1:1 (mp2 (native) -> aac (libfaac))
Stream #0:2 -> #1:2 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
Error while opening encoder for output stream #1:2 - maybe incorrect parameters such as bit_rate, rate, width or height
[Parsed_fps_0 @ 0x55975e31b7e0] 0 frames in, 0 frames out; 0 frames dropped, 0 frames duplicated.
[libx264 @ 0x55975e2349a0] final ratefactor: 23.40
(END)Do I need to use map options here ? How to resolve this ? Any help or suggestion ?