
Advanced search
Medias (2)
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
-
GetID3 - Boutons supplémentaires
9 April 2013, by
Updated: April 2013
Language: français
Type: Picture
Other articles (111)
-
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 May 2011, byDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
On other websites (10729)
-
Error while downloading video stream with streamlink + ffmpeg: Pipe copy aborted error
29 November 2020, by betaI 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 February 2021, by Andor UhrinI'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 February 2021, by Mahmoud AhmedI 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()