
Recherche avancée
Autres articles (30)
-
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 -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (4631)
-
Error : No such filter : '"movie', what's the isssue ?
16 mars 2019, par unoI am using the code to add watermarks to videos on upload for carrierwave-video :
process encode_video: [:mp4, resolution: "640x480", watermark: {
path: "app/assets/images/logo-nike.jpg",
position: :bottom_right,
pixels_from_edge: 10
}]When i use this code, i get error :
(in short)
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[AVFilterGraph @ 0x55c8909bf180] No such filter: '"movie'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
):my ffmpeg version is 4.1.1
Is there something missing from ffmpeg i need to install ? I have looked around and found no issues with others using this code (most posts are years old though)
I found this : No such filter : ’drawtext’
but isn’t the same thing ?
-
FFMPEG not "decoding" the right url input
9 mars 2019, par TayaxOk sorry everyone if the title is not very clear. Any idea would be helpful.
Basically I am trying to save small portions of videos and upload them to my server. The thing is, it seems that somehow the video input url I put is being redirected during the process, and FFmpeg get rid of some of it.
Explanation with a practical example :
ffmpeg -ss 5 -i "https://serverigetmyvideofrom.com/videos/xxxxx.mp4" -t 139 -y \
-codec:v libx264 -codec:a libfaac /var/www/vhosts/www/36.mp4 \
> /var/www/vhosts/xxx/block.txt 2>&1 &And in the block.txt file, I have this error :
https://serverigetmyvideofrom.com/videos/x/xxxx/xx.mp4?someparameter%3D: Server returned 401 Unauthorized (authorization failed)
And so it seems that FFMPEG stopped the url at the caracter " : " but somehow I doubt it’s the end of the url.
Nonetheless, I would like to know how I can access directly the end url ?
-
FFMPEG - concatenating mp4s from different sources - unable to stop "Non-monotonous DTS in output stream" warning
19 novembre 2018, par Sam PI need to concatenate mp4 files from different sources, this means some of the variables are out of my control such as timebase, aspect ratio and encoding. So to get around this I re-encode and attempt to standardise the files before concatenating them. Unfortunately, despite this I get
Non-monotonous DTS in output stream
warnings during the concatenation stage, and the output video seems to always have broken audio/video syncing by the last segment.I know there are a lot of other questions out there about resolving the warning above, but I’ve been through them all and reviewed the documentation.. but unfortunately I’ve been still been unable to solve it..
I think the thing which I don’t understand is : if I have mp4s from different sources, what exactly do I need to do to ensure that the files will always neatly concatenate together ?
What I’ve tried so far
The script I’m using to standardise the mp4 files before concantenation is the following (amends resolution, frame rate, timebase, bitrate for audio, bitrate for video, audio encoding and video encoding) :
ffmpeg -y -i $1 -vf 'scale=1280:720:force_original_aspect_ratio=1,pad=1280:720:(ow-iw)/2:(oh-ih)/2' -r 30 -video_track_timescale 90000 -b:a 128K -b:v 1200K -c:a aac -c:v libx264 $2
Here’s the
ffprobe
output on two of the files, there are some differences but I’m not sure if they are significant ?Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:08.98, start: 0.000000, bitrate: 1210 kb/s
Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1069 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 132 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'middle.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:59.72, start: 0.000000, bitrate: 1200 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1063 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandlerThey all have normal video and audio at this point.
After that I concatenate them and add a watermark using the following (it sucks that I need to re-encode here) :
ffmpeg -y \
-f concat \
-safe 0 \
-i $INFILES \
-c:v libx264 \
-c:a copy \
-preset fast \
-vf drawtext=enable="'between(t, $DRAW_TEXT_DELAY, $DRAW_TEXT_DURATION)': fontfile=$FONT_DIR/$FONT: text='$TEXT': fontcolor=$FONTCOLOR: fontsize=$FONTSIZE: $POSITION" \
$OUTFILEINFILES
is a path to a text file formatted like :file /usr/src/app/data/test/out/intro.mp4
file /usr/src/app/data/test/out/middle.mp4
file /usr/src/app/data/test/out/outro.mp4What am I missing here ? Is there a way to debug this further ?