
Recherche avancée
Autres articles (90)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (6802)
-
How to overlay only part of a video using ffmpeg or a similar tool (not the full frame) [closed]
26 octobre 2024, par velwI have two videos (let's say 1.mp4 and 2.mp4). I would like to overlay only the top-right quarter of 2.mp4 onto 1.mp4.


The output would be a single video with the content from 1.mp4 in the top left, bottom left and bottom right, and the content from 2.mp4 in the top right.


(To be clear, I don't mean shrinking anything. The output would show only three quarters of the frame from 1.mp4 and only one quarter of the frame from 2.mp4)


Is it possible to do this with ffmpeg or something similar ?


-
ffmpeg giving full path as parameter gives error
15 juin 2015, par Taufiq Abdur RahmanThis code works
ffmpeg.exe -i 1.avi -vf "[in] scale=iw:ih, pad=2*iw:ih [left];movie=2.avi, scale=iw:ih, fade=out:300:30:alpha=1 [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k Output1.mp4
I get an error running this.
ffmpeg.exe -i "c:\test 14\1.avi" -vf "[in] scale=iw:ih, pad=2*iw:ih [left]; movie="c:\test 14\2.avi", scale=iw:ih, fade=out:300:30:alpha=1 [right]; [left][right] overlay=main_w/2:0 [out]" -b:v 768k "C:\test 15\Output.AVI"
[Parsed_movie_2 @ 04183780] Failed to avformat_open_input ’C’
[AVFilterGraph @ 02be04e0] Error initializing filter ’movie’ with args
’c :\test 14\2.avi’ Error opening filters !What am I doing wrong ?
-
How to convert AAC/MP4A to MP3 using FFMPEG in full length ? Audio file gets cut off after 1 second
6 novembre 2022, par AvatarI have recorded an audio file with MediaRecorder on iPhone.


As ffmpeg command I am using :


ffmpeg -i 18380889311644327118 -ar 44100 -ac 2 -b:a 128k -c:a libmp3lame -q:a 0 18380889311644327118.mp3



-i specifies the input file
-vn disables all video-streams from the input
-ar audio sampling frequency
-ac number of audio channels
-b:a bit rate
-c:a libmp3lame - codec of target file
-q:a quality set audio quality (codec-specific) (lower is better), see https://superuser.com/a/1515841

-sn disables all subtitle-streams from the input
-dn disables all data-streams from the input



The console output looks like this :


Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '18380889311644327118':
 Metadata:
 major_brand : iso5
 minor_version : 1
 compatible_brands: isomiso5hlsf
 creation_time : 2021-12-08T15:44:06.000000Z
 Duration: 00:00:01.00, start: 0.000000, bitrate: 2258 kb/s
 Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 2234 kb/s (default)
 Metadata:
 creation_time : 2021-12-08T15:44:06.000000Z
 handler_name : Core Media Audio
Stream mapping:
 Stream #0:0 -> #0:0 (aac (native) -> mp3 (libmp3lame))

Output #0, mp3, to '18380889311644327118.mp3':
 Metadata:
 major_brand : iso5
 minor_version : 1
 compatible_brands: isomiso5hlsf
 TSSE : Lavf58.29.100
 Stream #0:0(und): Audio: mp3 (libmp3lame), 44100 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 creation_time : 2021-12-08T15:44:06.000000Z
 handler_name : Core Media Audio
 encoder : Lavc58.54.100 libmp3lame
size= 17kB time=00:00:01.01 bitrate= 135.5kbits/s speed=37.2x
video:0kB audio:16kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.343701%



As you can see, the duration is
01.00
second. And this happens with all recorded files.

How to convert the entire file (which is 12 seconds long) to its full length ?





Note : It seems that the recorded file does not have a length specified. Under Windows I renamed the file, adding an extension ".m4a" and opened the file properties :




The length attribute is empty.