Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (111)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (10385)

  • Error while downloading video stream with streamlink + ffmpeg : Pipe copy aborted error

    29 novembre 2020, par beta

    I am trying to download a big video with the following command with Streamlink. Streamlink in the background uses ffmpeg. So what I get is actually an ffmpeg error.

    


    This is the command I use :

    


    streamlink --loglevel debug --hls-live-restart -o test.mp4 "https://aivottjab-a.akamaihd.net/IAD/jab-assets/jab-prod-iad/out/v1/732334e942a4465b8af9b21077d4e61d/cenc-083bb0.mpd?encoding=segmentBase&amznDtid=AOAGZA014O5RE" best


    


    This is the error I get after 26GB are downloaded.

    


    [19:48:27,437][stream.dash][debug] Download of segment: https://aivottjab-a.akamaihd.net/IAD/jab-assets/jab-prod-iad/out/v1/732334e942a4465b8af9b21077d4e61d/cenc_video_117_0_5791117.mp4 complete
[download][test.mp4] Written 25.97 GB (2h24m58s @ 1.0 MB/s)                                                         
[19:49:27,503][stream.ffmpegmux][error] Pipe copy aborted: \\.\pipe\ffmpeg-12796-364
[19:49:27,518][stream.ffmpegmux][error] Pipe copy aborted: \\.\pipe\ffmpeg-12796-967


    


    Anyone knows why this comes up ?

    


    I am on Windows 10, Streamlink 1.7.0 and FFmpeg 4.3.1.

    


  • Can I convert mp4 server file into a server as mp3 ?

    5 février 2021, par Andor Uhrin

    I'm working on an API which convert from video ID to mp3 or mp4. I use FFMPEG to convert. If I want to convert in mp3 first I download the video in mp4 then convert it to mp3 and upload it to Firebase storage. I want to make the fastest and I found the way where i download in mp4 and with ffmpeg the converted mp3 has uploaded to Firebase and this works fine and faster than the last version. The pafy streams have an attribute called 'url'. And I tried to put this url to base file's place so I don't download it just call it from the server. But this is doesn't work. I got this error :

    


    "
[https @ 0x564635880240] HTTP error 403 Forbidden
https://r3---sn-c0q7lnly.googlevideo.com/videoplayback?expire=1612548216 : Server returned 403 Forbidden (access denied)
"
I know ffmpeg can convert from server, because I didn't get this error if it can't...

    


    This is my code :

    


    import pafy

import os


firebaseURL = f"https://firebasestorage.googleapis.com/v0/b/{my_firebase_app_id}.appspot.com/o/test.mp3"

vidID = "AQLEWWKv9n4"

ids = pafy.new(vidID).allstreams[-1].url

os.system(f"ffmpeg -i {ids} {firebaseURL}")


    


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