Recherche avancée

Médias (0)

Mot : - Tags -/gis

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

Autres articles (104)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (10918)

  • Shutil not detecting ffmpeg module and python3 incorrectly, all when compiled with pyinstaller

    9 juin 2021, par vanilla

    Right now I am almost finished with my version of my app. The last thing I am having trouble with is detecting the FFmpeg module, to warn users that they need it for certain features that have been added this version. When I run the script through my python interpreter in terminal, which the directories of it is in my library frameworks directory, The shutil will run as expected and return the version or whatever as I do have it installed. However, when I compile it and launch specifically the one windowed, with no console output, it doesn’t work. Now what I mean by that it returns none type.

    


    From talking to someone in my previous Reddit thread I tried printing out python3 and seeing what directories that would bring with shutil.which(‘python3’). Interesting enough, when put into my tkinter text field (don't have a console) it would bring up my python binary from the directory /usr/bin/python3. The one I have all my modules for it and everything installed on is the one :

    


    >>> import shutil
>>> print(shutil.which('python3'))
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3


    


    So we can see that there are to installations or whatever of python3 interpreters (I believe I am saying this right), and I am confused on maybe I am being hinted to use the python3 binary from /usr/bin/ to compile it with pyinstaller and install the needed modules with /usr/bin/pip3 with it ?

    


    A user from the reddit thread I made below made a alternative :

    


    


    I tested it on my computer after fixing a bug, and both the shutil and os methods work. It seems to be a problem on your end, which is strange. What version of Python do you have ? Also in your script right above testing for ffmpeg, try inserting this line :
print('ffmpeg' in os.listdir('/usr/local/bin'))

    


    


    This other method with os unfortunately returned a None as well. I am ultimately trying to have some kind of method to reliably detect ffmpegs's binary on all operating systems. If anyone can provide some insight as to what may cause problems similar to these or knows other solutions, or can identify some kind of hiccup I can avoid that would be amazing.

    


    I have a hunch since shutil when compiled returned the bin directory for python3 instead of the framework one that actually has all the modules installed, that could mean something to me to try using pyinstaller with that one instead ?

    


    Thanks !

    


    https://www.reddit.com/r/learnpython/comments/nu3a1d/functionallity_supposedly_of_shutilwhichffmpeg/

    


  • How to download a video from m3u8 with aes-128, IV with FFMPEG ? [closed]

    13 avril 2021, par AWrr

    I've tried with a tutorial that prompted me to download the m3u8 file and then stream it with vlc but that didn't work. It just created a 160 bytes .mp4 file that couldn't be played.

    


    When I opened it, it contains a line in the form of :

    


    #EXT-X-KEY:METHOD=AES-128,URI="license://G",IV=0x08

    


    I've read some threads talking aboout a .key file, but this one doesn't have a .key in the "URI=" section and I don't really knoe how to get one, if I needed it.

    


    Will ffmpeg -i playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mkv work just fine ?

    


    Edit : I've tried it and it showed this :

    


    At the start
 Unable to open key file

    


    At the end

    


      Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=     494kB time=00:00:00.00 bitrate=N/A speed=   0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)```



    


  • ffmpeg doesn't respect the transparency of the overlayed image by default

    12 avril 2021, par user15602767

    Here is what I am running

    


    ffmpeg -i urban_pop.mp4 -i C:/Users/hp/Documents/Projects/raceit/logos/logo.png -filter_complex "overlay=540:95" output.mp4


    


    But the original image has transparent areas and opaque areas. I want the transparent areas to remain transparent so that we can see the video through those areas. How can I do it ?

    


    As per docs here I can see it should respoect transparency by default
https://ffmpeg.org/ffmpeg-filters.html#Examples-88
Help me understand what I am doing wrong

    


    Note that I am not talking about customizing the overall transparency of the image while overlaying, but to load the image itself maintaining its original transparency