> On Aug 16, 2023, at 11:03, Paul B Mahol <one...@gmail.com> wrote:
> 
> On Wed, Aug 16, 2023 at 1:35 AM Media Mouth <commun...@gmail.com 
> <mailto:commun...@gmail.com>> wrote:
> 
>> Thanks Carl!
>> 
>> The switch from : to . (colon to period) got rid of the first error but it
>> there's still the second:
>> 
>> "Both text and text file provided. Please provide only one"
>> 
>> I tested on a newer system running ffmpeg version 6.0 and received the
>> same error
>> 
>> Thanks again.
>> 
> 
> You need to escape  : with \ IIRC



Thanks Paul,

Yes indeed you do need to escape the colons.  They seem to be the delimiter for 
'drawtext'
Not sure why it didn't show in my prior post, but here is another test, 
confirmed with escapes before :, and using a more recent version of FFmpeg (v6)
but still getting the same error: "Both text and text file provided. Please 
provide only one"

Here's the command:

ffmpeg -y -i ~/Downloads/TcTest.mxf -vf 
'drawtext=fontsize=15:fontfile=/Library/Fonts/DroidSansMono-webfont.ttf:timecode=01\:45\:20.13:rate=23.976:fontsize=24:fontcolor=white:x=860:y=960'
 ~/Downloads/TcTest-Burns.mxf 



ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0 --enable-shared 
--enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= 
--enable-ffplay --enable-gnutls --enable-gpl --enable-libaom 
--enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame 
--enable-libopus --enable-librav1e --enable-librist --enable-librubberband 
--enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract 
--enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis 
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 
--enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig 
--enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex 
--enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack 
--disable-indev=jack --enable-videotoolbox --enable-neon
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[dnxhd @ 0x1226051c0] frame size changed: 1920x1088 -> 1920x1080
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mxf, from '~/Downloads/TcTest.mxf':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    company_name    : FFmpeg
    product_name    : OP1a Muxer
    product_version_num: 58.29.100.0.0
    product_version : 58.29.100
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    toolkit_version_num: 58.29.100.0.0
    material_package_umid: 
0x060A2B340101010501010D0013B02329529471342CB0232900529471342CB000
    timecode        : 01:45:20:13
  Duration: 00:00:28.40, start: 0.000000, bitrate: 37516 kb/s
  Stream #0:0: Video: dnxhd (DNXHD), yuv422p(bt709/unknown/unknown, 
progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23.98 tbn
    Metadata:
      file_package_umid: 
0x060A2B340101010501010D0013B02329529471342CB0232900529471342CB001
      file_package_name: Source Package
  Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 
0x060A2B340101010501010D0013B02329529471342CB0232900529471342CB001
      file_package_name: Source Package
Stream mapping:
  Stream #0:0 -> #0:0 (dnxhd (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[Parsed_drawtext_0 @ 0x6000004a84d0] Both text and text file provided. Please 
provide only one
[AVFilterGraph @ 0x6000017b8060] Error initializing filters
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!

_______________________________________________
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