
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (80)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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 (...) -
MediaSPIP : Modification des droits de création d’objets et de publication définitive
11 novembre 2010, parPar défaut, MediaSPIP permet de créer 5 types d’objets.
Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)
Sur d’autres sites (8772)
-
Soft-encoding of subtitles into MPEG-4 file
7 octobre 2017, par PygmalionIt is a well-known fact that one can soft-encode subtitles into MKV files, that is by playing MKV file with soft-endoded subtitles, one can turn them on or off.
My questions is, is it possible to soft-encode subtitles into MP4 files ? I feel like if I am searching for a Yeti. Googling this in 99% cases returns methods that actually hard-encode subtitles and in 1% cases non-working solutions. I tried
ffmpeg
,avidemux
and dozen of other online and offline solutions.The closest I could get to the solution was
Use ffmpeg to add text subtitles
however it does not work. What I consistently get is
Packet with invalid duration -XXXX in stream 1
error.
Therefore, can someone give me authoritative answer : Is it possible or is it not possible to soft-encode subtitles in MP4 ? Does anyone know any working solution ? Thanks.
EDIT : Since it is a rather short video (cca. 1 minute) and rather short subtitles, I can provide them for testing.
Here is the full log for my
ffmpeg
command :ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --ena
ble-decklink --enable-zlib
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1-1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.25.101
Duration: 00:01:14.94, start: 0.133000, bitrate: 278 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [
SAR 1:1 DAR 3:2], 144 kb/s, 29.96 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(unk): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 12
8 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, srt, from '1-1.srt':
Duration: N/A, bitrate: N/A
Stream #1:0: Subtitle: subrip
File '1-1test.mp4' already exists. Overwrite ? [y/N] y
[mp4 @ 04ea37c0] Codec for stream 0 does not use global headers but container fo
rmat requires global headers
[mp4 @ 04ea37c0] Codec for stream 1 does not use global headers but container fo
rmat requires global headers
Output #0, mp4, to '1-1test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x480 [SA
R 1:1 DAR 3:2], q=2-31, 144 kb/s, 29.96 fps, 29.97 tbr, 30k tbn, 30k tbc (defaul
t)
Metadata:
handler_name : VideoHandler
Stream #0:1(unk): Audio: mp3 (i[0][0][0] / 0x0069), 48000 Hz, stereo, 128 kb
/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2: Subtitle: mov_text ([8][0][0][0] / 0x0008)
Metadata:
encoder : Lavc56.60.100 mov_text
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (subrip (srt) -> mov_text (native))
Press [q] to stop, [?] for help
[mp4 @ 04ea37c0] Packet with invalid duration -5232 in stream 1
frame= 2245 fps=0.0 q=-1.0 Lsize= 2550kB time=00:01:14.92 bitrate= 278.8kbits
/s
video:1320kB audio:1171kB subtitle:1kB other streams:0kB global headers:0kB muxi
ng overhead: 2.340987% -
ffmpeg video is bugged when burning PGS subtitles from .mkv to .webm
27 août 2022, par ahab1851I am trying to burn PGS subtitles into a WebM clip (I am converting .mkv file with PGS subtitles into a .webm file), but when I do that, the clip becomes bugged : the length of the clip is 1193 hours and I can't seek the clip.


Here's my ffmpeg command :


ffmpeg -hide_banner -i out.mkv -sws_flags lanczos+accurate_rnd+full_chroma_int \
-filter_complex "[0:v][0:s]overlay[v1]; [v1]crop=1920:804:0:138, \
colorspace=bt709:iall=bt601-6-625:fast=1,scale=1280:-2[v2]" \
-map "[v2]" -map 0:1 -minrate 320k -maxrate 1300k -b:v 640k \
-pix_fmt yuv420p10le -colorspace 1 -color_range 1 -color_primaries 1 \
-color_trc 1 -tile-columns 0 -g 240 -aq-mode 0 -threads 2 \
-deadline good -crf 32 -c:v libvpx-vp9 -pass 1 -cpu-used 2 -row-mt 1 -an -sn -f webm -

ffmpeg -hide_banner -i out.mkv -sws_flags lanczos+accurate_rnd+full_chroma_int \
-filter_complex "[0:v][0:s]overlay[v1]; [v1]crop=1920:804:0:138, \
colorspace=bt709:iall=bt601-6-625:fast=1,scale=1280:-2[v2]" \
-map "[v2]" -map 0:1 -minrate 320k -maxrate 1300k -b:v 640k \
-pix_fmt yuv420p10le -color_range 1 -colorspace 1 -color_primaries 1 \
-color_trc 1 -tile-columns 0 -auto-alt-ref 1 -lag-in-frames 25 -g 240 \
-aq-mode 0 -threads 1 -deadline good -crf 32 -c:v libvpx-vp9 -pass 2 \
-cpu-used 0 -row-mt 1 -an -sn -map_metadata -1 -f webm output.webm



Thanks.


-
C# Desktop recorder h.264 cross-"computer"
14 décembre 2013, par rodiI was looking for a method with "least requirements" for a maximum compatibility.
I have seen that there are mainly 2 ways : through directx, through .NET ( only >Win7) but both requires Win7 Or DirectX 9 installed.
could
ffmpeg
be useful ? I have tried following this Wiki, but it prompts me :> ffmpeg -f dshow -i video="UScreenCapture":audio="Microphone" output.flv
[dshow @ 00000000003ea700] Could not find video device.
video=UScreenCapture: Input/output errorAny advice ?