Deutsch   English   Français   Italiano  
<20220214182946.0f7a58b4@coffee.novazur.fr>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!3my8gGK7ESrpx0+4iQgUXA.user.46.165.242.75.POSTED!not-for-mail
From: Christophe PEREZ <chris@novazur.fr>
Newsgroups: fr.comp.os.linux.configuration
Subject: inclure sub et idx dans mp4
Date: Mon, 14 Feb 2022 18:29:46 -0400
Organization: Aioe.org NNTP Server
Message-ID: <20220214182946.0f7a58b4@coffee.novazur.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
Injection-Info: gioia.aioe.org; logging-data="63882"; posting-host="3my8gGK7ESrpx0+4iQgUXA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
Bytes: 5748
Lines: 108

Bonjour,

J'ai un certain nombre de vid=E9os, donc les sous-titres sont "externes"
au fichier vid=E9o (.sub et .idx, mais je ne sais absolument plus leur
provenance). Mais, ce format de vid=E9o n'est pas lisible sur ma TV
connect=E9e.
Je les converti donc =E0 l'aide de ffmpeg par :
ffmpeg -i video.avi -c copy video.mp4
Ils sont alors visualisables sur la TV (par le biais du serveur
multim=E9dia), mais, les sous-titres n'y sont =E9videmment pas, et je
n'arrive pas =E0 les inclure (interne ou externe) avec ce nouveau format
de vid=E9o.

J'ai essay=E9 en rajoutant "-i video.sub -i video.idx -c:s mov_text" =E0 ma
commande ffmpeg, mais il se plaint de ne pouvoir convertir que du texte
en texte, ou du bitmap en bitmap, ce qui ne m'=E9claire pas beaucoup.
Et sans le "-c:s mov_text" la vid=E9o est bien g=E9n=E9r=E9e, mais aucun
sous-titre apparent.

J'ai tent=E9 de convertir le sub+idx en srt, =E0 l'aide de sub2srt, mais il
m'a r=E9pondu qu'il ne reconnaissait pas le format.

Dans l'absolu, je pr=E9f=E8rerais un "tout en un" avec les sous-titres
inclus dans la vid=E9o, mais si je dois conserver des fichiers externes
=E7a restera acceptable.

Si quelqu'un a une piste...

Merci d'avance.

Les fichiers existants actuels :
$ mediainfo video.*
General
Complete name                            : video.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 550 MiB
Duration                                 : 55 min 17 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 1 390 kb/s
Writing application                      : MEncoder SVN-r34643
Writing library                          : MPlayer

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Advanced Simple@L5
Format settings                          : BVOP1
Format settings, BVOP                    : 1
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Muxing mode                              : Packed bitstream
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 55 min 17 s
Bit rate                                 : 1 239 kb/s
Width                                    : 624 pixels
Height                                   : 352 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.235
Stream size                              : 490 MiB (89%)
Writing library                          : XviD 1.2.1 (UTC 2008-12-04)

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Format settings                          : Joint stereo / MS Stereo
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 55 min 17 s
Bit rate mode                            : Variable
Bit rate                                 : 144 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 55.0 MiB (10%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 24  ms (0.58 video frame)
Interleave, preload duration             : 458  ms
Writing library                          : LAME3.98=20
Encoding settings                        : -m j -V 4 -q 3 -lowpass 17.5
--abr 144

General
Complete name                            : video.idx
File size                                : 1.08 KiB

General
Complete name                            : video.sub
Format                                   : MPEG-PS
File size                                : 2.00 KiB
FileExtension_Invalid                    : mpeg mpg m2p vob vro pss evo

Text
ID                                       : 189 (0xBD)-32 (0x20)
Format                                   : RLE
Format/Info                              : Run-length encoding
Muxing mode                              : DVD-Video