Re: [FFmpeg-user] how to control quality of subtitles

2020-06-11 Thread Peter Münster
On Wed, Jun 10 2020, Greg Oliver wrote:

> Samsungs are notorious for display info from a "Computer" very badly unless
> you change the name of the input on the TV to "PC" - yes this includes HDMI
> inputs as well.
>
> Have you tried that?

No. The files are served by minidlna. There is no way to change the name...

-- 
   Peter

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] how to control quality of subtitles

2020-06-10 Thread Greg Oliver
On Mon, May 25, 2020 at 11:58 AM Peter Münster  wrote:

> On Mon, May 25 2020, Carl Eugen Hoyos wrote:
>
> > Please provide an input sample.
>
> Here is a sample, this time without corruption:
>
> http://pmrb.free.fr/tmp/ffmpeg-test/sample.mkv
>
> --
>Peter
>

Sorry to chime in late -

Samsungs are notorious for display info from a "Computer" very badly unless
you change the name of the input on the TV to "PC" - yes this includes HDMI
inputs as well.

Have you tried that?  All of our Samsungs have a dedicated input already
named PC, but you can name as many as you like to PC.

Info ::
https://www.samsung.com/za/support/tv-audio-video/hdmi-pc-connection-text-is-fuzzy-image-is-not-clear/
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Peter Münster
On Mon, May 25 2020, Carl Eugen Hoyos wrote:

> Please provide an input sample.

Here is a sample, this time without corruption:

http://pmrb.free.fr/tmp/ffmpeg-test/sample.mkv

-- 
   Peter

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Peter Münster
On Mon, May 25 2020, Francois Visagie wrote:

> have you looked for a subtitle palette setting on your TV where the
> problem seems to be most annoying?

There is no setting on the TV. There is only a warning:
"If the subtitle is displayed incorrectly, change encoding options."


> And/or, if subtitles from other material display acceptably on your TV you
> could also compare palettes with those and work from there.

Yes, but I need to learn about 2 things then:
- How can I get information about the palette in an MKV-file?
- How can I change such a palette?

TIA for any help,
-- 
   Peter

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Carl Eugen Hoyos
Am Mo., 25. Mai 2020 um 14:50 Uhr schrieb Peter Münster :
>
> On Mon, May 25 2020, Moritz Barsnick wrote:
>
> > Please try to build from latest git master,
>
> Unfortunately it does not help.

Please provide an input sample.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Francois Visagie
> -Original Message-
> From: ffmpeg-user [mailto:ffmpeg-user-boun...@ffmpeg.org] On Behalf Of
> Peter Münster
> Sent: 25 May 2020 13:43
> To: ffmpeg-user@ffmpeg.org
> Subject: Re: [FFmpeg-user] how to control quality of subtitles
> 
> On Mon, May 25 2020, Moritz Barsnick wrote:
> 
> > Please try to build from latest git master,
> 
> Unfortunately it does not help. VLC still displays the subtitles with yellow
> letters and black outlines and the Samsung TV with ugly white.
> I've tried now also with mplayer: nice subtitles in white with black outlines.

Part of the problem seems to be controlling the palette to be used for 
rendering - you're getting three different results on three different players.

As an (ugly) work-around, have you looked for a subtitle palette setting on 
your TV where the problem seems to be most annoying?

And/or, if subtitles from other material display acceptably on your TV you 
could also compare palettes with those and work from there.

