
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (103)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (13420)
-
downsizing multiple mpg files using ffmpeg.exe
14 septembre 2022, par user2799077I'm using ffmpeg.exe to process screen captures for a demo using MS Game Bar. Game Bar captures at a high frame rate at high resolution and the files are very large.


Using ffmpeg.exe I can process the files using :


ffmpeg.exe -i file.mpg file_l.mpg


And all is good but I'd like to create a bat file so I can do half a dozen or any in a folder all at once.


My Windows bat skills are poor and I've been trying to get it to work using something like this without success :


for %%f in (*.mp4) do (
 ren %%~nf%%~xf !fileNum!%%~xf
 set/a fileNum += 1



Can anyone help please


-
FFMPEG failing to convert to ogv [closed]
25 juillet 2012, par Todd RI have several videos I'm trying to convert to mp4, swf and ogv. I've got the mp4 and swf's working, but ogv is failing and I'm not sure why. I understand all the arguments you can pass to ffmpeg, but feel like getting the correct ones is a huge guessing game. Any suggestions on what I can change to get this to work would be much appreciated.
Here's the command I'm using :
ffmpeg -i /private/var/tmp/phpU5KPR7 -y -s 330X240 -acodec libvorbis -vcodec libtheora outputpath/Videos/1.ogv 2>&1
And here are the results :
2012-07-24T19:05:11-07:00 INFO (6): Creating ogv for 1 returned 1:
2012-07-24T19:05:11-07:00 INFO (6): Array
(
[0] => ffmpeg version 0.8.6, Copyright (c) 2000-2011 the FFmpeg developers
[1] => built on Nov 16 2011 19:56:59 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
[2] => configuration: --enable-libmp3lame --enable-libfaac --enable-libtheora --enable-libvorbis --enable-nonfree --disable-yasm
[3] => libavutil 51. 9. 1 / 51. 9. 1
[4] => libavcodec 53. 7. 0 / 53. 7. 0
[5] => libavformat 53. 4. 0 / 53. 4. 0
[6] => libavdevice 53. 1. 1 / 53. 1. 1
[7] => libavfilter 2. 23. 0 / 2. 23. 0
[8] => libswscale 2. 0. 0 / 2. 0. 0
[9] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/private/var/tmp/phpU5KPR7':
[10] => Metadata:
[11] => major_brand : 3gp4
[12] => minor_version : 768
[13] => compatible_brands: 3gp43gp6
[14] => Duration: 00:00:03.17, start: 0.000000, bitrate: 433 kb/s
[15] => Stream #0.0(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
[16] => Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 411 kb/s, 13.87 fps, 15 tbr, 15k tbn, 15 tbc
[17] => WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[18] => Incompatible sample format 'flt' for codec 'libfaac', auto-selecting format 's16'
[19] => [buffer @ 0x101001480] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[20] => [scale @ 0x101002560] w:352 h:288 fmt:yuv420p -> w:330 h:240 fmt:yuv420p flags:0x4
[21] => Output #0, mp4, to 'outputpath/Videos/1.mp4':
[22] => Metadata:
[23] => major_brand : 3gp4
[24] => minor_version : 768
[25] => compatible_brands: 3gp43gp6
[26] => encoder : Lavf53.4.0
[27] => Stream #0.0(eng): Video: mpeg4, yuv420p, 330x240 [PAR 8:9 DAR 11:9], q=2-31, 300 kb/s, 20 tbn, 20 tbc
[28] => Stream #0.1(eng): Audio: libfaac, 44100 Hz, 1 channels, s16, 0 kb/s
[29] => Stream mapping:
[30] => Stream #0.1 -> #0.0
[31] => Stream #0.0 -> #0.1
[32] => Press [q] to stop, [?] for help
[33] => Warning, using s16 intermediate sample format for resampling
[34] => frame= 62 fps= 0 q=6.4 Lsize= 253kB time=00:00:03.08 bitrate= 670.6kbits/s dup=18 drop=0
[35] => video:238kB audio:12kB global headers:0kB muxing overhead 1.096923%
[36] => ffmpeg version 0.8.6, Copyright (c) 2000-2011 the FFmpeg developers
[37] => built on Nov 16 2011 19:56:59 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
[38] => configuration: --enable-libmp3lame --enable-libfaac --enable-libtheora --enable-libvorbis --enable-nonfree --disable-yasm
[39] => libavutil 51. 9. 1 / 51. 9. 1
[40] => libavcodec 53. 7. 0 / 53. 7. 0
[41] => libavformat 53. 4. 0 / 53. 4. 0
[42] => libavdevice 53. 1. 1 / 53. 1. 1
[43] => libavfilter 2. 23. 0 / 2. 23. 0
[44] => libswscale 2. 0. 0 / 2. 0. 0
[45] => Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/private/var/tmp/phpU5KPR7':
[46] => Metadata:
[47] => major_brand : 3gp4
[48] => minor_version : 768
[49] => compatible_brands: 3gp43gp6
[50] => Duration: 00:00:03.17, start: 0.000000, bitrate: 433 kb/s
[51] => Stream #0.0(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
[52] => Stream #0.1(eng): Video: mpeg4, yuv420p, 352x288 [PAR 1:1 DAR 11:9], 411 kb/s, 13.87 fps, 15 tbr, 15k tbn, 15 tbc
[53] => Incompatible sample format 'flt' for codec 'libvorbis', auto-selecting format 's16'
[54] => [buffer @ 0x1010021a0] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[55] => [scale @ 0x101002520] w:352 h:288 fmt:yuv420p -> w:330 h:240 fmt:yuv420p flags:0x4
[56] => [libvorbis @ 0x101801e00] oggvorbis_encode_init: init_encoder failed
[57] => Output #0, ogg, to 'outputpath/Videos/1.ogv':
[58] => Stream #0.0(eng): Video: libtheora, yuv420p, 330x240 [PAR 8:9 DAR 11:9], q=2-31, 200 kb/s, 90k tbn, 15 tbc
[59] => Stream #0.1(eng): Audio: libvorbis, 8000 Hz, 1 channels, s16, 64 kb/s
[60] => Stream mapping:
[61] => Stream #0.1 -> #0.0
[62] => Stream #0.0 -> #0.1
[63] => Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
) -
Stream a website to a mp4 (rendering html to a mp4)
25 septembre 2022, par Muppet1856I am trying to composite a website (which contains JavaScript and as a result is updating regularly) with a video feed. My goal is to do it on virtual hosted Linux server (my plan is to use Ubuntu, but I am flexible) - I am not interested in solutions utilizing OBS or the like as my solution would be headless.


The problem I am facing is how to output the website to a video stream from a command line.


The site I want to capture is https://vscore.ch/home and I would like to render it in a way that I can feed it to ffmpeg where I can composite it with the live game video that is being delivered via RTMP.