
Recherche avancée
Autres articles (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (11451)
-
My RTMP server(freebsd) wont let me hear video when I play a huge file over the server itself :/
19 avril 2021, par Engi Gangrm -rf /mnt/hls/loool && ffmpeg -re -i "$file" -c:v libx264 -c:a aac -b:v 300k -b:a 95k -f flv -flvflags no_duration_filesize rtmp ://lambright.xyz:1935/live/loool


any work around I literally cant play the audio :( I can only hear (my source file is an MKV and 3gb )


rtmp {
 server {
 listen 1935; # Listen on standard RTMP port
 chunk_size 4000;

 application live {
 allow play all;
 live on;
 record off;
 hls on;
 hls_nested on;
 hls_path /mnt/hls/;
 hls_fragment 2s;
 }
 
 }
}



-
mp4 format video can not play in ios
15 juin 2022, par parsaI've problem for the playing
mp4
format videos on ios and sometimes it no have any problem and play correctly.

Videos withmkv
format stores In my server daily,

And I copy the codecs tomp4
to can support video playing in ios with this command offfmpeg
:

ffmpeg -i Axl_Rose.mkv -map 0 -c copy -c:a aac -movflags +faststart Axl_Rose.mp4



Sometimes the output can not play in ios.
This is the ffprobe details of output file of top command which could not play on ios :


ffprobe version 4.2.7-0ubuntu0.1 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened -- 
libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 
--enable-gpl --disable-stripping --enable-avresample --disable-filter=resample -- 
enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass -- 
enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable- 
libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable- 
libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame -- 
enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable- 
libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy 
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable- 
libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack 
--enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq - 
-enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable- 
opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 -- 
enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'Axl_Rose.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf57.83.100
Duration: 00:07:37.88, start: 0.000000, bitrate: 566 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0) (vp09 / 0x39307076), yuv420p(tv, bt709), 
854x480, 429 kb/s, SAR 1:1 DAR 427:240, 29.97 fps, 29.97 tbr, 16k tbn, 16k tbc 
(default)
Metadata:
 handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 
kb/s (default)
Metadata:
 handler_name : SoundHandler



What should I do, and whats the problem ?


-
AS3 AIR Detecting video play completion with FFMPEG
21 août 2015, par AntBirchI’m using FFMPEG with AS3 as I need to be able to allow the use of multiple video formats. The problem I’m having is that whilst using FFMPEG the following netStatus will never get triggered -
NetStream.Play.Stop
I’ve tried adding onPlayStatus and onStatus to the client but it seems that FFMPEG doesn’t work with these either. The only way I currently have of knowing if the video is finished is by using
"NetStream.Buffer.Empty"
but this really isn’t practical and may cause issues in the long run.I previously had an issue with being unable to trace out the netStream duration with FFMPEG which resulted in the use of ProgressEvent. Is this function the way forward for my current issue ?
Thanks in advance.
EDIT 1 : It may be possible that because NetStream is a sealed class that I have to use an internal class to add the onPlayStatus function to it ? I’ve added
netStream.client = new Client();
EDIT 2 : Can’t seem to find a way to call onPlayStatus.
EDIT 3 : Not sure if it’s worth noting but
netStream.time
never seems to matchnetStream.bufferlength
when the video has finished.