
Recherche avancée
Autres articles (65)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (8449)
-
-12909 error decoding h264 stream with intra-refresh
2 juillet 2024, par ciclopezI'm making an iOS app that decodes an h264 stream using video-toolbox. I create the stream with ffmpeg on a PC and send it to an iPhone using RTP. It's working nicely when I use this command to create it :



ffmpeg -y -f:v rawvideo -c:v rawvideo -s 1280x720 -pix_fmt bgra -r 30 -an -i - -pix_fmt yuv420p -c:v libx264 -tune zerolatency -preset fast -b:v 5M -refs 1 -g 30 -profile:v high -level 4.1 -f rtp rtp://192.168.1.100:5678




The iPhone receives and displays all the frames. However, when I enable intra-refresh



-intra-refresh 1




decoding fails with error code
-12909
(-8969
on simulator) whenVTDecompressionSessionDecodeFrame()
is called.


I take care of processing UDP packets to extract NAL Units, so I triple checked this process and discarded a problem with this part of the code.



I didn't find any info about Video-toolbox not supporting intra-refresh, so the question is, does Video-toolbox support intra-refresh ? and if it does, am I missing something in the ffmpeg side that makes the stream not supported by Video-toolbox ?
Do I have to add something to the
CMVideoFormatDescriptionRef
apart from creating it with SPS and PPS data usingCMVideoFormatDescriptionCreateFromH264ParameterSets()
?

-
AV Foundation or FFmpeg tutorials [closed]
30 novembre 2012, par timeI want to edit video on iPhone, so I search and found that there are two ways : AV Foundation and FFmpeg. The problem is that I am unable to find any tutorial to start working with them. Could someone please provide me with some links ?
-
Relocated ffmpeg example files fail
17 novembre 2020, par CT99I'm trying to use some ffmpeg calls in my own program, the basis of which I'm editing the ffmpeg example program remuxing.c. I'm trying to use some of the ffmpeg calls in my own program.


I'm running Ubuntu 18.04.5 on a generic Linux box.


To help better understand what I've done and where I've having problems, I'll out line what I've done and what is not working.


Steps I've successfully completed :


— I've have downloaded the ffmpeg code base and example files


— Next I did a './configure', then 'make', then 'make install' and 'make examples' to make the libraries and examples


— I tested some of the examples and they ran fine from the default install directory


— specifically, when I test remuxing.c in the original ffmpeg downloaded dir — compile and run — it works fine


./remuxing /data/iphone-h264.m4v /tmp/test15.ts



— this creates a .ts output file that I can test and is readable by vlc


Having ensured that I correctly compiled and tested ffmpeg source and its example files, I next move to working my own program based on the example remuxing.c


— I copied the original remuxing.c into my own test directory structure


— I make it by running this to link in the required ffmpeg libraries (I think)


cc -DLINUX -o remuxing remuxing.c -I ../ffmpeg/libavformat -lavformat -I ../ffmpeg/libavcodec -lavcodec -I ../ffmpeg/libswresample -lswresample -I ../ffmpeg/libavutil -lavutil -lpthread -lm



— however when I try to generate a test16.ts file (to know it is different from the one I created before) I get an error :


./remuxing /data/iphone-h264.m4v /tmp/test16.ts
 Could not open input file '/data/iphone-h264.m4v’ Error occurred: Invalid data found when processing input



This is the exact same video file the same program converted from the installed doc/examples directory.


QUESTION — why is this happening — what am I doing wrong ?


I guess I may not be properly linking in the ffmpeg libraries ?? — but I'm not sure what I'm doing wrong.


I can also post my makefiles if that would help.


Would be most appreciative for any help — thank you in advance.