-shortest trouble

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

-shortest trouble

Bouke-3
I’m having a strange issue with -shortest. Audio track ends up (a bit) shorter than the video.
(That ‘should’ not be the case I would think…)
The command looks like it does not need -shortest, but it’s there for other situations.
Video output is trimmed to the correct length. Audio is fine when I either omit -shortest, or when I transcode instead of trim / rewrap.

Is it me or is it a bug?

thx,
Bouke

bouke@Boukes-iMac ~ % /Applications/ffmpeg -ss 236.1999999999971 -i "/Volumes/Data/Andrea_LTC/Trim trouble/IshumT_21.mov" -map 0:2 -filter_complex "[0:0]channelmap=0-0:channel_layout=0x1[a0];[0:1]channelmap=0-0:channel_layout=0x1[a1];[a0][a1]amerge=inputs=2[out]" -map "[out]" -ac 2 -c:a pcm_s24le -t 7.80000000000291 -timecode 17:31:02:55 -metadata:s:v:0 reel_name=1673 -c:v copy -shortest "/Volumes/Data/Andrea_LTC/Trim trouble/Test Out/1673_shortest.mov”

ffmpeg version 4.3.1-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Guessed Channel Layout for Input Stream #0.0 : mono
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Data/Andrea_LTC/Trim trouble/IshumT_21.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2020-10-06T16:27:17.000000Z
  Duration: 00:07:24.00, start: 0.000000, bitrate: 107327 kb/s
    Stream #0:0(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2020-10-06T16:27:17.000000Z
      handler_name    : AJA Sound Media Handler
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2020-10-06T16:27:17.000000Z
      handler_name    : AJA Sound Media Handler
    Stream #0:2(eng): Video: prores (LT) (apcs / 0x73637061), yuv422p10le(tv, bt709/reserved/reserved, progressive), 1280x720, 104690 kb/s, SAR 1:1 DAR 16:9, 60 fps, 60 tbr, 60 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2020-10-06T16:27:17.000000Z
      handler_name    : AJA Video Media Handler
      encoder         : Apple ProRes 422 (LT)
      timecode        : 17:27:08:00
    Stream #0:3(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      rotate          : 0
      creation_time   : 2020-10-06T16:27:17.000000Z
      handler_name    : AJA Time Code Handler
      reel_name       : 001
                      :
      timecode        : 17:27:08:00
File '/Volumes/Data/Andrea_LTC/Trim trouble/Test Out/1673_shortest.mov' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 (pcm_s24le) -> channelmap
  Stream #0:1 (pcm_s24le) -> channelmap
  Stream #0:2 -> #0:0 (copy)
  amerge -> Stream #0:1 (pcm_s24le)
Press [q] to stop, [?] for help
[Parsed_amerge_2 @ 0x7fc1e5e06640] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, mov, to '/Volumes/Data/Andrea_LTC/Trim trouble/Test Out/1673_shortest.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    timecode        : 17:31:02:55
    encoder         : Lavf58.45.100
    Stream #0:0(eng): Video: prores (LT) (apcs / 0x73637061), yuv422p10le(tv, bt709/reserved/reserved, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 104690 kb/s, 0.02 fps, 60 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2020-10-06T16:27:17.000000Z
      handler_name    : AJA Video Media Handler
      encoder         : Apple ProRes 422 (LT)
      timecode        : 17:27:08:00
      reel_name       : 1673
    Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s (default)
    Metadata:
      encoder         : Lavc58.91.100 pcm_s24le
frame=  468 fps=0.0 q=-1.0 Lsize=  101561kB time=00:00:07.78 bitrate=106892.3kbits/s speed=24.2x    
video:99824kB audio:1729kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.007847%

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".