[FFmpeg-user] -profile is ambiguous

Mark Filipak markfilipak.imdb at gmail.com
Sat Aug 9 00:43:59 EEST 2025


On 08/08/2025 16.30, Diederick C. Niehorster wrote:
> Its not. Provide the command line that causes this and the full ffmpeg
> output, including the header showing the header and the eventual error

Okay. Here's the command and below is the log. The line "Please use
-profile:a or -profile:v, -profile is ambiguous" is about 60 lines up
from the bottom.


set _JOB_=c:\work\SNAKE EYES [1998]
title %_JOB_% - Step 4 : Make %_JOB_%rehearsal.mp4, a low resolution
rehearsal.
    : Source  Target
    : 0:a:0   a:0     2.0 DD dialog
    : 0:a:1   a:1     5.1 DD dialog
    : 0:s:1   s:0     subtitles
set _PREP_=-analyzeduration 500000000 -probesize 500000000
-start_at_zero -copyts -dn
set _IS_CINEMA_=-r 24000/1001
set _IS_NTSC_=-r 30000/1001
set _IS_PAL_=-r 25
set _NO_CC_=filter_units=remove_types=6
set _BT601_TO_BT709_=colormatrix=src=bt601:dst=bt709
set _TO_HD_=scale=w=1920:h=1080
set _TO_PROG_=fieldmatch,yadif=mode=send_frame:parity=tff:deint=all,decimate
set _TO_STEREO_=pan=stereo^|FL^<FL+FC+LFE+SL^|FR^<FR+FC+LFE+SR
    :
set _PUT_=%_JOB_%rehearsal.mp4
set _GETv_=%_JOB_%v.VOB
set _GETa_=%_JOB_%asc.mkv
set _GETs_=%_JOB_%s.sub
set _GETs_=%_JOB_%s.srt
set _GETc_=%_JOB_%c.txt
set _CODEv_=-map "[v]" -c:v mpeg2video -profile simple -level 3
set _COPYa0_=-map 1:a:0 -c:a:0 copy -disposition:a:0 0
set _COPYa1_=-map 1:a:1 -c:a:1 copy -disposition:a:1 0
set _CODEs_=-map 1:s:0 -c:s dvd_subtitle
set _CODEs_=-map 2:s:0 -c:s mov_text
    :
start cmd /k ffmpeg %_PREP_% %_IS_CINEMA_%^
 -i "%_GETv_%" -i "%_GETa_%" -i "%_GETs_%" -i "%_GETc_%"^
 -bsf:v "%_NO_CC_%"^
 -filter_complex "[0:v:0]%_TO_PROG_%[v]"^
 %_CODEv_% %_COPYa0_% %_COPYa1_% %_CODEs_% "%_PUT_%"


ffmpeg version 2025-07-31-git-119d127d05-full_build-www.gyan.dev
Copyright (c) 2000-2025 the FFmpeg developers
  built with gcc 15.1.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-lc
ms2 --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma
--enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
--enable-libssh --enable-libzmq --enabl
e-avisynth --enable-libbluray --enable-libcaca --enable-libdvdnav
--enable-libdvdread --enable-sdl2 --enable-libaribb24
--enable-libaribcaption --enable-libdav1d --enab
le-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d
--enable-libxevd --enable-libzvbi --enable-liboapv --enable-libqrencode
--enable-librav1e --enable
-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid
--enable-libaom --enable-libjxl --en
able-libvpx --enable-mediafoundation --enable-libass --enable-frei0r
--enable-libfreetype --enable-libfribidi --enable-libharfbuzz
--enable-liblensfun --enable-libvidst
ab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va
--enable-ffnvcodec --enable-libvpl
--enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc
--enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio
--enable-openal --enable-libgme --
enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb
--enable-libmp3lame --enable-libshine --enable-libtheora
--enable-libtwolame --enable-libvo-amrwbenc --
enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3
--enable-libopencore-amrnb --enable-libopus --enable-libspeex
--enable-libvorbis --enable-ladspa --ena
ble-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband
--enable-libsoxr --enable-chromaprint
  libavutil      60.  7.100 / 60.  7.100
  libavcodec     62.  8.100 / 62.  8.100
  libavformat    62.  1.103 / 62.  1.103
  libavdevice    62.  0.100 / 62.  0.100
  libavfilter    11.  3.100 / 11.  3.100
  libswscale      9.  0.100 /  9.  0.100
  libswresample   6.  0.100 /  6.  0.100
Input #0, mpeg, from 'c:\work\SNAKE EYES [1998]v.VOB':
  Duration: 00:04:27.28, start: 0.194500, bitrate: 133972 kb/s
  Stream #0:0[0x1bf]: Data: dvd_nav_packet, start 0.194500
  Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m,
progressive), 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn,
start 0.194500
    Side data:
      cpb: bitrate max/min/avg: 9800000/0/0 buffer size: 1835008
vbv_delay: N/A
  Stream #0:2[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s, start
0.211356
  Stream #0:3[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s,
start 0.211356
  Stream #0:4[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s, start
0.211356
  Stream #0:5[0x20]: Subtitle: dvd_subtitle (dvdsub), start 52.747000
