Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (8751)

  • FFMPEG Merge a video that has sound with an mp3 audio file outputs audio out of sync [duplicate]

    23 février 2021, par Mahmoud Eidarous

    An example for further explanation :
I'm recording a video singing at the same time the singer sings in a song.
So, I have a video file(Me singing) and the audio file(the song).

    


    I tried this simple command :

    


    -i $video-i $audio-c copy -map 0:0 -map 1:0 -shortest output.mp4


    


    But, it gives an output with the video sound muted(my voice muted).

    


    And I want something more advanced to control the volume of each sound, and add filter to make the output sound sounds like it was recorded in a studio.. so after a long search through the documentation and similar questions, I made up this command here..

    


    -i $video -i $audio -filter_complex "[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.8[a1]; [1:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=4[a2]; [a1][a2]amerge,pan=stereo|c0code>

    


    It gives a video output with audio out of sync. (My voice doesn't match the singer).

    


    Any help would be really appreciated !

    


  • Uncomplete path recognition (FFmpeg) [duplicate]

    23 septembre 2022, par Francesco Battisti

    The script should download an entire playlist (only one song for this test) from YT and convert all the downloaded MP4 to MP3 :

    


    from distutils import extension
from pytube import Playlist
import os

link = input("Enter YouTube Playlist URL: ")

yt_playlist = Playlist(link)

for video in yt_playlist.videos:
    downloaded_file = video.streams.filter(only_audio=True).first().download(r"C:\Users\Francesco\Desktop\Music\JC's\+++NEW+++")
    file, extension = os.path.splitext(downloaded_file)
    # Convert video into .mp3 file
    os.system('ffmpeg -i {file}{ext} {file}.mp3'.format(file=file, ext=extension))


    


    Now, when I put the playlist's url in input, the script downloads the song but it can't convert it because :

    


    C:\Users\Francesco\Desktop\Music\JC's\+++NEW+++\Ariete: No such file or directory


    


    but the right path is :

    


    C:\Users\Francesco\Desktop\Music\JC's\+++NEW+++\Ariete - LULTIMA NOTTE Testo  Lyrics


    


    so it stops when is there a space in directory name...

    


  • How to record a dash live stream in an encrypted mp4 format

    8 février 2021, par Vikral

    I want to record/download a live video. It's in a .mpd format. The video is protected with DRM, but I don't want to decrypt the video, instead of how to get an encrypted mp4 ? I have tried FFMPEG, youtube-dl, and streamlink,

    


    FFMPEG

    


    ffmpeg -i https://example.com/streaming/hds/live/master.mpd -codec copy encrypted_media.mp4

    


    Error : Error when loading first fragment, playlist 0.

    


    Tried youtube-dl

    


    youtube-dl https://example.com/streaming/hds/live/master.mpd

    


    Error : No Video Formats Found

    


    And I also tried streamlink
streamlink https://example.com/streaming/hds/live/master.mpd best

    


    Error : Video is protected by DRM.

    


    But Nothing worked. How can I record a dash live stream in encrypted mp4 format ?