
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (42)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (5459)
-
FFmpeg pipe input, error while transcoding from WebM to MP4
7 mai 2022, par sauravI am trying to record a video from pipe input using FFMPEG. The pipe input is in WebM format i.e. the video codec is VP8 and the audio codec is OPUS. I am able to save the output video in the WebM format using FFMPEG without any issue. But when I am trying to save it in MP4 format, I am not getting the desired output. Though there are no errors while saving, the output file shows an error with description " This file contains no playable streams !."


These are the options for successfully recording in the WebM format.


'-loglevel', 'debug', '-protocol_whitelist', 'pipe,udp,rtp', 
'-fflags', '+genpts', '-i', 'pipe:0', '-map', '0:v:0', '-c:v', 
'copy', '-map', '0:a:0', '-strict', '-2', '-c:a', 'copy', '-flags',
 '+global_header', '-f', 'webm', 'output.webm'



Here are my ffmpeg options for recording in the MP4 format.


'-thread_queue_size', '4096', '-r', '25', '-i', 'pipe:0', 
 '-c:v', 'libx264', '-preset', 'veryFast', '-pix_fmt', 'yuvj420p', 
 '-acodec', 'aac', "output.mp4"



Console output after executing this command as a subprocess


> ffmpeg::process::data [data:' libavutil 56. 31.100 / 56. 
31.100\n' + ' libavcodec 58. 54.100 / 58. 54.100\n' + ' 
libavformat 58. 29.100 / 58. 29.100\n' + ' libavdevice 58. 
 8.100 / 58. 8.100\n' + ' libavfilter 7. 57.100 / 7. 57.100\n'
 + ' libavresample 4. 0. 0 / 4. 0. 0\n' + ' libswscale 
 5. 5.100 / 5. 5.100\n' + ' libswresample 3. 5.100 / 3.
 5.100\n' + ' libpostproc 55. 5.100 / 55. 5.100\n'] +1ms
> 
> ffmpeg ffmpeg::process::data [data:"Input #0, matroska,webm, from
> 'pipe:0':\n" + ' Metadata:\n' + ' encoder : Chrome\n' + ' 
> Duration: N/A, start: 0.000000, bitrate: N/A\n' + ' Stream
> #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)\n' + ' 
 Stream #0:1(eng): Video: vp8, yuv420p(progressive), 1920x950, SAR 1:1
> DAR 192:95, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)\n' + ' 
> Metadata:\n' + ' alpha_mode : 1\n'] +1s
> 
> 
> ffmpeg::process::data [data:'Stream mapping:\n' + ' Stream #0:1 ->
> #0:0 (vp8 (native) -> h264 (libx264))\n' + ' Stream #0:0 -> #0:1 
(opus (native) -> aac (native))\n'] +1ms
> 
> ffmpeg::process::data [data:'[swscaler @ 0x55a63050ddc0] deprecated
> pixel format used, make sure you did set range correctly\n'] +23ms
> 
> ffmpeg::process::data [data:'[libx264 @ 0x55a630489980] using
> SAR=1/1\n'] +10ms
> 
> ffmpeg::process::data [data:'[libx264 @ 0x55a630489980] using cpu
> capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n'] +0ms
> 
> ffmpeg::process::data [data:'[libx264 @ 0x55a630489980] profile
> High, level 4.0\n'] +8ms
> 
> ffmpeg::process::data [data:'[libx264 @ 0x55a630489980] 264 - core
> 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 -
> http://www.videolan.org/x264.html - options: cabac=1 ref=1
> deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00
> mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0
> deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=18
> lookahead_threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250
> keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf
> mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
> aq=1:1.00\n'] +1ms
> 
> ffmpeg::process::data [data:"Output #0, mp4, to 'output.mp4':\n" + '
> Metadata:\n' + ' encoder : Lavf58.29.100\n' + ' Stream
> #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), 
yuvj420p(pc), 1920x950 [SAR 1:1 DAR 192:95], q=-1--1, 25 fps, 12800 tbn, 25 tbc
> (default)\n' + ' Metadata:\n' + ' alpha_mode : 1\n' + ' 
> encoder : Lavc58.54.100 libx264\n' + ' Side data:\n' + ' 
> cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1\n' + ' 
> Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
> stereo, fltp, 128 kb/s (default)\n' + ' Metadata:\n' + ' 
> encoder : Lavc58.54.100 aac\n'] +0ms
> 
> ffmpeg::process::data [data:'frame= 45 fps=0.0 q=28.0 size= 
> 0kB time=00:00:01.87 bitrate= 0.2kbits/s speed=3.48x \r'] +505ms
> 
> ffmpeg::process::data [data:'frame= 61 fps= 56 q=28.0 size= 
> 0kB time=00:00:02.41 bitrate= 0.2kbits/s speed=2.22x \r'] +564ms
> 
> ffmpeg::process::data [data:'frame= 76 fps= 48 q=28.0 size= 
> 0kB time=00:00:02.88 bitrate= 0.1kbits/s speed=1.81x \r'] +492ms



I have a doubt on this output as it may have been causing the issue.


ffmpeg::process::data [data:'[swscaler @ 0x55a63050ddc0] deprecated
 pixel format used, make sure you did set range correctly\n'] +23ms



I hope I have provided enough information about the issue I am facing. Please ask for any other information needed to understand the issue correctly.


I am sure that I am missing some ffmpeg options which is causing this issue. But I am not able to identify them ! Any help in correcting this issue would be greatly appreciated.


Thank you.


-
Inputing a List of Files for Concatenation with Node.js Module fluent-ffmpeg
26 juin 2018, par carpiediemVersion information
- fluent-ffmpeg version : 2.1.2
- ffmpeg version : 3.4.2
- OS : Windows 10
Code to reproduce
ffmpeg('C:/path/to/list.txt').mergeToFile('C:/path/to/out.mp4', 'C:/path/to/temp');
list.txt :
file 'C:/path/to/chunk01.ts'
file 'C:/path/to/chunk02.ts'
file 'C:/path/to/chunk03.ts'
file 'C:/path/to/chunk04.ts'Note : I’ve tried both absolute and relative paths, with the same result.
Expected results
A video file at
C:/path/to/out.mp4
that matches the 4 files in list.txt, concatenated end-to-end.Observed results
An empty file at
C:/path/to/out.mp4
with 0 duration and only 15kB in size. No errors were thrown.This is the command that I’m trying to duplicate (it works as expected, with relative paths in list.txt) :
C:/path/to> ffmpeg -f concat -i list.txt -c copy out.ts
stdout & stderr
stdout was empty. stderr is copied below (with file names modified to match the ones above) :
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, tty, from 'C:/path/to/list.txt':
Duration: 00:00:00.08, bitrate: 42 kb/s
Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 (ansi) -> concat
concat -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[libx264 @ 000001e385b45040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001e385b45040] profile High 4:4:4 Predictive, level 3.0, 4:4:4 8-bit
[libx264 @ 000001e385b45040] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'C:/path/to/out.mp4':
Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 640x400, q=-1--1, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc57.107.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 2 fps=0.0 q=-1.0 Lsize= 15kB time=00:00:00.04 bitrate=3099.0kbits/s speed=1.55x
video:14kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.619430%
[libx264 @ 000001e385b45040] frame I:1 Avg QP:12.71 size: 8083
[libx264 @ 000001e385b45040] frame P:1 Avg QP:29.71 size: 5928
[libx264 @ 000001e385b45040] mb I I16..4: 87.9% 0.0% 12.1%
[libx264 @ 000001e385b45040] mb P I16..4: 9.3% 0.0% 0.0% P16..4: 0.4% 0.0% 0.0% 0.0% 0.0% skip:90.3%
[libx264 @ 000001e385b45040] coded y,u,v intra: 17.9% 0.0% 0.0% inter: 0.1% 0.0% 0.0%
[libx264 @ 000001e385b45040] i16 v,h,dc,p: 88% 8% 4% 0%
[libx264 @ 000001e385b45040] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 31% 19% 3% 2% 3% 7% 4% 3%
[libx264 @ 000001e385b45040] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001e385b45040] kb/s:1401.10 -
Mp4 render result from ffmpeg not playable on android
11 juillet 2019, par albertI’m using PHP to run ffmpeg(4.0.2) render out MP4 file.
MP4 file playable on all of iOS device, and most laptop, but not playable on android device.Here is the ffmpeg code I use to render the video
/usr/local/bin/ffmpeg -filter_complex "[0]reverse[r];[0][r]concat, loop=1:65, setpts=N/15/TB" -r 15 -f image2 -i /Source/0001_CAM%02d.jpg -c:v libx264 -preset fast -crf 19 -profile:v baseline -movflags +faststart -pix_fmt yuv420p /Result/output.mp4
Here is the log
[0] => ffmpeg version N-91590-geb1860e017-tessus Copyright (c) 2000-2018 the FFmpeg developers
[1] => built with Apple LLVM version 9.1.0 (clang-902.0.39.2)
[2] => configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
[3] => libavutil 56. 18.102 / 56. 18.102
[4] => libavcodec 58. 22.101 / 58. 22.101
[5] => libavformat 58. 17.101 / 58. 17.101
[6] => libavdevice 58. 4.101 / 58. 4.101
[7] => libavfilter 7. 26.100 / 7. 26.100
[8] => libswscale 5. 2.100 / 5. 2.100
[9] => libswresample 3. 2.100 / 3. 2.100
[10] => libpostproc 55. 2.100 / 55. 2.100
[11] => Input #0, image2, from '/Source/0001_CAM%02d.jpg':
[12] => Duration: 00:00:00.33, start: 0.000000, bitrate: N/A
[13] => Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 3456x2304, 15 tbr, 15 tbn, 15 tbc
[14] => Stream mapping:
[15] => Stream #0:0 (mjpeg) -> reverse
[16] => Stream #0:0 (mjpeg) -> concat:in0:v0
[17] => setpts -> Stream #0:0 (libx264)
[18] => Press [q] to stop, [?] for help
[19] => [swscaler @ 0x1077f9000] deprecated pixel format used, make sure you did set range correctly
[20] => [libx264 @ 0x7fd583800600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[21] => [libx264 @ 0x7fd583800600] profile Constrained Baseline, level 5.1, 4:2:0, 8-bit
[22] => [libx264 @ 0x7fd583800600] 264 - core 157 r2932 303c484 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=19.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[23] => Output #0, mp4, to '/Result/output.mp4':
[24] => Metadata:
[25] => encoder : Lavf58.17.101
[26] => Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 3456x2304, q=-1--1, 15 fps, 15360 tbn, 15 tbc (default)
[27] => Metadata:
[28] => encoder : Lavc58.22.101 libx264
[29] => Side data:
[30] => cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
[31] => frame= 8 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
[mp4 @ 0x7fd583804a00] Starting second pass: moving the moov atom to the beginning of the file
[32] => frame= 20 fps=5.1 q=-1.0 Lsize= 10642kB time=00:00:01.26 bitrate=68823.6kbits/s speed=0.322x
[33] => video:10641kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.009452%
[34] => [libx264 @ 0x7fd583800600] frame I:4 Avg QP:17.92 size:895006
[35] => [libx264 @ 0x7fd583800600] frame P:16 Avg QP:19.96 size:457246
[36] => [libx264 @ 0x7fd583800600] mb I I16..4: 11.5% 0.0% 88.5%
[37] => [libx264 @ 0x7fd583800600] mb P I16..4: 4.1% 0.0% 25.0% P16..4: 27.7% 19.0% 6.8% 0.0% 0.0% skip:17.3%
[38] => [libx264 @ 0x7fd583800600] coded y,uvDC,uvAC intra: 92.9% 89.0% 56.0% inter: 51.3% 65.2% 3.9%
[39] => [libx264 @ 0x7fd583800600] i16 v,h,dc,p: 28% 5% 14% 52%
[40] => [libx264 @ 0x7fd583800600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 12% 15% 8% 9% 10% 7% 8% 6%
[41] => [libx264 @ 0x7fd583800600] i8c dc,h,v,p: 47% 16% 29% 8%
[42] => [libx264 @ 0x7fd583800600] ref P L0: 81.6% 18.4%
[43] => [libx264 @ 0x7fd583800600] kb/s:65375.79