Input #1, matroska,webm, from 'c:\work\SNAKE EYES [1998]asc.mkv':
  Metadata:
    creation_time   : 2025-08-08T19:20:10.000000Z
    ENCODER         : Lavf58.29.100
  Duration: 01:38:15.56, start: 0.000000, bitrate: 846 kb/s
  Chapters:
    Chapter #1:0: start 0.000000, end 269.603000
      Metadata:
        title           : Chapter 1
    Chapter #1:1: start 269.603000, end 614.781000
      Metadata:
        title           : Chapter 2
    Chapter #1:2: start 614.781000, end 1089.088000
      Metadata:
        title           : Chapter 3
    Chapter #1:3: start 1089.088000, end 1626.667000
      Metadata:
        title           : Chapter 4
    Chapter #1:4: start 1626.667000, end 2199.531000
      Metadata:
        title           : Chapter 5
    Chapter #1:5: start 2199.531000, end 2742.573000
      Metadata:
        title           : Chapter 6
    Chapter #1:6: start 2742.573000, end 3423.420000
      Metadata:
        title           : Chapter 7
    Chapter #1:7: start 3423.420000, end 4039.994000
      Metadata:
        title           : Chapter 8
    Chapter #1:8: start 4039.994000, end 4693.981000
      Metadata:
        title           : Chapter 9
    Chapter #1:9: start 4693.981000, end 5059.680000
      Metadata:
        title           : Chapter 10
    Chapter #1:10: start 5059.680000, end 5409.195000
      Metadata:
        title           : Chapter 11
    Chapter #1:11: start 5409.195000, end 5895.557000
      Metadata:
        title           : Chapter 12
  Stream #1:0: Video: mpeg2video (Main), yuv420p(tv, smpte170m,
progressive), 720x480 [SAR 8:9 DAR 4:3], 23.98 fps, 23.98 tbr, 1k tbn
(default)
    Metadata:
      DURATION        : 01:38:15.557000000
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 49152 vbv_delay: N/A
  Stream #1:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s, start
0.017000 (default)
    Metadata:
      title           : Stereo
      DURATION        : 01:38:15.537000000
  Stream #1:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s,
start 0.017000
    Metadata:
      title           : Surround
      DURATION        : 01:38:15.537000000
  Stream #1:3(eng): Subtitle: ass (ssa)
    Metadata:
      DURATION        : 01:38:14.472000000
Input #2, srt, from 'c:\work\SNAKE EYES [1998]s.srt':
  Duration: N/A, bitrate: N/A
  Stream #2:0: Subtitle: subrip (srt)
Input #3, ffmetadata, from 'c:\work\SNAKE EYES [1998]c.txt':
  Metadata:
    encoder         : Lavf62.1.103
  Duration: 01:38:15.56, start: 0.000000, bitrate: 0 kb/s
  Chapters:
    Chapter #3:0: start 0.000000, end 269.603000
      Metadata:
        title           : Chapter 1
    Chapter #3:1: start 269.603000, end 614.781000
      Metadata:
        title           : Chapter 2
    Chapter #3:2: start 614.781000, end 1089.088000
      Metadata:
        title           : Chapter 3
    Chapter #3:3: start 1089.088000, end 1626.667000
      Metadata:
        title           : Chapter 4
    Chapter #3:4: start 1626.667000, end 2199.531000
      Metadata:
        title           : Chapter 5
    Chapter #3:5: start 2199.531000, end 2742.573000
      Metadata:
        title           : Chapter 6
    Chapter #3:6: start 2742.573000, end 3423.420000
      Metadata:
        title           : Chapter 7
    Chapter #3:7: start 3423.420000, end 4039.994000
      Metadata:
        title           : Chapter 8
    Chapter #3:8: start 4039.994000, end 4693.981000
      Metadata:
        title           : Chapter 9
    Chapter #3:9: start 4693.981000, end 5059.680000
      Metadata:
        title           : Chapter 10
    Chapter #3:10: start 5059.680000, end 5409.195000
      Metadata:
        title           : Chapter 11
    Chapter #3:11: start 5409.195000, end 5895.557000
      Metadata:
        title           : Chapter 12
Please use -profile:a or -profile:v, -profile is ambiguous
Output #0, mp4, to 'c:\work\SNAKE EYES [1998]rehearsal.mp4':
  Metadata:
    encoder         : Lavf62.1.103
  Chapters:
    Chapter #0:0: start 0.000000, end 269.603000
      Metadata:
        title           : Chapter 1
    Chapter #0:1: start 269.603000, end 614.781000
      Metadata:
        title           : Chapter 2
    Chapter #0:2: start 614.781000, end 1089.088000
      Metadata:
        title           : Chapter 3
    Chapter #0:3: start 1089.088000, end 1626.667000
      Metadata:
        title           : Chapter 4
    Chapter #0:4: start 1626.667000, end 2199.531000
      Metadata:
        title           : Chapter 5
    Chapter #0:5: start 2199.531000, end 2742.573000
      Metadata:
        title           : Chapter 6
    Chapter #0:6: start 2742.573000, end 3423.420000
      Metadata:
        title           : Chapter 7
    Chapter #0:7: start 3423.420000, end 4039.994000
      Metadata:
        title           : Chapter 8
    Chapter #0:8: start 4039.994000, end 4693.981000
      Metadata:
        title           : Chapter 9
    Chapter #0:9: start 4693.981000, end 5059.680000
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 5059.680000, end 5409.195000
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 5409.195000, end 5895.557000
      Metadata:
        title           : Chapter 12
  Stream #0:0: Video: mpeg2video (Simple) (mp4v / 0x7634706D),
yuv420p(tv, smpte170m, progressive), 720x480 [SAR 8:9 DAR 4:3], q=2-31,
200 kb/s, 19.98 fps, 20k tbn
    Metadata:
      encoder         : Lavc62.8.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
  Stream #0:1(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo,
fltp, 192 kb/s
    Metadata:
      title           : Stereo
      DURATION        : 01:38:15.537000000
  Stream #0:2(eng): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side),
fltp, 448 kb/s
    Metadata:
      title           : Surround
      DURATION        : 01:38:15.537000000
  Stream #0:3: Subtitle: mov_text (tx3g / 0x67337874)
    Metadata:
      encoder         : Lavc62.8.100 mov_text



More information about the ffmpeg-user mailing list