
Recherche avancée
Autres articles (66)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (13699)
-
.NET Wrapper ffmpeg convert to mp4 set size to 1920 x 1080
1er août 2020, par RobertI in my application written in .NET Core I use ffmpeg to convert movie from 3gp to mp4.


var conversionOptions = new ConversionOptions
{
 MaxVideoDuration = TimeSpan.FromSeconds(60),
 VideoAspectRatio = VideoAspectRatio.R16_9,
 VideoSize = VideoSize.Hd1080,
 AudioSampleRate = AudioSampleRate.Hz44100,
 // CustomWidth = 200
};
 
await ffmpeg.ConvertAsync(inputFile, outputFileMp4, conversionOptions);



Convertion works fine, but my source movie is from mobile phone. Its frame size is 1920 x 1080 but the movie is higher than wider.
After conversion with above code the frame is the same but the movie is cuted and it is wider than taller.
I wanted to have original size


-
Picture size 0x0 is invalid : trying to downsample 4k raw video into 1080 using ffmpeg
25 février 2021, par neetu siggerffmpeg -i CityAlley_3840x2160_50fps_8bit.yuv -vf scale=1920:1080 CityAlly.yuv



But I got the error :


ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
[IMGUTILS @ 0x7fffc0509b50] Picture size 0x0 is invalid
CityAlley_3840x2160_50fps_8bit.yuv: Invalid argument



-
FFMPEG Python : Encountered scale(1920, 1080) with multiple outgoing edges with same upstream label None ; a `split` filter is probably required
2 janvier, par Lysander CoxHere is the code in question :


for comment in thread['comments']:
 commentClips += fragmentConcat(comment, filePrefix)
 
 staticClip = ffmpeg.input('assets/static.mp4')
 commentClips.append(staticClip
 .filter('setsar', 1, 1)
 .filter('scale', 1920, 1080)
 )
 commentClips.append(staticClip.audio)



This code generates the following error :


ValueError: Encountered scale(1920, 1080) <6adb028f8ef5> with multiple outgoing edges with same upstream label None; a `split` filter is probably required



I have tried using only the video part of the input for the first call (e.g.
staticClip['v'].filter...
), and I have tried using thesplit
call as suggested (e.g.ffmpeg.input(...).split()
. Nothing has worked. What is the issue, and how can I rememdy it ? Thanks.