Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (89)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

Sur d’autres sites (6792)

  • FFMPEG - [WinError 2] The system cannot find the file specified

    7 avril 2021, par Jules Dany

    I'm having an issue using the FFmpeg package.

    


    Here's my code :

    


    import ffmpeg_streaming

from ffmpeg_streaming import Formats, Bitrate, Representation, Size

_360p  = Representation(Size(640, 360), Bitrate(276 * 1024, 128 * 1024))
_480p  = Representation(Size(854, 480), Bitrate(750 * 1024, 192 * 1024))
_720p  = Representation(Size(1280, 720), Bitrate(2048 * 1024, 320 * 1024))

hls = video.hls(Formats.h264())
hls.representations(_360p, _480p, _720p)
hls.output('C:/Users/juled/Videos/testStreaming')


    


    Quite simple as you can see, found it on the web.

    


    And here's the error message I have :

    


    Traceback (most recent call last):&#xA;  File "C:\Users\juled\OneDrive\Bureau\PACT\streamingMultimedia\streaming.py", line 50, in <module>&#xA;    hls.output(&#x27;C:/Users/juled/Videos/testStreaming&#x27;)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 93, in output&#xA;    self.run(ffmpeg_bin, monitor, **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 121, in run&#xA;    asyncio.run(self.async_run(ffmpeg_bin, monitor, **options))&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\asyncio\runners.py", line 43, in run&#xA;    return loop.run_until_complete(main)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\asyncio\base_events.py", line 583, in run_until_complete&#xA;    return future.result()&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 112, in async_run&#xA;    self._run(ffmpeg_bin, monitor, **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_media.py", line 105, in _run&#xA;    with Process(self, command_builder(ffmpeg_bin, self), monitor, **options) as process:&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_process.py", line 58, in __init__&#xA;    self.process = _p_open(commands, **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\site-packages\ffmpeg_streaming\_process.py", line 29, in _p_open&#xA;    return subprocess.Popen(shlex.split(commands), **options)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\subprocess.py", line 800, in __init__&#xA;    restore_signals, start_new_session)&#xA;  File "C:\Users\juled\OneDrive\Bureau\Informatique\WPy64-3760\python-3.7.6.amd64\lib\subprocess.py", line 1207, in _execute_child&#xA;    startupinfo)&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;

    I've been checking every file quoted in the error message, but only one of them is "my" code, the others are FFmpeg and Python libraries codes.

    &#xA;

    I'm using IDLEX for Python 3.7.6 on Windows by the way.

    &#xA;

    I've tried to change some of the FFmpeg library code, especially where subprocess.Popen appears, by putting a shell=True in the parameters. New Error Message, different this time.

    &#xA;

    I've added FFmpeg to the PATH, no change.

    &#xA;

    I've reinstalled FFmpeg to be sure, but no change. I'm using this version : python-ffmpeg-video-streaming-0.1.14.

    &#xA;

    Do any of you have a solution I could try ?

    &#xA;

    Oh and a friend has the same issue on MAC.

    &#xA;

  • convert multivideos from 1080p to 720p and add watermarks with subtitles ?

    20 novembre 2020, par shady melad

    0

    &#xA;

    i will ask again i have many videos like series (dark - la casa de papel - game of thrones ) all of them without any subtitle or watermark first i burn subtitles with handbrake sec i use ffmpeg to burn watermark with videos by this code

    &#xA;

    for %i in ("C :\Users\shady\Downloads\convert\01*.mp4") do ffmpeg -i "%i" -i C :\Users\fady\Downloads\convert\shady.png -filter_complex "overlay=main_w-overlay_w-10:10" -codec:a copy "C :\Users\shady\Downloads\convert\new01% ni.mp4"

    &#xA;

    then i convert it to 720p with this code

    &#xA;

    for %i in (C :\Users\shady\Downloads\convert\01*.mp4) do ffmpeg -i "%i" -c:a copy -s hd720 "C :\Users\shady\Downloads\convert\new01% ni.mp4"

    &#xA;

    my question now if i want to burn subtitle for series dark all seasons with my watermark and the final file get out with 720p with subtitle with watermark on top at right

    &#xA;

    can i do that ?

    &#xA;

    watermark png subtitle srt movies come with mkv not mp4 ( i want the final file come with mp4 )

    &#xA;

  • Invalid data found when processing input for mp3 file in ffmpeg

    15 juillet 2023, par Sai Chaithanya

    My custom compiled FFmpeg build is unable to read mp3 files, suddenly. Interestingly, the custom compiled FFmpeg build generated the mp3 file. For the past 1 year, it was successfully reading the file. I checked with the official FFmpeg build, and it works, so at least the file is not corrupted.

    &#xA;

    Official FFmpeg Build output :

    &#xA;

    ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers&#xA;built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04.1)&#xA;configuration: --arch=x86_64 --target-os=linux --disable-network --enable-small --disable-doc &#xA;               --disable-manpages --enable-static --disable-shared --disable-ffprobe &#xA;               --disable-ffplay --enable-lto --prefix=/home/greninja/Downloads/custom_build &#xA;               --extra-cflags=&#x27;-I/home/greninja/Downloads/custom_build/include -O3 -flto&#x27; &#xA;               --extra-ldflags=-L/home/greninja/Downloads/custom_build/lib&#xA;libavutil      58.  2.100 / 58.  2.100&#xA;libavcodec     60.  3.100 / 60.  3.100&#xA;libavformat    60.  3.100 / 60.  3.100&#xA;libavdevice    60.  1.100 / 60.  1.100&#xA;libavfilter     9.  3.100 /  9.  3.100&#xA;libswscale      7.  1.100 /  7.  1.100&#xA;libswresample   4. 10.100 /  4. 10.100&#xA;Input #0, mp3, from &#x27;./test.mp3&#x27;:&#xA;  Metadata:&#xA;    major_brand     : dash&#xA;    minor_version   : 0&#xA;    compatible_brands: iso6mp41&#xA;    encoder         : Lavf59.33.100&#xA;Duration: 00:03:07.09, start: 0.025057, bitrate: 192 kb/s&#xA;Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s&#xA;  Metadata:&#xA;    encoder         : Lavc59.46&#xA;At least one output file must be specified&#xA;

    &#xA;

    My Custom FFmpeg build output :

    &#xA;

    ffmpeg version N-108341-gb1a68127bb Copyright (c) 2000-2022 the FFmpeg developers&#xA;built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)&#xA;configuration: --arch=x86_64 --target-os=linux --disable-everything --disable-network &#xA;               --disable-autodetect --enable-small --disable-debug --disable-doc &#xA;               --disable-manpages --enable-static --disable-shared &#xA;               --enable-decoder=&#x27;aac*,ac3*,opus,vorbis,mjpeg&#x27; &#xA;               --enable-demuxer=&#x27;mov,m4v,matroska,image2&#x27; --enable-protocol=file &#xA;               --enable-muxer=&#x27;mp3,mp4,webm,null&#x27; --enable-libmp3lame &#xA;               --enable-encoder=libmp3lame --enable-filter=aresample --enable-logging &#xA;               --enable-pthreads --enable-parser=&#x27;vorbis,opus,vp9,vp8,mpegaudio,mpegvideo,mpeg4video,ac3*,aac*,mjpeg,h264&#x27; &#xA;               --disable-ffprobe --disable-ffplay --enable-lto &#xA;               --prefix=/home/wade/Downloads/custom_build &#xA;               --extra-cflags=&#x27;-I/home/wade/Downloads/custom_build/include -O3 -flto&#x27; &#xA;               --extra-ldflags=-L/home/wade/Downloads/custom_build/lib&#xA;libavutil      57. 36.102 / 57. 36.102&#xA;libavcodec     59. 46.100 / 59. 46.100&#xA;libavformat    59. 33.100 / 59. 33.100&#xA;libavdevice    59.  8.101 / 59.  8.101&#xA;libavfilter     8. 49.100 /  8. 49.100&#xA;libswscale      6.  8.112 /  6.  8.112&#xA;libswresample   4.  9.100 /  4.  9.100&#xA;./test.mp3: Invalid data found when processing input&#xA;

    &#xA;

    What configuration am I missing ?

    &#xA;