Hello,

I ran into this problem with the current Debian testing build, so I
thought I would try the static build. Both are compiled with
--enable-libfreetype but both barf on a drawtext filter. I am attaching
the log file from the static build.

According to:

https://ffmpeg.org/ffmpeg-all.html#drawtext-1

the libfreetype library should be sufficient.

See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056597
https://trac.ffmpeg.org/ticket/10705#ticket

Leo

ffmpeg started on 2023-11-28 at 14:38:33
Report written to "ffmpeg-20231128-143833.log"
Log level: 48
Command line:
./ffmpeg -y -report -f lavfi -i "testsrc=duration=5.1:size=hd720:rate=10" -f mpegts out.ts
ffmpeg version 6.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'lavfi'.
Reading option '-i' ... matched as output url with argument 'testsrc=duration=5.1:size=hd720:rate=10'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'.
Reading option 'out.ts' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url testsrc=duration=5.1:size=hd720:rate=10.
Applying option f (force format) with argument lavfi.
Successfully parsed a group of options.
Opening an input file: testsrc=duration=5.1:size=hd720:rate=10.
[AVFilterGraph @ 0xdad98c0] Setting 'duration' to value '5.1'
[AVFilterGraph @ 0xdad98c0] Setting 'size' to value 'hd720'
[AVFilterGraph @ 0xdad98c0] Setting 'rate' to value '10'
detected 8 logical cores
[Parsed_testsrc_0 @ 0xdada8c0] size:1280x720 rate:10/1 duration:5.100000 sar:1/1
[AVFilterGraph @ 0xdad98c0] query_formats: 2 queried, 1 merged, 0 already done, 0 delayed
[lavfi @ 0xdad92c0] All info found
Input #0, lavfi, from 'testsrc=duration=5.1:size=hd720:rate=10':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0, 1, 1/10: Video: wrapped_avframe, rgb24, 1280x720 [SAR 1:1 DAR 16:9], 10 fps, 10 tbr, 10 tbn
Successfully opened the file.
Parsing a group of options: output url out.ts.
Applying option f (force format) with argument mpegts.
Successfully parsed a group of options.
Opening an output file: out.ts.
[out#0/mpegts @ 0xdadb700] No explicit maps, mapping streams automatically...
[vost#0:0/mpeg2video @ 0xdade600] Created video stream from input stream 0:0
[file @ 0xdae2140] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0xdae3400] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 0xdae3400] Setting 'pix_fmt' to value '2'
[graph 0 input from stream 0:0 @ 0xdae3400] Setting 'time_base' to value '1/10'
[graph 0 input from stream 0:0 @ 0xdae3400] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0xdae3400] Setting 'frame_rate' to value '10/1'
[graph 0 input from stream 0:0 @ 0xdae3400] w:1280 h:720 pixfmt:rgb24 tb:1/10 fr:10/1 sar:1/1
[format @ 0xdae39c0] Setting 'pix_fmts' to value 'yuv420p|yuv422p'
[auto_scale_0 @ 0xdae5540] w:iw h:ih flags:'' interl:0
[format @ 0xdae39c0] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0xdae2580] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto_scale_0 @ 0xdae5540] picking yuv420p out of 2 ref:rgb24 alpha:0
[auto_scale_0 @ 0xdae5540] w:1280 h:720 fmt:rgb24 sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x00000004
[mpeg2video @ 0xdade8c0] intra_quant_bias = 96 inter_quant_bias = 0
[mpegts @ 0xdadd9c0] service 1 using PCR in pid=256, pcr_period=100ms
[mpegts @ 0xdadd9c0] muxrate VBR, sdt every 500 ms, pat/pmt every 100 ms
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf60.16.100
  Stream #0:0, 0, 1/90000: Video: mpeg2video (Main), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 10 fps, 90k tbn
    Metadata:
      encoder         : Lavc60.31.102 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame=    0 fps=0.0 q=0.0 size=       0kB time=N/A bitrate=N/A speed=N/A    
[in#0/lavfi @ 0xdad9180] EOF while reading input
[in#0/lavfi @ 0xdad9180] Terminating demuxer thread
[vist#0:0/wrapped_avframe @ 0xdadd200] Decoder thread received EOF packet
[vist#0:0/wrapped_avframe @ 0xdadd200] Decoder returned EOF, finishing
[vist#0:0/wrapped_avframe @ 0xdadd200] Terminating decoder thread
[out_0_0 @ 0xdae3300] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
[out#0/mpegts @ 0xdadb700] All streams finished
[out#0/mpegts @ 0xdadb700] Terminating muxer thread
[AVIOContext @ 0xdae2200] Statistics: 326556 bytes written, 0 seeks, 2 writeouts
[out#0/mpegts @ 0xdadb700] Output file #0 (out.ts):
[out#0/mpegts @ 0xdadb700]   Output stream #0:0 (video): 51 frames encoded; 51 packets muxed (293286 bytes); 
[out#0/mpegts @ 0xdadb700]   Total: 51 packets (293286 bytes) muxed
[out#0/mpegts @ 0xdadb700] video:286kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.343876%
frame=   51 fps=0.0 q=5.9 Lsize=     319kB time=00:00:04.90 bitrate= 533.2kbits/s speed=32.3x    
[in#0/lavfi @ 0xdad9180] Input file #0 (testsrc=duration=5.1:size=hd720:rate=10):
[in#0/lavfi @ 0xdad9180]   Input stream #0:0 (video): 51 packets read (17544 bytes); 51 frames decoded; 0 decode errors; 
[in#0/lavfi @ 0xdad9180]   Total: 51 packets (17544 bytes) demuxed
_______________________________________________
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".

Reply via email to