
Recherche avancée
Autres articles (14)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4621)
-
FFmpeg scale and concat with dynamic height
21 août 2018, par Praveen TamilHi below is the code I’m using to concat multiple images.
ffmpeg -loop 1 -t 1 -i img1.jpeg -loop 1 -t 1 -i img2.jpeg -loop 1 -t 1 -i img3.jpeg
-loop 1 -t 1 -i img4.jpeg -filter_complex "
[0:v]scale=640:480:force_original_aspect_ratio=decrease, pad=640:480:(ow-iw)/2:(oh-ih)/2[v0];
[1:v]scale=640:480:force_original_aspect_ratio=decrease, pad=640:480:(ow-iw)/2:(oh-ih)/2[v1];
[2:v]scale=640:480:force_original_aspect_ratio=decrease, pad=640:480:(ow-iw)/2:(oh-ih)/2[v2];
[3:v]scale=640:480:force_original_aspect_ratio=decrease, pad=640:480:(ow-iw)/2:(oh-ih)/2[v3];
[v0][v1][v2][v3]concat=n=4" output.gifBut I’m getting below issue
-
FFMEPG crop : Invalid too big or non positive size for width '1920' or height '1040'
12 février 2021, par NatePhysicsI run into a strange issue with a particular file in FFMPEG. When I try and crop it down a little I get :


[Parsed_crop_0 @ 000002ad60c27980] Invalid too big or non positive size for width '1920' or height '1040'
[Parsed_crop_0 @ 000002ad60c27980] Failed to configure input pad on Parsed_crop_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:37
Conversion failed!



This is odd to me because you can even see from the stream metadata that the resolution is much higher :


Metadata:
 encoder : libebml v1.4.0 + libmatroska v1.6.2
 creation_time : 2021-02-09T22:45:47.000000Z
 Duration: 02:17:48.93, start: 0.000000, bitrate: 8548 kb/s
 Stream #0:0: Video: h264 (High), yuv420p(progressive), **1920x1080** [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)



There's only 1 video stream. I'm running the following command :


ffmpeg -i "wedding.mkv" -filter:v "crop=1920:1040" -c:v libx264 -preset slow -tune film -profile:v high -level 4.1 -crf 19 -c:a copy -c:s copy -map 0 "wedding-cropped.mkv"



I can preview the crop using the following command without any errors :


ffplay -i "wedding.mkv" -vf "crop=1920:960"



I've cropped a few files before without issue. I'm a bit confused as to why I'm getting a resolution error in this case when the video file is clearly higher resolution. I've also tested lowering the cropped resolution and even when I lower both by several hundred pixels it still spits out the same error. Any thoughts or suggestions ?


-
Revision bfdfeb62a7 : Merge "Replacing mi_{width,height}_log2 with num_8x8_blocks_{wide,high}_lookup."
6 novembre 2013, par Dmitry KovalevMerge "Replacing mi_width,height_log2 with num_8x8_blocks_wide,high_lookup."