
Recherche avancée
Médias (91)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (39)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (5887)
-
c FFmpeg undefined refference error [duplicate]
14 août 2017, par galagalaThis question already has an answer here :
I want to write my own video player, so I am trying to use FFmpeg with C.
I am using Ubuntu 16.04.3 LTS and compile FFmpeg following this tutorial https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntuafter that I did add libavcodec.a to linker setting list and the source code path to search directory (using codeblocks)
but my code still get error : undefined refference to "avcodec_register_all()"
#include
#include "libavcodec/avcodec.h"
int main()
{
avcodec_register_all();
return 0;
}after that, I search the libavcodec folder
I did find avcodec.h and void avcodec_register_all(void) defined in it
but I couldn’t find avcodec.c in the folderIs that normal ? and is that the reason why I got undefined reference error ?
how to fix it ? -
Mpegts packet corrupt with ffmpeg concat protocol
1er novembre 2022, par Curious OctopusI'm trying to use the
concat protocol
in ffmpeg as described in the ffmpeg docs :
https://trac.ffmpeg.org/wiki/Concatenate

However I'm getting lots of errors about corrupt packets when running the concat, so I'm worried that this isn't the best approach. My actual use case will involve running unsupervised with a ton of different source videos, so I want to be sure that it's solid.


The
concat demuxer
approach succeeds without errors but takes about 10 times as long.

Steps to reproduce


Download Big Buck Bunny :


wget https://download.blender.org/demo/movies/BBB/bbb_sunflower_1080p_30fps_normal.mp4



Transcode a 30 second chunk :


ffmpeg -i bbb_sunflower_1080p_30fps_normal.mp4 -ss '00:06:30' -t 30 -c:v libx264 -crf 18 bbb30.mp4



Create one second parts :


mkdir -p parts;
for i in $(seq -f "%02g" 0 29); do \
 ffmpeg \
 -i bbb30.mp4 \
 -ss "00:00:$i" -t 1 \
 -c:v libx264 -pix_fmt yuv420p -crf 18 \
 -bsf:v h264_mp4toannexb \
 -f mpegts \
 -y parts/$i.ts;
done



Combine all the parts into a new output mp4 :


ffmpeg -y \
 -i "concat:parts/00.ts|parts/01.ts|parts/02.ts|parts/03.ts|parts/04.ts|parts/05.ts|parts/06.ts|parts/07.ts|parts/08.ts|parts/09.ts|parts/10.ts|parts/11.ts|parts/12.ts|parts/13.ts|parts/14.ts|parts/15.ts|parts/16.ts|parts/17.ts|parts/18.ts|parts/19.ts|parts/20.ts|parts/21.ts|parts/22.ts|parts/23.ts|parts/24.ts|parts/25.ts|parts/26.ts|parts/27.ts|parts/28.ts|parts/29.ts" \
 -c copy \
 output.mp4



Stderr has lots of warnings about corrupt packets (in this case always at dts = 21300) :


[mpegts @ 0x555d172daa00] Packet corrupt (stream = 0, dts = 213000).
concat:parts/00.ts|parts/01.ts|parts/02.ts|parts/03.ts|parts/04.ts|parts/05.ts|parts/06.ts|parts/07.ts|parts/08.ts|parts/09.ts|parts/10.ts|parts/11.ts|parts/12.ts|parts/13.ts|parts/14.ts|parts/15.ts|parts/16.ts|parts/17.ts|parts/18.ts|parts/19.ts|parts/20.ts|parts/21.ts|parts/22.ts|parts/23.ts|parts/24.ts|parts/25.ts|parts/26.ts|parts/27.ts|parts/28.ts|parts/29.ts: corrupt input packet in stream 0



The resulting mp4 looks ok to my eye, but obviously ffmpeg isn't happy about something. Any ideas ?


-
AVI to MP4 - ffmpeg conversion
4 juin 2014, par Emmanuel BrunetI’m running a debian 7.5 machine with ffmpeg-2.2 installed following these instructions
Issue
I’m trying to display a mp4 video inside my browser. The original file has an AVI container format. I can successfully convert it to mp4 and the targetfile is readable (video + sound) with the totem movie player. So I thought everything would be OK displaying the bellow page
HTML5 web page
<video width="640" height="480" controls="controls">
<source src="/path/to/output.mp4" type="video/mp4">
<h3>Your browser does not support the video tag</h3>
</source></video>Input probe
$ ffprobe -show_streams input.avi
Duration: 00:08:22.90, start: 0.000000, bitrate: 1943 kb/s
Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
Stream #0:1: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x540 [SAR 1:1 DAR 4:3], 1870 kb/s, 29.97 fps, 25 tbr, 29.97 tbn, 25 tbcConvert
$ ffmpeg -y -fflags +genpts -i input.avi -acodec copy -vcodec copy ouput.mp4
Html browser
Opening the above html file plays sound but no video is displayed.
When I use other .mp4 files, videos succesfully displayed so I’m sure I face a conversion issue.
Not : I’ve tryed a lot of other ffmpeg options but without success.
Any idea ?
Thanks in advance.