
Advanced search
Other articles (11)
-
MediaSPIP Core : La Configuration
9 November 2010, byMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes; une page spécifique à la configuration de la page d’accueil du site; une page spécifique à la configuration des secteurs;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques de (...) -
Contribute to a better visual interface
13 April 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Les vidéos
21 April 2011, byComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
On other websites (5445)
-
combine Scheduled audio ffmpeg
5 September 2018, by Erfan EsmaeilzadehI am developing a music making application for Android. I need to create a system that can extract MP3s from the user’s music project.
I can save the name of every file per second of music in a string, as in the following example:
a.mp3-b.mp3-c.mp3|| d.mp3-e.mp3-f.mp3|| g.mp3-h.mp3-i.mp3
=> final.mp3Between "||" is equivalent to one second and the audio within this parameter must be combined. After that, the combinations are put together.
The most important thing is the timing of each sound. Some sounds must be combined at one time and some sounds at other times.
-
ffmpeg adds unnecessary frames to output video
2 July 2014, by Mirac7I have a series of png images which I need to convert to a video playing at 60 frames/second.
ffmpeg -y -i frames/%4d.png -vcodec libx264 -r 60 video.avi
Code above causes the video to have 60 frames per second, but it uses the same frame two or three times, effectively ending up with twice as long 25-ish fps video. What am I doing wrong?
-
Flutter ffmpeg kit: Invalid size error when trying to scale video
27 July 2023, by veryepicdudeI'm trying to resize a video to match instagram's video format requirements. I'm using the
ffmpeg_kit_flutter_full_gpl: ^5.1.0
package to do so and this is the function I'm calling:

Future<void> resizeVideo(String input, String output) async {

 final command = '-i $input -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -use_editlist false -ar 48000 -pix_fmt yuv420p -movflags +faststart -t 59 -y $output';
 final session = await FFmpegKit.execute(command);
 print("resize done with ${await session.getReturnCode()}");
}
</void>


However I get this error every time:


Stream #0:0[0x1](und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 60 kb/s (default)
 Metadata:
 creation_time : 2023-07-27T15:30:28.000000Z
 handler_name : Core Media Audio
 vendor_id : [0][0][0][0]
 Stream #0:1[0x2](und): Video: hevc (hvc1 / 0x31637668), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 2085 kb/s, 30 fps, 30 tbr, 600 tbn (default)
 Metadata:
 creation_time : 2023-07-27T15:30:28.000000Z
 handler_name : Core Media Video
 vendor_id : [0][0][0][0]
Stream mapping:
 Stream #0:1 -> #0:0 (hevc (native) -> h264 (libx264))
 Stream #0:0 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[Parsed_scale_0 @ 0x2834a53f0] Invalid size 'iw*min(1280/iw'
[AVFilterGraph @ 0x28278e3a0] Error initializing filter 'scale'[AVFilterGraph @ 0x28278e3a0] with args 'iw*min(1280/iw'[AVFilterGraph @ 0x28278e3a0] 
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:1
[aac @ 0x105334290] Qavg: 461.613
[aac @ 0x105334290] 2 frames left in the queue on closing



Removing the scale filter makes the function work fine, but it fails the instagram video requirements listed here.
Any help will be greatly appreciated.