Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (42)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

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

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (7537)

  • Mapping Video streaming URL with SPRING MVC

    31 mai 2017, par Valeriane

    I’m developping a site for video streamings.

    My application server works with spring MVC (front is managed by angular).

    I have another server, that provides stream flux (uses ffmpeg).

    Today I have direct URL to my video server, something like that :
    http://myvideos_server.com/videos/video.m3u8

    this URL is detectable client side....

    Is it any technic do not provide my videos streaming URL directly ? Is it possible mapping videos stream URLs with Spring MVC ?

  • Revision a36057dc77 : configure.ac : 1.0 Release. amf.c (amf_data_free) : Fixed a memory leak on array o

    21 septembre 2007, par Marc Noirot

    Changed Paths :
     Modify /ChangeLog


     Modify /Makefile.am


     Modify /NEWS


     Modify /amf.c


     Modify /config.h.win


     Modify /configure.ac


     Modify /flvdump.c


     Modify /flvmeta.c



    configure.ac : 1.0 Release.
    amf.c (amf_data_free) : Fixed a memory leak on array objects.
    config.h.win, configure.ac, flvdump.c, flvmeta.c : Added bug report mail address.
    configure.ac : Added a number of language and headers tests. Marked autoconf
    minimum version as 2.61.
    flvmeta.c (compute_metadata) : Fixed video width and height injection.
    Makefile.am : Removed the empty flv.c from the sources.

  • Ffmpeg outputting empty mp4 files for video concatenation command [closed]

    25 janvier 2024, par nonsequiter

    When I run the following Ffmpeg command it produces empty mp4 files as an output.

    


    The command takes segments of a video as inputs, crops each input at particular locations, and then concatenates them (for complex filter see appendices) :

    


    ffmpeg -ss 551.389000 -t 47.292417 -i ./testo.mp4 -ss 598.681417 -t 34.217583 -i ./testo.mp4 
-y -filter_complex "" -map "[video-output]" -map "[audio-output]"
-vcodec libx264 -r 59.94005994005994 -b:v 6890k -movflags faststart ./out.mp4


    


    I have used this command for thousands of videos, but for this particular video it causes this empty mp4 files. Depending on the specific regions of the video that I specify as inputs, sometimes the command works without issues. The inputs supplied for this video are valid, as the video is 15mins or so.

    


    Here are the relevant output logs for the video (see appendices for all other input/output) :

    


    [vost#0:0/libx264 @ 0xfae9410] No filtered frames for output stream, trying to initialize anyway.
[aost#0:1/aac @ 0xfaeab60] No filtered frames for output stream, trying to initialize anyway.
frame=    0 fps=0.0 q=0.0 size=       0kB time=N/A bitrate=N/A speed=N/A    
[mp4 @ 0xfae88d0] Starting second pass: moving the moov atom to the beginning of the file
[out#0/mp4 @ 0xfae87d0] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/mp4 @ 0xfae87d0] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A    
[libx264 @ 0xfae9790] final ratefactor: 17.79
[aac @ 0xfaeaee0] Qavg: nan


    


    Main insights from outputs :

    


      

    • The output tbn is 1000k (usually 60k)
    • 


    • "No filtered frames for output stream" for both video and audio outputs.
    • 


    


    Things I have tried :

    


      

    • I have a feeling its to do with the video frame-rate, so I tried using several permutations of commands like fps_mode, video_track_timescale, copytb, and enc_time_base.
    • 


    • Unsetting output fps
    • 


    • Changing input locations (this works)
    • 


    • Removing the complex filter makes no difference (details not removed for history)
    • 


    


    Appendices

    


    Here is the ffprobe input for the video, which was downloaded from YouTube :

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/video.mp4':
Metadata:
  major_brand     : isom
  minor_version   : 512
  compatible_brands: isomiso2avc1mp41
  encoder         : Lavf60.16.100
Duration: 00:14:31.44, start: 0.000000, bitrate: 939 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 6848 kb/s, 59.94 fps, 59.94 tbr, 60k tbn (default)
  Metadata:
    handler_name    : ISO Media file produced by Google Inc.
    vendor_id       : [0][0][0][0]
Stream #0:1[0x2](eng): Audio: opus (Opus / 0x7375704F), 48000 Hz, stereo, fltp, 105 kb/s (default)
  Metadata:
    handler_name    : SoundHandler
    vendor_id       : [0][0][0][0]


    


    Ffmpeg output format, note the very high tbn value (usually this is 60k) :

    


    Output #0, mp4, to './out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf60.16.100
  Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(progressive), 608x1080 [SAR 1:1 DAR 76:135], q=2-31, 6890 kb/s, 59.94 fps, 1000k tbn
    Metadata:
      encoder         : Lavc60.31.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/6890000 buffer size: 0 vbv_delay: N/A
  Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc60.31.102 aac


    


    Complex filter :

    


    [0:a]asetpts=PTS-STARTPTS[audio-input-0]; # set pts for audio of input 1
[0:v]setpts=PTS-STARTPTS[post-label-0]; # set pts for video of input 2
[post-label-0]crop=608:1080:461:0[post-crop-0]; # crop input 1
[1:a]asetpts=PTS-STARTPTS[audio-input-1]; # set pts for audio of input 1
[1:v]setpts=PTS-STARTPTS[post-label-1]; # set pts for video of input 2
[post-label-1]crop=608:1080:539:0[post-crop-1]; # crop input 2
[post-crop-0][post-crop-1]concat=n=2:v=1:a=0[post-merge]; # concat video streams
[audio-input-0][audio-input-1]concat=n=2:v=0:a=1[audio-merged]; #concat audio streams
[post-merge]scale=608:1080,setsar=1[post-scale]; # scale video output
[post-scale]null[video-output]; # relabel
[audio-merged]anull[audio-output] # relabel


    


    Full command log can be found here : https://pastebin.com/5CpnaUvg