Opened 2 years ago
Closed 21 months ago
#10650 closed defect (fixed)
Subtitle problem in new ffmpeg version transcoding crashes with sume subtitles
| Reported by: | Wkuf | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | dvb_subtitle subtitle compilation |
| Cc: | elenril | Blocked By: | |
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | yes |
Description (last modified by )
Summary of the bug: I used ffmpeg version N-99878-g406879f to code my videos since many years without problems. After recompiling ffmpeg version N-112494-g393d1ee541 the option -scodec dvdsub crashes videos with dvb_subtitle in a ts file. If I transcode the same video with the old version everything is fine.
How to reproduce:
% ffmpeg -y -itsoffset 0 -threads 4 -i /mnt/00001_Neo_test_dd_abspielbar.ts -ss 00:00:02 -to 00:00:14 -filter_complex "[0]yadif=0:-1:0[deint]" -map "[deint]" -map 0:a -map 0:s:0 -codec:v libx264 -preset veryslow -crf 23 -c:a libfdk_aac -b:a 128k -scodec dvdsub /mnt/00001_Neo_test_dd_abspielbar_ffmpeg_new.mkv ffmpeg version N-112494-g393d1ee541 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04) configuration: --prefix=/home/werner/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/werner/ffmpeg_build/include --extra-ldflags=-L/home/werner/ffmpeg_build/lib --extra-libs='-lpthread -lm' --ld=g++ --bindir=/home/werner/bin --enable-gpl --enable-gnutls --enable-libaom --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libsvtav1 --enable-libdav1d --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libzvbi libavutil 58. 27.100 / 58. 27.100 libavcodec 60. 30.102 / 60. 30.102 libavformat 60. 15.100 / 60. 15.100 libavdevice 60. 2.101 / 60. 2.101 libavfilter 9. 11.100 / 9. 11.100 libswscale 7. 4.100 / 7. 4.100 libswresample 4. 11.100 / 4. 11.100 libpostproc 57. 2.100 / 57. 2.100
I added two log files
fmpeg-20231103-193114_new.log is the result of the crash with version N-112494-g393d1ee541
ffmpeg-20231103-193512_old.log is the result of the old version that generates perfect output files including the correct subtitle
I uploaded 00001_Neo_test_dd_abspielbar.ts to the uploadserver
https://streams.videolan.org/ffmpeg/incoming/10650/
Attachments (2)
Change History (7)
by , 2 years ago
| Attachment: | fmpeg-20231103-193114_new.log added |
|---|
by , 2 years ago
| Attachment: | ffmpeg-20231103-193512_old.log added |
|---|
Logfile for working old ffmpeg version
comment:1 by , 2 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 2 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 2 years ago
| Analyzed by developer: | set |
|---|---|
| Cc: | added |
| Reproduced by developer: | set |
Caused by 94968dbc1116e23cb658c09538e9bce52b63d654
comment:4 by , 2 years ago
Thank you. Great that you checked this.
The coding is now running through but the subtitles are not in Sync and are very much shifted. It is not happening for the small example that I uploaded but for a larger file. VLC does not recognice the length correctly of the coded file.
comment:5 by , 21 months ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |



New ffmpeg version generating problems