Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (72)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9396)

  • How to extract audio tracks from a stream using FFMPEG or other tools ?

    17 septembre 2023, par Vassili Bagrov

    Here is the stream link that I am trying to download.

    


    I can download the video, but for some reason it doesn't include the audio stream.

    


    The audio stream is also in .ts format and has 1569 chunks.enter image description here

    


    When I downloaded all the audio files, I tried to convert them in single temp.ts file to them convert it into an mp3 file with this command :

    


    cat audio_7e42e066-9f6c-44f4-9ac8-10b50c3edfae_*.ts > temp.ts


    


    I tried to then convert it into an mp3 file with this command :

    


    ffmpeg -i temp.ts -acodec copy out.mp3


    


    But got an error :

    


    temp.ts: Invalid data found when processing input


    


    What are my options to download audio files ? There are actually 3 audio tracks if I watch the video from the website.
Please tell me there is a way to do it other than screen record the whole video.

    


  • video preview from remote mp4 [h264] file

    20 novembre 2015, par sathia

    I was trying to make a video preview from a remote video (smaller size, short clip and no audio. you get the idea)

    By knowing the video duration, and bitrate (constant) is rather easy to make several byte-range requests in order to fetch chunks of it.

    Once all the needed chunks are downloaded I use the "concat" method of ffmpeg to make a single video (this is in order to avoid to download all the video locally)

    well, technically it all works perfectly the problem is that most of the chunks I download have pretty severe aberrations, and I mean, it’s usually all green and pixelated, rubbish.

    Is this a limit on the h264 protocol or I should maybe find the first keyframe and start from there (on each chunk of course) ? thanks

  • i have problem in python with Muxing video and audio

    2 février 2021, par Mahmoud Ahmed

    I want to merge files video and audio but I don't know how I did try many times to fix it with ffmpeg,subprocess and moviepy with a deferent ways so this my problem and I stop work on it here if someone can help me to edit it and send to me back please .

    


    This is my code with a window .

    


    from pytube import YouTube
from tkinter import *
from tqdm import tqdm
from os import startfile
import subprocess
import shutil
import pytube
import ffmpeg
import time
import sys
import os
#Functions
def download():
    video_url = url.get()
    try:
        youtube = pytube.YouTube(video_url)
        video   = youtube.streams.filter(adaptive=True,file_extension='mp4').order_by('resolution').desc().first()
        video.download(filename='Dvideo')
        audio = youtube.streams.get_by_itag(251).download(filename='Daudio')  #webm               
        notif.config(fg="green",text="Download is Completed")



    except Exception as e:
        print(e)
        notif.config(fg="red",text="There is an Error in the Downloading Check Your url")

def Merge():
    try:
        os.system("ffmpeg -i Dvideo.mp4 -i Daudio.webm -c:v copy -c:a aac output.mp4")
        #video = ffmpeg.input('Dvideo.mp4')
        #audio = ffmpeg.input('Daudio.webm')
        #out = ffmpeg.output(video, audio, r'final.mp4', vcodec='"avc1.640028')
        #out.run()

    except Exception as w:
        print(w)
        notif.config(fg="red",text="There is an Error in the Merge")

#Main Screen
Window = Tk()
Window.title("Youtube Video Downloader ")
#The Labels of Texts 
Label(Window, text="Youtube Video Converter \n By: Mahmoud Ahmed", fg="blue", font=("Calibri",15)).grid(sticky=N,padx=15,row=0)
Label(Window, text="Please enter the url of the Video u want to download it : ", font=("Calibri",12)).grid(sticky=N,row=1,pady=15)
Label(Window, text="Notice Any Downloading will be in the same file with this tool.", fg="orange", font=("Calibri",10)).grid(sticky=N,padx=15,row=8)

#my_progress = ttk.Progressbar(Window,length=130, mode='determinate').grid(row= 9, pady=20)


notif = Label(Window,font=("Calibri",12))
notif.grid(sticky=N,pady=1,row=6)
#Variables
url = StringVar()
#The empty label for URL
Entry(Window,width=50,textvariable=url).grid(sticky=N,row=2)
#The Button
Button(Window,width=20,text="Download",font=("Calibri",12),command=download).grid(sticky=N,row=4,pady=15)
Button(Window,width=20,text="Merge",font=("Calibri",12),command=Merge).grid(sticky=N,row=5,pady=15)
#Button(Window,width=20,text="Info",font=("Calibri",12),command=download).grid(sticky=N,row=4,pady=15)

Window.mainloop()