
Recherche avancée
Autres articles (27)
-
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 à (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4332)
-
Piping ppm files to ffmpeg to create movie in c++
15 août 2015, par chasep255I want to create a movie of a zoom on the Mandelbrot set. To do this I want to create image data in the ppm format and then pipe it into ffmpeg using popen. The following command works if I first save the ppm to my disc and then run ffmpeg through the terminal.
ffmpeg -i out.ppm -r 1/5 out.mp4
Here is what I am trying to do in code.
FILE* p = popen("ffmpeg -i /dev/stdin -r 1/5 out.mp4", "w");
ppm_pipe(p, pix_buffers[0], w, h);
fclose(p);
...
void ppm_pipe(FILE* f, unsigned char* pix, int w, int h)
{
assert(fprintf(f, "P6 %d %d 255\n", w, h) > 0);
size_t sz = 3 * (size_t)w * (size_t)h;
assert(fwrite(pix, 1, sz, f) == sz);
}I get the following error message.
ffmpeg version 2.5.8-0ubuntu0.15.04.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
configuration: --prefix=/usr --extra-version=0ubuntu0.15.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared --disable-stripping --enable-avresample --enable-avisynth --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libshine --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libwavpack --enable-libwebp --enable-libxvid --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzvbi --enable-libzmq --enable-frei0r --enable-libvpx --enable-libx264 --enable-libsoxr --enable-gnutls --enable-openal --enable-libopencv --enable-librtmp --enable-libx265
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
/dev/stdin: Invalid data found when processing input -
use ffmpeg movie= with a remote file [duplicate]
19 juillet 2020, par galipmediaI have a use case where I would like to specify several files within a complexFilter in ffmpeg.


movie='/local/file.mp4' works fine 
movie='https://www.some.com/file.mp4" fails with "No such file or directory"



is there any workaround for this ? Obviously I can include the files as -i inputs but that is not what I am looking for.


-
Download a video from blob:https url from eventive
26 août 2020, par jjcasmarI want to download a video from eventive but the tag contains a blob url (blob :https://watch.eventive.org/**************).


I have been reading some answers to similar questions but they all assume that the video has a mp3u8 file extension, which in my case doesn't.


I have also tried to directly download that url (removing the blob :) with curl, but I obtained a html code which I cant really understand, which contains a lot of references to javascript files.


Any tip would be really helpful.


Edit :


I have been doing some more tests and I have been able to found a url to a manifest file which points apparently to the video data. I have tried to open that url using VLC and it loads some info about the video, and it even plays it, but the screen is completely black.


I have also tried to download it using ffmpeg but it gives a bunch of errors.


ffmpeg -i https://eventiveprod-usea.streaming.media.azure.net/02968382-069a-4f02-ab3b-67c0b5a8d5b7/5f427f2d65a569006ebd326c.ism/manifest\(format\=mpd-time-csf\) output.mp4



ffmpeg output


ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.1.0 (GCC)
 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
[h264 @ 0x556c1e280bc0] top block unavailable for requested intra mode
[h264 @ 0x556c1e280bc0] error while decoding MB 34 0, bytestream 41478 
[h264 @ 0x556c1e280bc0] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x556c1e2ce440] top block unavailable for requested intra mode -1
[h264 @ 0x556c1e2ce440] error while decoding MB 34 0, bytestream 22093 
[h264 @ 0x556c1e2ce440] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame
[h264 @ 0x556c1e2f9f40] top block unavailable for requested intra mode -1
[h264 @ 0x556c1e2f9f40] error while decoding MB 24 0, bytestream 15117 
[h264 @ 0x556c1e2f9f40] concealing 2040 DC, 2040 AC, 2040 MV errors in I frame
[h264 @ 0x556c1e333bc0] top block unavailable for requested intra mode -1
[h264 @ 0x556c1e333bc0] error while decoding MB 17 0, bytestream 8716 
[h264 @ 0x556c1e333bc0] concealing 920 DC, 920 AC, 920 MV errors in I frame
[aac @ 0x556c1e3745c0] channel element 2.8 is not allocated
Input #0, dash, from 'https://eventiveprod-usea.streaming.media.azure.net/02968382-069a-4f02-ab3b-67c0b5a8d5b7/5f427f2d65a569006ebd326c.ism/manifest(format=mpd-time-csf)':
 Duration: 00:21:18.00, start: 0.066000, bitrate: 0 kb/s
 Program 0 
 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1317 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
 Metadata:
 variant_bitrate : 1770930
 id : 1_V_video_1
 Stream #0:1: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 686 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
 Metadata:
 variant_bitrate : 904295
 id : 1_V_video_2
 Stream #0:2: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 495 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
 Metadata:
 variant_bitrate : 572685
 id : 1_V_video_3
 Stream #0:3: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 308 kb/s, 29.97 fps, 29.97 tbr, 10000k tbn, 59.94 tbc
 Metadata:
 variant_bitrate : 301036
 id : 1_V_video_4
 Stream #0:4(en): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
 Metadata:
 variant_bitrate : 127999
 id : 5_A_aac_eng_2_127999
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
 Stream #0:4 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[aac @ 0x556c1e392dc0] channel element 2.8 is not allocated
