Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (60)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

Sur d’autres sites (4635)

  • Timelimit plays for twice the duration [on hold]

    26 septembre 2019, par the_new_james

    I am using the following command to stream to a test an endpoint :

    ffmpeg -loglevel debug -f lavfi -re -i testsrc=size=hd720:rate=30
          -f lavfi -re -i anoisesrc
          -vf "drawtext=fontfile=\'/Library/Fonts/Arial.ttf\': text=\'Local time %{localtime\: %Y\/%m\/%d %H.%M.%S} (%{n})\': x=50: y=50: fontsize=48: fontcolor=white: box=1: boxcolor=0x00000099"
          -pix_fmt yuv420p -c:v libx264 -b:v 1000k -g 30 -profile:v baseline -preset veryfast
          -c:a libfdk_aac -b:a 96k -timelimit 60 -f flv $RTMP_OUTPUT/$NAME

    Because I’m adding this command to my automation, I would like to protect it from running indefinitely in case something goes wrong with my script (I start the ffmpeg job in a background process that is detached from the script). Therefore, I added the flag -timelimit 60, that, according to the documentation, the job should exit after duration seconds.

    I can see that the command is being parsed correctly

    Reading option '-timelimit' ... matched as option 'timelimit' (set max runtime in seconds) with argument '60'.
    ...
    Finished splitting the commandline.
    ...
    Applying option timelimit (set max runtime in seconds) with argument 60.
    ...

    Here’s an example output

    enter image description here

    The issue is that I noticed that the stream runs for longer than the specified time. After a couple of tests, I noticed that it is running for double the time, which got me thinking if it is taking the number of frames (assuming 2-second frames).

    Can someone clarify the timelimit option, please ? And the possible causes for running longer than specified.

    PS : I’m using ffmpeg version 4.1.4 on a MAC OS Mojave (10.14.6)

  • ffmpeg concat loses audio after first clip only in browser, audio plays good on player like vlc etc

    1er octobre 2019, par Rajan Tpss

    i am trying to combine or concatenate audio file one after other like after concatenation of two audio files, both file will downloaded as a single file wheres audio will be played in a queue one after other.

    after some research i found the package FFmpeg i.e dealt with mp3,mp4 etc files.i tried to run FFmpeg commands in terminal but file is created and playing good on VLC but not playing accurately in browser.

    Some Commands tried by me in terminal are as follow :-

    ffmpeg -i "concat:a.mp3|b.mp3" -acodec copy output.mp3

    ffmpeg -f concat -i files.txt -c copy output.mp3

    ffmpeg -i a.mp3 -i b.mp3 -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=0:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp3

    ffmpeg -y -i "concat:a.mp3|b.mp3" -ar 22050 -ab 512 -b 800k -f mp4 -s 514*362 -strict -2 -c:a aac "OUTPUT.mp4"

    Library Link followed by me :- https://ffmpeg.org/ffmpeg-filters.html

    Note :- I am using Ubuntu based system

    file is created successfully from above commands and playing well on VLC player.

    where in browser first clip is playing well but after first clip browser stops. somehow second audio clip is not playing in browser. i don’t know why may be there is same kind of pattern error.

    if anyone can help, i shall be very thankful to him/her.

    Thanks

  • pyglet_ffmpeg loads and plays video in script(.py) but not loading(media load) in executable

    24 février 2020, par Mahesh Dilip Salvi

    i am playing full screen video in pyglet application which just plays video as follows, the script(.py) file loads mp4 video(as mediaload) and plays it well (windowed/fullscreen) but after making it executable with pyinstaller command (pyinstaller -w -F .\videoPlay.py) it is not loading media.
    *i identified it with ’try-except’ block with help of ctypes.MessageBox
    Please assist me by checking following thing.

    import pyglet, pyglet_ffmpeg

    pyglet_ffmpeg.load_ffmpeg()

    vidPath = 'm2Vid.mp4'

    window = pyglet.window.Window() #fullscreen=True
    player = pyglet.media.Player()
    source = pyglet.media.StreamingSource()
    MediaLoad = pyglet.media.load(vidPath)
    player.on_player_eos = window.close

    player.queue(MediaLoad)
    player.play()

    @window.event
    def on_draw():
       if player.source and player.source.video_format:
           player.get_texture().blit(0,0)

    pyglet.app.run()