
Recherche avancée
Autres articles (60)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...) -
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
Sur d’autres sites (9286)
-
After video convert to hls with ffmpeg, new video has no screen and has just audio
27 octobre 2023, par Sevada GrigoryanI am having problems with HLS stream creation, sometimes my created video just has audio and it's display a black screen
Here is my code in below


/opt/nodejs/ffmpeg -i "https://******-v1-post-content.s3.us-east-
2.amazonaws.com/104/posts/win/video/item-1615842876280.mov" -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls /tmp/item-1615842876280.m3u8



The Output Of command


stderr: ffmpeg version 4.2.3-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://*****-v1-post-content.s3.us-east-2.amazonaws.com/104/posts/win/video/item-1615842876280.mov:
 Metadata:
 major_brand : qt 
 minor_version : 0
 compatible_brands: qt 
 creation_time : 2021-03-13T08:49:02.000000Z
 Duration: 00:00:03.50, start: 0.000000, bitrate: 7984 kb/s
 Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1920x1080, 7881 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 600 tbc (default)
 Metadata:
 rotate : 90
 creation_time : 2021-03-13T08:49:02.000000Z
 handler_name : Core Media Video
 encoder : HEVC
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 83 kb/s (default)
 Metadata:
 creation_time : 2021-03-13T08:49:02.000000Z
 handler_name : Core Media Audio
[hls @ 0x6684ec0] Opening '/tmp/item-16158428762800.ts' for writing
Output #0, hls, to '/tmp/item-1615842876280.m3u8':
 Metadata:
 major_brand : qt 
 minor_version : 0
 compatible_brands: qt 
 encoder : Lavf58.29.100
 Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1920x1080, q=2-31, 7881 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 600 tbc (default)
 Metadata:
 rotate : 90
 creation_time : 2021-03-13T08:49:02.000000Z
 handler_name : Core Media Video
 encoder : HEVC
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 83 kb/s (default)
 Metadata:
 creation_time : 2021-03-13T08:49:02.000000Z
 handler_name : Core Media Audio
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)



Thank you !


Sevada


-
Large Video file Conversion using ffmpeg
12 mai 2021, par VarshaI am using ffmpeg tool to convert videos from wmv to mp4 formats using the following code -


string outputPath = args[1].ToString();
 string[] files = Directory.GetFiles(inputPath); 
 Console.WriteLine(files.Length);
 foreach (var item in files)
 {
 itemBkp = item; 
 Process proc = new Process();
 proc.StartInfo.FileName = @"e:\test\ffmpeg.exe"; 
 string filename= Path.GetFileName(item); 
 proc.StartInfo.Arguments= " -i " + item + " " + outputPath + filename.Split('.')[0] + ".mp4";
 proc.StartInfo.UseShellExecute = false;
 proc.StartInfo.RedirectStandardInput = true;
 proc.StartInfo.RedirectStandardOutput = true;
 proc.Start();
 proc.WaitForExit();
 }



It works fine for videos up to 20mb but when i try for videos above 70mb it throws following error -


FFmpeg version SVN-r6179, Copyright (c) 2000-2004 Fabrice Bellard configuration : —extra-cflags=-I/static/include —extra-ldflags=-L/static/lib —enable-memalign-hack —enable-mp3lame —enable-xvid —enable-a52 —enable-libogg —enable-vorbis —enable-faac —enable-faad —enable-x264 —enable-pp —enable-amr_wb —enable-amr_nb —enable-avisynth —enable-gpl libavutil version : 49.0.0 libavcodec version : 51.13.0 libavformat version : 50.5.0 built on Sep 5 2006 22:41:30, gcc : 3.4.5 (mingw special) E :\videos\Playful : I/O error occured Usually that means that input file is truncated and/or corrupted.


Is there a limit on video size to be converted ?


-
nreco wrapper bitmap streaming through rtmp
16 avril 2021, par pavel63I'm developing an application for real time streaming.
capture frames from video devices and encoding with a ffmpeg wrapper called nreco.



the problerm is that if i try to stream encoded video to red5 via rtmp on red5 server, connection is immediatily closed.



this is the code i use to configure the output streaming :



ffMpegTask = videoConv.ConvertLiveMedia(
 Format.raw_video,
 outstream,
 Format.flv,
 new ConvertSettings()
 {
 CustomInputArgs = " -re -pix_fmt bgr24 -video_size 800x600 ", 
 CustomOutputArgs = " -acodec copy -vcodec libx264 -pix_fmt yuv420p rtmp://127.0.0.1/live/stream ", 
 });

 ffMpegTask.Start();




adding frame this way :



void camera_Frame(object sender, FrameEventArgs e)
{
 Bitmap item = e.Frame;

 BitmapData bd = item.LockBits(new Rectangle(0, 0, item.Width, item.Height), ImageLockMode.ReadOnly, PixelFormat.Format24bppRgb);
 byte[] buf = new byte[bd.Stride * item.Height];
 Marshal.Copy(bd.Scan0, buf, 0, buf.Length);
 ffMpegTask.Write(buf, 0, buf.Length);
 item.UnlockBits(bd);
} 




any help ?