> Here is the output of my test:
> 
> --8<---cut here---start->8---
> peter@ws:/tmp/ffmpeg-tests> ~/tmp/FFmpeg/ffmpeg -y -i orig-dvbsub.ts -
> map 0:0 -map 0:1 -map 0:2 -c:v libx264 -c:a copy -c:s dvdsub -palette
> "0d00ee,ee450d,101010,eaeaea,0ce60b,ec14ed,ebff0b,0d617a,7b7b7b,d1d1
> d1,7b2a0e,0d950c,0f007b,cf0dec,cfa80c,7c127b" dvbsub2dvdsub.mkv ffmpeg
> version N-97937-g82bf41f3ab Copyright (c) 2000-2020 the FFmpeg
> developers
>   built with gcc 7 (SUSE Linux)
>   configuration: --enable-gpl --enable-libx264
>   libavutil  56. 49.100 / 56. 49.100
>   libavcodec 58. 87.101 / 58. 87.101
>   libavformat58. 43.100 / 58. 43.100
>   libavdevice58.  9.103 / 58.  9.103
>   libavfilter 7. 83.100 /  7. 83.100
>   libswscale  5.  6.101 /  5.  6.101
>   libswresample   3.  6.100 /  3.  6.100
>   libpostproc55.  6.100 / 55.  6.100
> [mpegts @ 0x298c840] PES packet size mismatch [mpegts @ 0x298c840]
> Packet corrupt (stream = 2, dts = NOPTS).
> Input #0, mpegts, from 'orig-dvbsub.ts':
>   Duration: 00:00:46.24, start: 3496.892811, bitrate: 3882 kb/s
>   Program 132
> Stream #0:0[0xa6]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
> yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn,
> 50 tbc
> Side data:
>   cpb: bitrate max/min/avg: 800/0/0 buffer size: 1835008 vbv_delay:
> N/A
> Stream #0:1[0x80](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
> stereo, fltp, 192 kb/s
> Stream #0:2[0x4b](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
> (hearing impaired)
> Stream #0:3[0x44]: Data: bin_data ([6][0][0][0] / 0x0006) Stream mapping:
>   Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
>   Stream #0:1 -> #0:1 (copy)
>   Stream #0:2 -> #0:2 (dvb_subtitle (dvbsub) -> dvd_subtitle (dvdsub)) Press
> [q] to stop, [?] for help
> [libx264 @ 0x2ab9040] using SAR=64/45
> [libx264 @ 0x2ab9040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
> AVX FMA3 BMI2 AVX2
> [libx264 @ 0x2ab9040] profile High, level 3.0, 4:2:0, 8-bit
> [libx264 @ 0x2ab9040] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft
> 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3
> deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
> mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0
> deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18
> lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
> keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
> mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
> aq=1:1.00 Output #0, matroska, to 'dvbsub2dvdsub.mkv':
>   Metadata:
> encoder : Lavf58.43.100
> Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576
> [SAR 64:45 DAR 16:9], q=-1--1, 25 fps, 1k tbn, 25 tbc
> Metadata:
>   encoder : Lavc58.87.101 libx264
> Side data:
>   cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
> Stream #0:1(deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 
> fltp,
> 192 kb/s
> Stream #0:2(deu): Subtitle: dvd_subtitle (dvdsub) ([255][255][255][255] /
> 0x) (hearing impaired)
> Metadata:
>   encoder : Lavc58.87.101 dvdsub
> [mpegts @ 0x298c840] Packet corrupt (stream = 0, dts = 315404353).e=
> 318.3kbits/s speed=13.2x
> [mpeg2video @ 0x2a96380] ac-tex damaged at 33 14 [mpeg2video @
> 0x2a96380] Warning MVs not available [mpeg2video @ 0x2a96380]
> concealing 765 D

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Peter Münster
On Mon, May 25 2020, Moritz Barsnick wrote:

> Please try to build from latest git master,

Unfortunately it does not help. VLC still displays the subtitles with
yellow letters and black outlines and the Samsung TV with ugly white.
I've tried now also with mplayer: nice subtitles in white with black
outlines. Here is the output of my test:

--8<---cut here---start->8---
peter@ws:/tmp/ffmpeg-tests> ~/tmp/FFmpeg/ffmpeg -y -i orig-dvbsub.ts -map 0:0 
-map 0:1 -map 0:2 -c:v libx264 -c:a copy -c:s dvdsub -palette 
"0d00ee,ee450d,101010,eaeaea,0ce60b,ec14ed,ebff0b,0d617a,7b7b7b,d1d1d1,7b2a0e,0d950c,0f007b,cf0dec,cfa80c,7c127b"
 dvbsub2dvdsub.mkv
ffmpeg version N-97937-g82bf41f3ab Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (SUSE Linux)
  configuration: --enable-gpl --enable-libx264
  libavutil  56. 49.100 / 56. 49.100
  libavcodec 58. 87.101 / 58. 87.101
  libavformat58. 43.100 / 58. 43.100
  libavdevice58.  9.103 / 58.  9.103
  libavfilter 7. 83.100 /  7. 83.100
  libswscale  5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc55.  6.100 / 55.  6.100
[mpegts @ 0x298c840] PES packet size mismatch
[mpegts @ 0x298c840] Packet corrupt (stream = 2, dts = NOPTS).
Input #0, mpegts, from 'orig-dvbsub.ts':
  Duration: 00:00:46.24, start: 3496.892811, bitrate: 3882 kb/s
  Program 132 
Stream #0:0[0xa6]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 
50 tbc
Side data:
  cpb: bitrate max/min/avg: 800/0/0 buffer size: 1835008 vbv_delay: N/A
Stream #0:1[0x80](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 
stereo, fltp, 192 kb/s
Stream #0:2[0x4b](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) 
(hearing impaired)
Stream #0:3[0x44]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (dvb_subtitle (dvbsub) -> dvd_subtitle (dvdsub))
Press [q] to stop, [?] for help
[libx264 @ 0x2ab9040] using SAR=64/45
[libx264 @ 0x2ab9040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX 
FMA3 BMI2 AVX2
[libx264 @ 0x2ab9040] profile High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x2ab9040] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 
2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 
open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 
rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 
ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'dvbsub2dvdsub.mkv':
  Metadata:
