
Recherche avancée
Autres articles (104)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
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 (...)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (11224)
-
avformat/avlanguage : Remove long disabled av_convert_lang_to
25 février 2021, par Andreas Rheinhardtavformat/avlanguage : Remove long disabled av_convert_lang_to
1582e306a47977b09fddb029b999f99eb03cd485 scheduled it for removal with
libavformat major version 58, but it was never removed.Reviewed-by : Paul B Mahol <onemda@gmail.com
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
How to generate a video by looping an image and then concat with another very long video without re-encoding using ffmpeg ?
23 mars 2021, par Linghao ChenI have an image and a very long video (1.5h).
Now I want to generate a heading video about 5 seconds by looping the image, and then concatenate it with the long video. Since the video is long, I don't want to re-encode the videos.
I have tried to generate the heading video using


ffmpeg -loop 1 -i image.png -c:v libx264 -t 5 -pix_fmt yuv420p head.mp4



and then


ffmpeg -f concat -i list.txt -c:v copy concat.mp4



where the list.txt contains


file head.mp4
file longvideo.mp4



I have tried these operations on two machines.
On one machine, the concatenated video has no audio. Moreover, it stucks at 5-10 seconds and directly jump to 11s.
On the other machine, the video and audio are not synchronized.


To provide more information, I have checked the codecs of the two videos by


ffprobe -v error -select_streams v:0 -show_entries stream=codec_name \
 -of default=noprint_wrappers=1:nokey=1 xxxxx.mp4



Both of them are h264.


My question is, how to generate it correctly with ffmpeg ? If it is hard using ffmpeg, is there any method to do it fast ? As far as I know, Adobe Premiere and Final Cut Pro do not export as fast as I expect because they re-encode the videos.


-
FFmpeg reverse long audio hang randomly in Android
23 mars 2021, par MichaelI am writing an Android APP, underneath I simply use FFmpeg command to reverse the audio.


The command is simple like :
ffmpeg -loglevel debug -debug_ts -i /sdcard/.m4a -af areverse /sdcard/longaudio.aac


If the audio is short, everything works fine, but if the audio longer than 10 mins, the thread will hang(sleep) randomly at some places. The log shows input processing stop in middle at some pkt_pts, every time stop at different ptk_pts. The whole app will therefore hang in there.


If I simply do conversion "
ffmpeg -loglevel debug -debug_ts -i /sdcard/.m4a -codec:a aac /sdcard/longaudio.aac
" it will work.

Some debug steps I did :


- 

-
The memory and cpu usage is normal, it seems the ffmpeg just suddenly decide to take a rest during reverse the long audio :(


-
the IO shouldn't be fulled, I commented out the logs still not ok.


-
I see a lot "
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
", but it also showed in normal cases.









I know the description is kind of ambiguous, but I am so desperate. Anything I don't know about the audio reverse is welcome.


-