Recherche avancée

Médias (91)

Autres articles (85)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (8831)

  • How to start/stop FFMPEG stream ?

    26 avril 2016, par Spartan

    I am using ip cam which provides streams mov/mp4. I am successfully saving the stream using this command :
    ffmpeg -i rtsp://@192.168.241.1:62156/abc.mp4 -acodec copy -vcodec copy c:/abcd.mp4

    Now I want to stop it programmatically for that I used following commands :
    Ctrl+C and q both are working fine(logs are showing in right manner) but in the end I am getting corrupt video file.

    Can any one guide me how can stop recording with clean execution.

  • movenc : Allow setting start_dts/start_cts before writing actual packets

    3 novembre 2015, par Martin Storsjö
    movenc : Allow setting start_dts/start_cts before writing actual packets
    

    By writing a zero-sized packet, the caller can communicate the
    start_dts/start_cts for the stream without actually writing
    the first packet.

    This allows doing random-access writing of fragments when the
    start dts of the stream isn’t zero, so that the edit list in the moov
    is written based on timestamps from the nominal start time signaled
    via the zero-sized packet, while the first proper packet written
    corresponds to a later fragment.

    To avoid potential unexpected behaviour, empty packets only set
    start_dts if the frag_discont flag is set.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/movenc.c
  • ffmpeg : nvidia gpu performance sub-optimal

    3 août 2021, par david furst

    the problem seems fairly basic : i'd like to create thumbnails from incoming video in the shortest time possible, and i'm trying to do this by offloading processing to an nvidia gpu.

    &#xA;

    while i run ffmpeg, i'm monitoring the gpu usage with the nvidia-smi utility. gpu usage never goes above 15% and the amount of time to encode the thumbnails with gpu is only 10% less than the time required without the gpu. these performance levels are very disappointing.

    &#xA;

    my question : am i going about this the wrong way (and if so, how should i go about it), or is this gpu performance 'normal'/'reasonable' ?

    &#xA;

    SYSTEM INFORMATION

    &#xA;

    the machine is a desktop pc running windows 10, 8gb ram, intel i7-7700. the gpu is an nvidia quadro pro 4000 with cuda 11.4 installed. ffmpeg is version N-101372-gb5cb8c8767-g2fc309e699+4 (2021) running under mingw, with --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-libnpp --enable-nvdec and --enable-nvenc.

    &#xA;

    a typical ffmpeg command line i've used is :

    &#xA;

     1 ffmpeg -hide_banner \&#xA; 2     -init_hw_device cuda=cuda:0 -filter_hw_device cuda \&#xA; 3     -hwaccel_output_format cuda \&#xA; 4     -i "$infile" \&#xA; 5     -vf "hwupload_cuda,scale_npp=w=200:h=150:format=yuv420p:interp_algo=lanczos,fps=1/1,hwdownload,format=yuv420p" \&#xA; 6     -y "$outdir/%08d.png"&#xA;

    &#xA;

    i've varied the above by supplementing some cuda-related parameters according to posts i've read here on stackoverflow and on the nvidia transcoding guide, but haven't been able to improve performance. adding any of -hwaccel cuda, -hwaccel cuvid, -hwaccel nvenc at the beginning of line 3 results in the error :&#xA;Impossible to convert between the formats supported by the filter &#x27;graph 0 input from stream 0:0&#x27; and the filter &#x27;auto_scaler_0&#x27;

    &#xA;

    any pointers appreciated.

    &#xA;