Recherche avancée

Médias (91)

Autres articles (55)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (...)

Sur d’autres sites (10790)

  • Using ffmpeg create an android playable music slide show

    22 avril 2014, par user2637966

    I am now creating a music slide mp4 video and going to play it in android device with ffmpeg.

    I used the following command to accomplish this mission.

    The first one is to inputting a batch of jpg files and convert it to a mp4 file.

    1.)C:/xampp/htdocs/bin/ffmpeg -y -r 1/5 -i C:/xampp/htdocs/bin/%03d.jpg -c:v libx264 -profile:v baseline -level 3.0 -r 30 -pix_fmt yuv420p C:/xampp/htdocs/bin/out.mp4

    The second one is to putting the audio to the previous created video.

    2.)C:/xampp/htdocs/bin/ffmpeg -i C:/xampp/htdocs/bin/out.mp4 -i C:/xampp/htdocs/upload/1.mp3 -y -map 0 -map 1 -codec copy -shortest C:/xampp/htdocs/bin/haha.mp4"

    Both of the command are correct and created the mp4 file. However only out.mp4 can be played in android deivce while haha.mp4 cannot.

    So it seems the audio track violate the android mp4 requirement. What should the second command be so that i can play the mp4 file in android device.

  • iOS/Safari MediaRecorder Extremely Big File sizes with FFMPEG Or issue with MediaRecorder

    13 janvier 2021, par Dean Van Greunen

    Having an issue where the output video size of the converted video is 0.

    


    however i believe that the issue is with the mediarecorder code :

    


    recorder = new MediaRecorder(this.stream, { mimeType: "video/webm;codecs=vp9" });
recorder.ondataavailable = async (e) => {
  const payload = e.data;
  let y = blob2base64(payload);
  // take y and transfer to server, (on server decode base64 string and append that to the video file)
}


    


    I have the MediaRecorder API Enabled via the safari and iOS settings.

    


    for example after processing and saving the data chunks for the video that has been captured. Weird is that the video is blank but when using ffprobe, all the info is correct. so i'm stuffed.

    


    Here is the Captured Video (Before conversion)

    


    after conversion, the new file is 0 bytes big

    


    Note :
this works fine on windows and linux.
issue is only with iOS or MacOS

    


    Not sure what i am doing long.

    


  • ffmpeg concat two videos with different sizes encounter "do not match" error

    1er juillet 2019, par baojieqh

    I’m trying to concat 4 mp4 files. I’m using the command below but not able to concat

    ffmpeg -i L00.mp4 -i L01.mp4 \
     -filter_complex "[0:v] [0:a] [1:v] [1:a] concat=n=2:v=1:a=1 [v] [a]" \
     -map "[v]" -map "[a]" output.mp4

    Getting this error :

    Input link in1:v0 parameters (size 1150x722, SAR 1:1) do not match the corresponding output link in0:v0 parameters (1158x690, SAR 1:1)

    This command from this post

    ffmpeg -i L00.mp4 -i L01.mp4 -filter_complex \
    "[0:v]scale=1158:722:force_original_aspect_ratio=decrease,pad=1158:722:(ow-iw)/2:(oh-ih)/2[v0]; \
    [1:v]scale=1158:722:force_original_aspect_ratio=decrease,pad=1158:722:(ow-iw)/2:(oh-ih)/2[v1]; \
    [v0][0:a][1:v][1:a]concat=n=2:v=1:a=1[v][a]" \
    -map "[v]" -map "[a]" -c:v libx264 -c:a aac -movflags +faststart output.mp4

    getting this error :

    Filter pad has an unconnected output

    the dimensions of L00.mp4 is 1158 × 690, L01.mp4 is 1150 × 722.

    how to fix this ?