
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (33)
-
Publier sur MédiaSpip
13 juin 2013Puis-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, parLes 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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (3800)
-
Example of streaming YouTube audio using FFMPEG
15 avril 2020, par DupeI would like to use FFMPEG to stream YouTube audio to another source



using (var ffmpeg = CreateProcess(track.GetUrl()))
using (var stream = client.CreatePCMStream())
{
 try { await ffmpeg.StandardOutput.BaseStream.CopyToAsync(stream); }
 finally { await stream.FlushAsync(); }
}




Where
CreateProcess()
looks like this :


private Process CreateProcess(string url)
{
 return Process.Start(new ProcessStartInfo
 {
 FileName = "ffmpeg.exe",
 Arguments = $"-hide_banner -loglevel panic -i \"{url}\" -ac 2 -f s16le -ar 48000 pipe:1",
 UseShellExecute = false,
 RedirectStandardOutput = true
 });
}




- 

url
represents the YouTube video URL.client
represents a Discord audio client, to which I want to copy the stream to.- I am using Discord.Net (latest stable).









The arguments do not seem to be correct as there is no playback and no such exception is returned.


-
Is there any way to trim YouTube video without downloading it to local machine ?
12 août 2020, par Sonu BamniyaI am creating an app to trim video where a user either can upload the video file or can paste YouTube URL.
I am able to make the trimmer work for upload video using
FFmpeg
, but for YouTube URL, firstly I need to download the video to the local machine and then trim it usingFFmpeg
.


I am using
youtube-dl
NodeJS library to save the video file to locally, but the issue is as I am allowing the user to download only 15Sec video no more than that, and I have applied validation of 60m long video, yet when I get 1080p video there are two issues.


1. There is no audio in the 1080p video.




and



2. The video is taking too long to download locally and the process is taking almost 7-8mins to complete.




For the first one, I can get the audio and video separately and then merge both of them in the video, but the second one is where I am stacked.



I have added a time log I can see the trimming is taking only about 3-4 seconds, but the downloading is taking too long.



Is there any way to make it work faster ? Or, Is there any way I can download only that part of the video, not the full video, in any technology.



I am open to using any technology until it is working faster than my current implementation.



If this is something related to server configuration, please suggest which one would work better.


-
ffmpeg multiple rtsp cameras into sigle stream to youtube
17 mars 2020, par user3157121I have two rtsp ip cameras (dlink) and I want combine (merge) 2 stream in one video output and put it to yutube (live streaming).
My first step is ok and my command is :
ffmpeg
-i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
-i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
-filter_complex "
nullsrc=size=1600x448 [base];
[0:v] setpts=PTS-STARTPTS, scale=800x448 [upperleft];
[1:v] setpts=PTS-STARTPTS, scale=800x448 [upperright];
[base][upperleft] overlay=shortest=1 [base];
[base][upperright] overlay=shortest=1:x=800 [base]"
-map [base] test.mp4My test.mp4 video output is ok.
After that, I try to send this video to youtube live with this command :
ffmpeg
-i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
-i "rtsp://xxxxxx:xxxxxx@192.168.1.164/live2.sdp"
-filter_complex "
nullsrc=size=1600x448 [base];
[0:v] setpts=PTS-STARTPTS, scale=800x448 [upperleft];
[1:v] setpts=PTS-STARTPTS, scale=800x448 [upperright];
[base][upperleft] overlay=shortest=1 [base];
[base][upperright] overlay=shortest=1:x=800 [base]"
-map [base] -f flv "rtmp://a.rtmp.youtube.com/live2/xxx-xxxx-xxxx-xxxx"But the youtube stream does not receive data. (It seems to start but do not see the image). I think is a audio problem. But I don’t know how to insert a fake audio (I don’t want audio).
Is there a solution ?
Thanks,
Mattia