Recherche avancée

Médias (0)

Mot : - Tags -/page unique

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (52)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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

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

Sur d’autres sites (8745)

  • ffmpeg encoded mp4 won't play in safari, works in chrome & ff

    16 avril 2017, par Mark Kahn

    like the title says, I’m encoding a video from ffmpeg and it plays fine in chrome & ff but not safari. Anyone know why, what to try, etc ?

    I followed the advice in this thread to no avail.

    ffmpeg command :

    ffmpeg -f lavfi -i color=$1 -i $2 -vcodec libx264 -pix_fmt yuv420p -filter_complex "[0:v][1:v]scale2ref[c][v];[c][v]overlay=shortest=1[j];[j]scale=134:80" $3_120-3x.mp4

    Most of that is just adding a background color to a video that has alpha transparency. The -vcodec libx264 -pix_fmt yuv420p piece seems to be what’s important (btw without that it doesn’t play in FF either).

    result of ffprobe :

    ffprobe version 3.2.4 Copyright (c) 2007-2017 the FFmpeg developers
     built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'alarm_clock_120-3x.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.56.101
     Duration: 00:00:05.96, start: 0.000000, bitrate: 144 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 600x360 [SAR 1:1 DAR 5:3], 140 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler

    Also won’t play in mobile chrome/safari

  • Video created via ffmpeg will not play on iPhone 10 or Huawei Android using Chrome

    17 février 2020, par MHatton

    I have created a video from a image and adding an MP3 file. It plays fine on my Moto G Android phone and on my desktop, but a collegue has said it will not play on his iPhone 10 or Huawei Android phone running Chrome.

    Does the following ffmpeg need an extra command adding to make the created MP4 more compatible across devices ?

    ffmpeg -loop 1 -i 6f4aa5dfefc4dd32186f41315ad9d1e2-0.png -i "download.mp3" -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest aw-slide0.mp4
  • Compressed mp4 video is taking too long time to play in Android(exo player)

    4 mai 2018, par User

    Video(mp4) is recorded from android camera and sent to backend, here I am using ffmpeg wrapper to compress the video[44mb video to 5.76mb]. compression is working well, But when I send the video for play in android(exo player), is taking too long time to start.

    below is my code to compress :

    FFmpegBuilder builder = new FFmpegBuilder()
                      .setInput("D:/dummyVideos/myvideo.mp4")     // Filename, or a FFmpegProbeResult
                      .overrideOutputFiles(true) // Override the output if it exists
                      .addOutput("D:/dummyVideos/myvideo_ffmpeg.mp4")   // Filename for the destination
                      .setFormat("mp4")       // Format is inferred from filename, or can be set
                      .disableSubtitle()       // No subtiles
                      .setAudioChannels(1)         // Mono audio
                      .setAudioCodec("aac")       // using the aac codec
                      .setAudioSampleRate(48_000) // at 48KHz
                      .setAudioBitRate(32768)     // at 32 kbit/s
                      .setVideoCodec("libx264")     // Video using x264
                      .setVideoFrameRate(24, 1)     // at 24 frames per second
                      .setVideoResolution(1280, 720) // at 640x480 resolution
                      .setVideoBitRate(762800)
                      .setStrict(FFmpegBuilder.Strict.EXPERIMENTAL) // Allow FFmpeg to use experimental specs
                      .done();

    Can anyone tell me why video is taking too long time to play in exo player ? Is anything wrong in the compression ?