
Recherche avancée
Médias (91)
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#1 The Wires
11 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (83)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (6971)
-
How to give two outputs at the same time in ffmpeg command ?
21 janvier 2014, par user3102768i'm using this repository to implement live streaming with wowza server
https://github.com/vanevery/spyd-ffmpeg
the streaming is done perfectly, but i want to store the video inside the sdcard also at the time of streaming to wowza server.
I hv seen the examples of Creating Multiple Outputs with ffmpeg. but as i implement this the connection with server get lost.
My FFMPEG Command
String dir = Environment.getExternalStorageDirectory().toString();
String[] ffmpegCommand = {ffmpegBin, "-v", "10",
"-i", url,
"-f", "rtsp",
"-muxdelay", "0.1",
"-c:a", "copy",
"-c:v", "copy",
"rtsp://myusername:mypassword@ipaddress:1935/live/myVid",
"-c:a", "copy",
"-c:v", "copy",
"-f", "mp4",
dir+"/Download/myVid.mp4"
};
execProcess(ffmpegCommand);With this code the video is saved in the sdcard but due to connection lost it is saved with some kb & gives an error "Can't play this video".
I'll be grateful to you guyz for your answers. Thnx..
-
How to correctly close a console application using the youtube-dl process to download Twitch stream whenever I want
24 juin 2023, par ElPavlilloThe test program has the following code :


string url = "https://www.twitch.tv/ricoy";
string outputPath = @"D:\ruta_del_archivo_salida.mp4";

ProcessStartInfo startInfo = new ProcessStartInfo
{
 FileName = "youtube-dl",
 Arguments = $"-f best -o \"{outputPath}\" \"{url}\"",
 //RedirectStandardOutput = true,
 UseShellExecute = false,
 CreateNoWindow = true
};

using (Process process = new Process())
{
 process.StartInfo = startInfo;
 process.Start();

 //var output = process.StandardOutput.ReadToEnd();
 //process.WaitForExit();

 Console.Read();
 KillProcessAndChildren(process.Id);
}

static void KillProcessAndChildren(int pid)
{
 // Cannot close 'system idle process'.
 if (pid == 0)
 {
 return;
 }
 ManagementObjectSearcher searcher = new ManagementObjectSearcher
 ("Select * From Win32_Process Where ParentProcessID=" + pid);
 ManagementObjectCollection moc = searcher.Get();
 foreach (ManagementObject mo in moc)
 {
 KillProcessAndChildren(Convert.ToInt32(mo["ProcessID"]));
 }
 try
 {
 Process proc = Process.GetProcessById(pid);
 proc.Kill();
 }
 catch (ArgumentException)
 {
 // Process already exited.
 }
}



The problem is that when I press de key in the console the youtube-dl process gets kill and also de ffmpeg but the file is left with .part extension and does not work.


I was expecting the code to left a .mp4 file but for reason it does not.


-
FFMPEG M3U8 Download Is Shortened When Processed
19 décembre 2022, par Devin DixonI am downloading an m3u8 stream with FFMPEG as such :


timeout 60m ffmpeg -i [feed_url] -movflags isml+frag_keyframe+faststart -bsf:a aac_adtstoasc -vcodec copy -c copy [save_file].mp4



- 

- The timeout will automatically end the stream after 60. minutes
- The
-movflags isml+frag_keyframe+faststart
makes sure the moov atom is present for partial downloads and if the stream is cut off.






This works fine when I play it in Quicktime or Safari.The stream is then uploaded to another server and it gets processed with this ffmpeg command :


ffmpeg -i [input_file] -y -f mp4 -pix_fmt yuv420p -c:v libx264 -c:a aac -filter_complex "scale='if(gt(iw,1920),1920,-1)':'if(gt(ih,1080),1080,-1)':force_original_aspect_ratio=decrease" -crf 20 -movflags faststart -max_muxing_queue_size 9999 -attempt_recovery 1 -max_recovery_attempts 3 -f mp4 [output_file]



When the above command is run, sometimes this error occurs :


[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] Packet corrupt (stream = 0, dts = 53801910).= 64x 
[NULL @ 0xaaaafcd649b0] Invalid NAL unit size (1186 > 532).
[NULL @ 0xaaaafcd649b0] missing picture in access unit with size 542
/code/partners/tmp/video_634d29a2e1f6e.mp4: corrupt input packet in stream 0
[h264 @ 0xaaaafd1211f0] Invalid NAL unit size (1186 > 532).
[h264 @ 0xaaaafd1211f0] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] stream 0, offset 0x3802b2: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] stream 0, offset 0x380791: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] stream 0, offset 0x380c38: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] stream 0, offset 0x380f8d: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] stream 0, offset 0x38137a: partial file
Error while decoding stream #0:0: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaaafcd63b70] stream 0, offset 0x381750: partial file
[mp4 @ 0xaaaafcd743d0] Starting second pass: moving the moov atom to the beginning of the file
frame= 8967 fps=923 q=-1.0 Lsize= 5683kB time=00:09:57.60 bitrate= 77.9kbits/s speed=61.5x 
video:5580kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.843884%



When this error occurs, the video is cut short. If the full video is 60 minutes that error occurs at the 10 minute mark, the converted video will only be 10 minutes. What is that error and how can I get ffmpeg to stop cutting the output video short ?