Recherche avancée

Médias (91)

Autres articles (49)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (9533)

  • ffmpeg exited with code 1 : Error reinitializing filters ! Failed to inject frame into filter network : Invalid argument

    15 juin 2022, par ijaz khan

    Using video show npm I am creating a video from multiple images. initially there was an issue but then I download and installed ffmpeg.

    


    Now another error occurs. Thanks to everyone in advance.

    


    This is my code :

    


    //create a video from multiple images 

var secondsToShowEachImage = 3
var finalVideoPath = '/outputImages/newvideo2.mp4'

// setup videoshow options
var videoOptions = {
  fps: 24,
  transition: false,
  videoBitrate: 1024 ,
  videoCodec: 'libx264', 
  size: '640x640',
  outputOptions: ['-pix_fmt yuv420p'],
  format: 'mp4' 
}
let path1= '/InputImages/abc.jpg';
let path2 = '/InputImages/xy.jpg'
let path3 = '/InputImages/ab.jpg'

// array of images to make the 'videoshow' from
var images = [
  {path: path1, loop: secondsToShowEachImage}, 
  {path: path2, loop: secondsToShowEachImage}
]
console.log('working --->')
 videoshow(images, videoOptions)
.save(finalVideoPath)
// console.log('hello world')
.on('start', function (command) { 

  console.log('encoding ' + finalVideoPath + ' with command ' + command) 
})
.on('error', function (err) {
   console.log('err' , err)
//   return Promise.reject(new Error(err)) 
})
.on('end', function (output) {
  // do stuff here when done
})


    


    The error is

    


    err Error: ffmpeg exited with code 1: Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #1:0&#xA;Conversion failed!&#xA;&#xA;    at ChildProcess.<anonymous> (E:\Video-Editor-Practice\Nodees6video-editor\NewVideoEditor\node_modules\fluent-ffmpeg\lib\processor.js:182:22)&#xA;</anonymous>

    &#xA;

  • How to set normal speed of playback after capturing and transcoding stream video by `ffmpeg_streaming` in Python project ?

    30 avril 2020, par Harley Club

    Using ffmpeg_streaming module in Python project with Flask, I try to set up video streaming from online camera into local file. My purpose is receiving input stream that comes as HLS-compatible data. To implement this property, I've inserted some code accessible by this link :

    &#xA;&#xA;

    import ffmpeg_streaming&#xA;from ffmpeg_streaming import Formats, Bitrate, Representation, Size&#xA;&#xA;from flask import render_template, Flask, send_from_directory, abort, json, Response  &#xA;&#xA;import sys&#xA;&#xA;app = Flask(__name__)&#xA;&#xA;video = ffmpeg_streaming.input(&#x27;http://wmccpinetop.axiscam.net/mjpg/video.mjpg&#x27;)&#xA;&#xA;_480p = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))&#xA;hls_stream = video.hls(Formats.h264(), hls_list_size = 10, hls_time = 5)&#xA;hls_stream.representations(_480p)&#xA;hls_stream.output(&#x27;/var/media/hls_outputs.m3u8&#x27;)&#xA;

    &#xA;&#xA;

    It works as expected, i.e. video stream gets written into local file, then I can see what camera shot somewhere far from there...But an only problem arises here which I can't manage : once playback starts, the video is being displayed utterly fast. Nearly 2 minutes period covered by camera (I can see how long real time was over due to camera-embedded timer option) has duration of 5 seconds when playing back. So, how do I want to enable video speed just as it fits into real-world timing ? My OS is Ubuntu 18.04 LTS and I open file with preinstalled Videos app to watch content.

    &#xA;

  • Why can I not change the number of frames (nframes) in a gganimate animation ? SOLVED

    26 décembre 2022, par Gekin

    I have produced an animation per gganimate and rendered it per ffmpeg. It works just fine, but only, if I do not change the number of frames. If I do set the number of frames, I get this error message :

    &#xA;

    nframes and fps adjusted to match transition&#xA;Error parsing framerate 8,4.                           &#xA;Error: Rendering with ffmpeg failed&#xA;

    &#xA;

    I produced the gganim MonthlyAveragePrecipitationMap the following way :

    &#xA;

    options(scipen = 999, OutDec  =  ",")&#xA;&#xA;MonthlyAveragePrecipitationMap = ggplot(MonthlyAverageExtremePrecipitation) &#x2B; &#xA;  geom_path(data = map_data("world","Germany"),&#xA;            aes(x = long, y = lat, group = group)) &#x2B;&#xA;  coord_fixed(xlim = c(6,15),&#xA;              ylim = c(47,55)) &#x2B; &#xA;  geom_point(aes(x=lon, y=lat, &#xA;                 colour = ShareOfExtremePrecipitationEvents,&#xA;                 group = MonthOfYear),&#xA;             size = 3) &#x2B; &#xA;  scale_color_gradient(low="blue", high="yellow") &#x2B; &#xA;  xlab("Longitude (degree)") &#x2B;&#xA;  ylab("Latitude (degree)") &#x2B; &#xA;  theme_bw() &#x2B;&#xA;  transition_manual(frames = MonthOfYear) &#x2B; &#xA;  labs(title = &#x27;{unique(MonthlyAverageExtremePrecipitation$MonthOfYear)[as.integer(frame)]}&#x27;, &#xA;       color = paste0("Share of Extreme Precipitation Events \namong all Precipitation Events")) &#xA;

    &#xA;

    I call the animation the following way :

    &#xA;

    animate(MonthlyAveragePrecipitationMap,&#xA;        nframes = 300,&#xA;        renderer =&#xA;          ffmpeg_renderer(&#xA;            format = "auto",&#xA;            ffmpeg = NULL,&#xA;            options = list(pix_fmt = "yuv420p")))&#xA;&#xA;

    &#xA;

    I used this exact code just a few days ago and it worked fine.

    &#xA;

    Has someone had similar experiences ?&#xA;Thanks in advance.

    &#xA;

    EDIT : Problem solved.

    &#xA;

      &#xA;
    • Problem : Changing the decimal seperator from . to , per options(dec=",")
    • &#xA;

    • Solution : Changing the decimal seperator locally within the axis scaling per function.
    • &#xA;

    &#xA;