
Recherche avancée
Autres articles (94)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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. -
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 (...)
Sur d’autres sites (15666)
-
The .mp4 video does not play, which is created from ffmpeg library (not command line)
25 septembre 2013, par user1914692I use ffmpeg library to encode frames to a .mp4 video. The program runs smoothly without error. But the output .mp4 video does not play. Properties of the file does not even show it is a video file, no any information of video stream.
The related code is :
const char* ouVideoFileName = "output.mp4";
AVCodecID ouCodec_id = CODEC_ID_H264;But if I change it to :
const char* ouVideoFileName = "output.avi";
AVCodecID ouCodec_id = CODEC_ID_H264;The .avi video plays correctly.
What's wrong with .mp4 video ?
-
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. -
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 ?