
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (18)
-
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (7283)
-
Connect FFServer multiple instances
3 mars 2020, par absentioI am trying to deploy FFServer on Kubernetes and try to use the power of distributed systems.
It’s the first time I am using both and so I am a bit confused.
Got my Kubernetes setup working on my bare metal server, LoadBalancer and CNI are working flawlessly. I then created an FFServer deployment and a FFServer service. Then I made an NFS storage to share ffserver.conf and feed files, but there is something strange happening.All my ffserver k8s pods load the ffserver.conf file with not problem, then when I start to stream using ffmpeg the loadbalancer gives my stream to one of my server(i’ll call it pod1). The problem is that I can get the stream played if connecting directly to pod1 but will not work if i try to get it from pod2 although pod2 could read the feed.ffm written from pod1.
NFS storage is setup with ReadWriteMany. How could I get it to work ? Is there any way to use multiple ffserver without having to ffmpeg to all of them one by one ?
-
nginx + ffmpeg (hls => tmpfs) : io deadlocks
11 février 2023, par Anton Cheloshkin

Hi all !


ffmpeg \ \ -re \ -stream_loop -1 \ \ -i my-live-input(mpegts:h264,aac) \ -c copy \ \ -f hls -hls_time 5 -hls_list_size 5 -hls_wrap 6 -hls_allow_cache 0 \ my-live-output.m3u8


I have a service for distributing HLS video.


several ffmpeg processes write 5 chunks in a loop, each process to its own folder.
this is a live broadcast and a small number of chunks is needed to reduce latency.


nginx publishes files from these folders via http(s)


tmpfs file system


If I start nginx first, and then encoders, then they mutually block access to files. Deadlock IO occurs.


How would you recommend solving this problem ?


Restarting the encoders does not solve the problem.
However, if I restart nginx while the encoders are running, the deadlocks disappear.


-
FFmpeg : concat protocol gives corrupt output and skips few frames
11 décembre 2018, par Prashant_SarinUsing :
var command = "-y -i concat:$concatString -c copy -bsf:a aac_adtstoasc $outputFile"
output video skips few frames in between and jumps from 4th second to 6th sec
If i use :
var command = "-y -i concat:$concatString -c:v libx264 -preset ultrafast -crf 30 $outputFile"
Then, the output is fine but it is taking too much time with the warning of
[mp4 @ 0xf7228600] Non-monotonous DTS in output stream 0:1
The logs are as :
2018-12-11 13:27:19.146 7435-7435/com.onedayapp.mystory.dev D/com.onedayapp.mystory.oneday.controllers.service.VideoCompositionService: onProgress ----Merge---- [mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 705608, current: 210096; changing to 705609. This may result in incorrect timestamps in the output file.
2018-12-11 13:27:19.146 7435-7435/com.onedayapp.mystory.dev D/com.onedayapp.mystory.oneday.controllers.service.VideoCompositionService: onProgress ----Merge---- frame= 745 fps=0.0 q=-1.0 Lsize= 1823kB time=00:03:04.84 bitrate= 80.8kbits/s speed= 758x
2018-12-11 13:27:19.147 7435-7435/com.onedayapp.mystory.dev D/com.onedayapp.mystory.oneday.controllers.service.VideoCompositionService: onProgress ----Merge---- video:1781kB audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.563412%
2018-12-11 13:27:19.148 7435-7435/com.onedayapp.mystory.dev D/com.onedayapp.mystory.oneday.controllers.service.VideoCompositionService: Merged successfully message---------ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (GCC) configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xf4524600] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from '/storage/emulated/0/OneDay/Member/128/Video/Story/94071beb-0b5f-4588-b388-ff78d24c07a8/concatVideo.txt':
Duration: N/A, start: 0.000000, bitrate: 695 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 693 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 2 kb/s
Metadata:
handler_name : SoundHandler
Output #0, mp4, to '/storage/emulated/0/OneDay/Member/128/Video/Story/94071beb-0b5f-4588-b388-ff78d24c07a8/Final.mp4':
Metadata:
encoder : Lavf57.25.100
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 693 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, 2 kb/s
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xf4524600] Auto-inserting h264_mp4toannexb bitstream filter
[mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 132096, current: 24152; changing to 132097. This may result in incorrect timestamps in the output file.
[mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 132097, current: 25176; changing to 132098. This may result in incorrect timestamps in the output file.
[mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 132098, current: 26200; changing to 132099. This may result in incorrect timestamps in the output file.
[mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 132099, current: 27224; changing to 132100. This may result in incorrect timestamps in the output file.
[mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 132100, current: 28248; changing to 132101. This may result in incorrect timestamps in the output file.
[mp4 @ 0xf4524c00] Non-monotonous DTS in output stream 0:1; previous: 132101, current: 29272; changing to 132102. This may result in incorrect timestamps in the output file.Last few lines are onSuccess() message of when i run with concat Demuxer.
All files are *.mp4 files.