Merci vv222
Là, je teste un truc. Je viens d'essayer la version static de ffmpeg. La conversion va juste au bout avec ma commande mais avec un message d'erreur (échec conversion en rouge)
The static builds do not support non-free encoders.
La vidéo convertie est bonne pourtant et avec le sous-titrage fonctionnel.
Je teste maintenant la compilation de ffmpeg avec toutes les options.
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
.... à suivre
La compilation est OK.
Je viens de la lancer la convertion :
patrick@debian:~/bin$ ./ffmpeg -i LADY_AND_THE_TRAMP2.vob -map 0:0 -map 0:3 -map 0:6 -vcodec copy -scodec copy -acodec ac3_fixed Sortie.mpg
ffmpeg version N-75970-g5bd62a1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (Debian 4.9.2-10)
configuration: --prefix=/home/patrick/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/patrick/ffmpeg_build/include --extra-ldflags=-L/home/patrick/ffmpeg_build/lib --bindir=/home/patrick/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
libavutil 55. 3.100 / 55. 3.100
libavcodec 57. 5.100 / 57. 5.100
libavformat 57. 3.100 / 57. 3.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 11.100 / 6. 11.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mpeg, from 'LADY_AND_THE_TRAMP2.vob':
Duration: 01:06:12.99, start: 0.287267, bitrate: 7912 kb/s
Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 7600 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:2[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:3[0x82]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream #0:4[0x83]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:5[0x20]: Subtitle: dvd_subtitle
Stream #0:6[0x21]: Subtitle: dvd_subtitle
Stream #0:7[0x22]: Subtitle: dvd_subtitle
Stream #0:8[0x23]: Subtitle: dvd_subtitle
Stream #0:9[0x24]: Subtitle: dvd_subtitle
Stream #0:10[0x25]: Subtitle: dvd_subtitle
[mpeg @ 0x4926100] ac3 in MPEG-1 system streams is not widely supported, consider using the vob or the dvd muxer to force a MPEG-2 program stream.
Output #0, mpeg, to 'Sortie.mpg':
Metadata:
encoder : Lavf57.3.100
Stream #0:0: Video: mpeg2video, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, max. 7600 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
Stream #0:1: Audio: ac3 (ac3_fixed), 48000 Hz, 5.1(side), s16p, 448 kb/s
Metadata:
encoder : Lavc57.5.100 ac3_fixed
Stream #0:2: Subtitle: dvd_subtitle
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:3 -> #0:1 (ac3 (native) -> ac3 (ac3_fixed))
Stream #0:6 -> #0:2 (copy)
Press [q] to stop, [?] for help
[mpeg @ 0x4926100] Application provided invalid, non monotonically increasing dts to muxer in stream 2: 324043200 >= 4450
av_interleaved_write_frame(): Invalid argument
frame=99325 fps=572 q=-1.0 Lsize= 3348592kB time=01:06:12.98 bitrate=6904.5kbits/s
video:3113539kB audio:217273kB subtitle:2049kB other streams:0kB global headers:0kB muxing overhead: 0.471991%
Conversion failed!
patrick@debian:~/bin$
Et pourtant, malgré le message tout est bon. Bizarre
EDIT:
Application provided invalid, non monotonically increasing dts to muxer in stream 2: 324043200 >= 4450
av_interleaved_write_frame(): Invalid argument
Cette erreur est présente que si je veux mettre un sous-titres
Ici :
https://trac.ffmpeg.org/ticket/4450
EDIT : et si en extension je mettais .vob au lieu de .mpg
ac3 in MPEG-1 system streams is not widely supported, consider using the vob or the dvd muxer to force a MPEG-2 program stream.
Message disparu !!!
Dernière modification par Anonyme (14-10-2015 13:20:41)