Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

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

Autres articles (112)

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

  • Transcode from a live m3u8 using -ss

    20 août 2015, par pgm

    I’m trying to create a VOD hls clip from a live hls stream on adobe media server using ffmpeg and nodejs.

    An example of the command I’m using looks like this :

    ffmpeg -report -analyzeduration 999999999 -probesize 999999999 -ss 50 -i http://live.m3u8 -y -r 29.97 -threads 0 -hls_list_size 0 -c:v copy -a:v copy streamoutput.m3u8

    The problem is the -ss param (start time) is calculating the start time from the live point on the stream, rather than from the first ’ts’ fragment. I’d like to be able to encode inside of a "DVR window," meaning seeking from the beginning of the stream, not from the live point of the stream.

    Example : I use the param -ss 50 and it won’t encode for 50 seconds until the live stream catches up, outputting this in the ffmpeg log :

    [h264 @ 0000000002beae00] non-existing PPS 0 referenced
    [h264 @ 0000000002beae00] non-existing PPS 0 referenced
    [h264 @ 0000000002beae00] decode_slice_header error

    Once the live stream catches up to the 50 second delay it begins encoding. It works this way when I use -ss as either an input parameter or output parameter.

    Is there a way to accomplish this ? I’ve noticed that if I leave -ss completely out of the command, it will start at the beginning of the stream, but as soon as it’s there, even as a 0, it will start at the "live point."

    Any help is much appreciated !

  • Getting an error from pyffmpeg when running as a submodule

    3 décembre 2023, par Devin Gardner

    I'm working on building an API using pyffmpeg and pytube to download YouTube videos and convert them to .wav files, synced up with some LED animations. I'm importing pyffmpeg in a submodule, which is then imported by yet another submodule. I'm getting the following error when I run the script (both from my entire package, and in the Python shell directly, and on two different devices with two different OSes) :

    


    This is the error I get from the shell on my MacBook :

    


    Traceback (most recent call last):&#xA;  File "<stdin>", line 1, in <module>&#xA;  File "/path/to/venv/lib/python3.11/site-packages/pyffmpeg/__init__.py", line 163, in convert&#xA;    raise Exception(self.error)&#xA;Exception&#xA;</module></stdin>

    &#xA;

    And this is the error I get on my Raspberry Pi when I run the full program :

    &#xA;

      File "/path/to/venv/lib/python3.11/site-packages/pyffmpeg/__init__.py", line 154, in convert&#xA;    if &#x27;Output #0&#x27; not in stderr:&#xA;                          ^^^^^^&#xA;UnboundLocalError: cannot access local variable &#x27;stderr&#x27; where it is not associated with a value&#xA;

    &#xA;

    I've tracked down the relevant code in the __init__.py file of pyffmpeg, but I'm not sure how to fix the problem.

    &#xA;

            if &#x27;Output #0&#x27; not in stderr:&#xA;            lines = stderr.splitlines()&#xA;            if len(lines) > 0:&#xA;                self.error = lines[-1]&#xA;            else:&#xA;                self.error = ""&#xA;&#xA;            if self.enable_log:&#xA;                self.logger.error(self.error)&#xA;            raise Exception(self.error)&#xA;        else:&#xA;            self.error = &#x27;&#x27;&#xA;            if self.enable_log:&#xA;                self.logger.info(&#x27;Conversion Done&#x27;)&#xA;        return out&#xA;

    &#xA;

    Anyone have any ideas ?

    &#xA;

  • Making colour of MP4 video consistent in Chrome

    21 septembre 2021, par OneWorld

    I see a difference in the colour of a video between different machines using different browsers. I was wondering what the cause of the difference is ?

    &#xA;

    I use FFMPEG to create the video. I sent the video to three different people with slightly different machines, and slightly different Chrome versions, to try and see where the differences are.

    &#xA;

    The FFMPEG output from the video is as follows :-

    &#xA;

    ffmpeg version 3.2.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers&#xA;  built with gcc 5.4.1 (Debian 5.4.1-4) 20161202&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg&#xA;  libavutil      55. 34.100 / 55. 34.100&#xA;  libavcodec     57. 64.101 / 57. 64.101&#xA;  libavformat    57. 56.100 / 57. 56.100&#xA;  libavdevice    57.  1.100 / 57.  1.100&#xA;  libavfilter     6. 65.100 /  6. 65.100&#xA;  libswscale      4.  2.100 /  4.  2.100&#xA;  libswresample   2.  3.100 /  2.  3.100&#xA;  libpostproc    54.  1.100 / 54.  1.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;red_and_yellow_uat.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf57.56.100&#xA;  Duration: 00:00:03.00, start: 0.000000, bitrate: 84 kb/s&#xA;    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, unknown/bt709/bt709), 1080x1080, 81 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;

    &#xA;

    From the same UAT rendered Video, with screenshots taken in Chrome from person 1, person 2, person 3, and person 4, and using GIMP colour picker on my machine from the screenshots, the results for red, and yellow are as follows.

    &#xA;

    Person 1:- #A83833  and  #FFCB2E  Chrome Version 92.0.4515.131 (Official Build) (64-bit)&#xA;Person 2:- #AB3334  and  #FFCA38  Chrome Version 92.0.4515.107&#xA;

    &#xA;

    (Note : these colours Match / are very close to the original).

    &#xA;

    Both these machines above are 64 bit Ubuntu machines, using Ubuntu 18.04.5 LTS&#xA;We both use the gnome screenshot tool in Ubuntu to take the screenshot, which creates an 8bit PNG.

    &#xA;

    Person 3:-    #B14039  and  #FED303  Chrome Version 93.0.4577.63 (Official Build) (x86_64)&#xA;Person 4:-    #B2403A  and  #FFD201  Chrome Version 92.0.4515.159 (Official Build) (x86_64)&#xA;

    &#xA;

    Mac screenshots are taken using cmd shift 4, and generate an 8bit PNG file.

    &#xA;

    Person 3 Machine Spec :-&#xA;Machine :- Macbook Pro (2019)&#xA;OS : macOS Big Sur Version 11.5.2&#xA;Processor :- 2.6Ghz Intel Core i7 processor. 32bit architecture (typing arch in her tty terminal returns i386).&#xA;Graphics :- Intel UHD Graphics 630 1536

    &#xA;

    Person 4 Machine Spec :-&#xA;Machine :- Macbook Pro (Retina, 2015)&#xA;OS :- MacOS Mojave, Version 10.14.6&#xA;Processor :- 2.5GHz, Intel Core i7&#xA;Graphics :- AMD Radeon R9, M370X 2 GB Intel Iris Pro 1536 MB

    &#xA;

    Person 1 screenshot

    &#xA;

    enter image description here

    &#xA;

    Person 2 screenshot

    &#xA;

    enter image description here

    &#xA;

    Person 3 screenshot

    &#xA;

    enter image description here

    &#xA;

    Person 4 screenshot

    &#xA;

    enter image description here

    &#xA;

    Any suggestions anyone has to make these colours consistent would be much appreciated. Would love to know why it happens also ? If anyone can explain ?

    &#xA;