Error while decoding stream #0:4: Invalid data found when processing input 
[h264 @ 0x556c1e3da900] top block unavailable for requested intra mode 
[h264 @ 0x556c1e3da900] error while decoding MB 34 0, bytestream 41478 
[aac @ 0x556c1e392dc0] Reserved bit set. 
[aac @ 0x556c1e392dc0] Number of bands (13) exceeds limit (11). 
[h264 @ 0x556c1e3da900] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
Error while decoding stream #0:4: Invalid data found when processing input
[aac @ 0x556c1e392dc0] channel element 2.4 is not allocated 
Error while decoding stream #0:4: Invalid data found when processing input 
[aac @ 0x556c1e392dc0] Multiple frames in a packet.
...
[libx264 @ 0x5588338c2d00] frame I:1 Avg QP: 4.13 size: 421
[libx264 @ 0x5588338c2d00] frame P:32 Avg QP:14.06 size: 1216
[libx264 @ 0x5588338c2d00] frame B:96 Avg QP:20.52 size: 306
[libx264 @ 0x5588338c2d00] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 0x5588338c2d00] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0x5588338c2d00] mb P I16..4: 0.6% 0.6% 0.0% P16..4: 9.4% 0.3% 0.3% 0.0% 0.0% skip:88.9%
[libx264 @ 0x5588338c2d00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 3.7% 0.0% 0.0% direct: 0.0% skip:96.2% L0:53.5% L1:46.3% BI: 0.2%
[libx264 @ 0x5588338c2d00] 8x8 transform intra:13.0% inter:86.8%
[libx264 @ 0x5588338c2d00] coded y,uvDC,uvAC intra: 1.3% 0.8% 0.2% inter: 0.2% 0.2% 0.0%
[libx264 @ 0x5588338c2d00] i16 v,h,dc,p: 98% 0% 2% 0%
[libx264 @ 0x5588338c2d00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 2% 64% 0% 0% 0% 0% 0% 0%
[libx264 @ 0x5588338c2d00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18% 42% 3% 1% 1% 2% 2% 1%
[libx264 @ 0x5588338c2d00] i8c dc,h,v,p: 99% 0% 0% 0%
[libx264 @ 0x5588338c2d00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x5588338c2d00] ref P L0: 86.7% 1.2% 8.8% 3.3%
[libx264 @ 0x5588338c2d00] ref B L0: 62.7% 35.4% 1.9%
[libx264 @ 0x5588338c2d00] ref B L1: 96.1% 3.9%
[libx264 @ 0x5588338c2d00] kb/s:127.70
Conversion failed!