encoder : Lavf58.43.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576 
[SAR 64:45 DAR 16:9], q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
  encoder : Lavc58.87.101 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1(deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, fltp, 
192 kb/s
Stream #0:2(deu): Subtitle: dvd_subtitle (dvdsub) ([255][255][255][255] / 
0x) (hearing impaired)
Metadata:
  encoder : Lavc58.87.101 dvdsub
[mpegts @ 0x298c840] Packet corrupt (stream = 0, dts = 315404353).e= 
318.3kbits/s speed=13.2x
[mpeg2video @ 0x2a96380] ac-tex damaged at 33 14
[mpeg2video @ 0x2a96380] Warning MVs not available
[mpeg2video @ 0x2a96380] concealing 765 DC, 765 AC, 765 MV errors in B frame
orig-dvbsub.ts: corrupt decoded frame in stream 0
[mpegts @ 0x298c840] PES packet size mismatch
[mpegts @ 0x298c840] Packet corrupt (stream = 1, dts = 315373878).
[mpegts @ 0x298c840] PES packet size mismatch
[mpegts @ 0x298c840] Packet corrupt (stream = 1, dts = 315460278).
[mpegts @ 0x298c840] Packet corrupt (stream = 0, dts = 315490753).
[mpeg2video @ 0x2a96380] ac-tex damaged at 6 22
[mpeg2video @ 0x2a96380] Warning MVs not available
[mpeg2video @ 0x2a96380] concealing 360 DC, 360 AC, 360 MV errors in B frame
orig-dvbsub.ts: corrupt decoded frame in stream 0
[mpegts @ 0x298c840] PES packet size mismatch
[mpegts @ 0x298c840] Packet corrupt (stream = 1, dts = 315641718).
[mpegts @ 0x298c840] Packet corrupt (stream = 0, dts = 315670753).
[mpeg2video @ 0x2a96380] skipped MB in I-frame at 5 16
[mpeg2video @ 0x2a96380] Warning MVs not available
[mpeg2video @ 0x2a96380] concealing 180 DC, 180 AC, 180 MV errors in I frame
orig-dvbsub.ts: corrupt decoded frame in stream 0
[mpegts @ 0x298c840] Packet corrupt (stream = 0, dts = 315843553).
[mpegts @ 0x298c840] PES packet size mismatch
[mpegts

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Moritz Barsnick
On Mon, May 25, 2020 at 10:10:06 +0200, Peter Münster wrote:
> I've tried it with the -palette option, but the rendering of the
> subtitles did not change in any way...

There is a reason for that:

> peter@ws:/tmp/ffmpeg-tests> ffmpeg -i orig-dvbsub.ts -map 0:0 -map 0:1 -map 
> 0:2 -c:v libx264 -c:a copy -c:s dvdsub dvbsub2dvdsub.mkv
> ffmpeg version 3.4.5 Copyright (c) 2000-2018 the FFmpeg developers

This version is quite ancient, in ffmpeg terms.

Please try to build from latest git master, or get such a binary build.
Reason is that such a version will include this change:

https://github.com/FFmpeg/FFmpeg/commit/d4440c7e91b0ef5f6776d98c51dbb6cd66ea0194

which obviously enables the encoder's "palette" option.

You can get binary builds, and be it just for initial testing, from
here for your SuSE platform:
https://johnvansickle.com/ffmpeg/

Please choose a build from the left column "git master".

> [mpeg2video @ 0x5574823a0d80] skipped MB in I-frame at 1 31
> [mpeg2video @ 0x5574823a0d80] Warning MVs not available
> [mpeg2video @ 0x5574823a0d80] concealing 945 DC, 945 AC, 945 MV errors in I 
> frame
> [mpegts @ 0x557482334fc0] PES packet size mismatch
> Last message repeated 2 times
> [NULL @ 0x55748233b820] Junk in packet
> [dvbsub @ 0x55748235bae0] Invalid object location! 210-720 44-44 11
> [dvbsub @ 0x55748235bae0] Unknown/unsupported pixel block 0x88

You input seems to have some corruption (which should have nothing to
do with your issue).

Have you tried keeping the subs as dvbsubs (instead of dvd)? Does your
TV render them then?

Cheers,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-25 Thread Peter Münster
On Fri, May 22 2020, Carl Eugen Hoyos wrote:

> your command line should produce an output file with dvdsub palette.

Hello Carl Eugen,

I've tried it with the -palette option, but the rendering of the
subtitles did not change in any way...


> Complete, uncut console output missing.

Sorry. Here is it:

--8<---cut here---start->8---
peter@ws:/tmp/ffmpeg-tests> ffmpeg -i orig-dvbsub.ts -map 0:0 -map 0:1 -map 0:2 
-c:v libx264 -c:a copy -c:s dvdsub dvbsub2dvdsub.mkv
ffmpeg version 3.4.5 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7 (SUSE Linux)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 
--incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong 
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' 
--optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages 
--enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl 
--disable-openssl --enable-avresample --enable-libcdio --enable-gnutls 
--enable-ladspa --enable-libass --enable-libbluray --enable-libcelt 
--enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm 
--enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse 
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg 
--enable-libzvbi --enable-vaapi --enable-vdpau --enable-libx264 
--enable-libx265 --enable-libxvid
  libavutil  55. 78.100 / 55. 78.100
  libavcodec 57.107.100 / 57.107.100
  libavformat57. 83.100 / 57. 83.100
  libavdevice57. 10.100 / 57. 10.100
  libavfilter 6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale  4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc54.  7.100 / 54.  7.100
[mpegts @ 0x557482334fc0] PES packet size mismatch
Input #0, mpegts, from 'orig-dvbsub.ts':
  Duration: 00:00:46.86, start: 3496.892811, bitrate: 3831 kb/s
  Program 132 
Stream #0:0[0xa6]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 
50 tbc
Stream #0:1[0x80](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 
stereo, s16p, 192 kb/s
Stream #0:2[0x4b](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) 
(hearing impaired)
Stream #0:3[0x44]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (dvb_subtitle (dvbsub) -> dvd_subtitle (dvdsub))
Press [q] to stop, [?] for help
[libx264 @ 0x5574823a2a20] using SAR=64/45
[libx264 @ 0x5574823a2a20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 
AVX FMA3 BMI2 AVX2
[libx264 @ 0x5574823a2a20] profile High, level 3.0
[libx264 @ 0x5574823a2a20] 264 - core 155 - H.264/MPEG-4 AVC codec - Copyleft 
2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 
deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 
open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 
rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 
ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'dvbsub2dvdsub.mkv':
  Metadata:
encoder : Lavf57.83.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 720x576 
[SAR 64:45 DAR 16:9], q=-1--1, 25 fps, 1k tbn, 25 tbc
Metadata:
  encoder : Lavc57.107.100 libx264
Side data:
  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream #0:1(deu): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, s16p, 
192 kb/s
Stream #0:2(deu): Subtitle: dvd_subtitle (dvdsub) (hearing impaired)
Metadata:
  encoder : Lavc57.107.100 dvdsub
[mpeg2video @ 0x5574823a0d80] ac-tex damaged at 33 14:06.37 bitrate= 
336.7kbits/s speed=12.7x
[mpeg2video @ 0x5574823a0d80] Warning MVs not available
[mpeg2video @ 0x5574823a0d80] concealing 765 DC, 765 AC, 765 MV errors in B 
frame
[mpegts @ 0x557482334fc0] PES packet size mismatch
Last message repeated 1 times
[mpeg2video @ 0x5574823a0d80] ac-tex damaged at 6 22
[mpeg2video @ 0x5574823a0d80] Warning MVs not available
[mpeg2video @ 0x5574823a0d80] concealing 360 DC, 360 AC, 360 MV errors in B 
frame
[mpegts @ 0x557482334fc0] PES packet size mismatch
[mpeg2video @ 0x5574823a0d80] skipped MB in I-frame at 5 16
[mpeg2video @ 0x5

Re: [FFmpeg-user] how to control quality of subtitles

2020-05-22 Thread Carl Eugen Hoyos
Am Fr., 22. Mai 2020 um 16:01 Uhr schrieb Peter Münster :

> I would like to learn, how to control the quality of the displayed
> subtitles.

It is indeed possible to force a palette for dvd subtitles but only
on decoding because many sources miss the palette, your
command line should produce an output file with dvdsub
palette.

> This is how I create the video:
>
> ffmpeg -i input.ts -map 0:0 -map 0:1 -map 0:2 -c:v libx264 -c:a copy
>-c:s dvdsub output.mkv

Complete, uncut console output missing.

> This looks nice with VLC: http://pmrb.free.fr/tmp/ffmpeg-test/vlc.jpg
> But very ugly with a Samsung TV:

Looks like an issue of the Samsung TV but feel free to compare
with other players.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] how to control quality of subtitles

2020-05-22 Thread Peter Münster
Hi,

I would like to learn, how to control the quality of the displayed
subtitles.

This is how I create the video:

ffmpeg -i input.ts -map 0:0 -map 0:1 -map 0:2 -c:v libx264 -c:a copy
   -c:s dvdsub output.mkv

This looks nice with VLC: http://pmrb.free.fr/tmp/ffmpeg-test/vlc.jpg
But very ugly with a Samsung TV:
http://pmrb.free.fr/tmp/ffmpeg-test/samsung.jpg

How could I get nice looking subtitles on this kind of Samsung TV
please?

Thanks in advance for any hints,
-- 
   Peter

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".