Opened 11 years ago

Closed 11 years ago

#2928 closed defect (duplicate)

FFmpeg embeds "stts" atom in .mov without being asked.

Reported by: Felix Handte Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Despite mapping only one stream from each of the two inputs, the output ends up with an extra, third pseudo-stream / atom (which causes Avid to refuse to link the file via AMA).

How to reproduce:

felix@odin:~/thorsamba/footage/nightmares/7-snd$ raw_conv
 
['ffmpeg', '-y', '-i', '/home/felix/thorsamba/footage/nightmares/6-grd/M17-0146_C0000_000000.mov', '-ss', '00:00:03.206', '-i', '/home/felix/thorsamba/footage/nightmares/sound/M17-0146.WAV', '-map', '0:0', '-map', '1:0', '-vcodec', 'copy', '-acodec', 'copy', '/home/felix/thorsamba/footage/nightmares/7-snd/M17-0146.mov']
 
ffmpeg version N-52919-ge4723a8 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  8 2013 19:39:14 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/felix/thorsamba/footage/nightmares/6-grd/M17-0146_C0000_000000.mov':
  Metadata:
    creation_time   : 2013-09-02 09:08:21
  Duration: 00:01:17.74, start: 0.000000, bitrate: 177522 kb/s
    Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p10le, 1920x1080, 175984 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc
    Metadata:
      creation_time   : 2013-09-02 09:08:21
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2013-09-02 09:08:21
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2013-09-02 09:12:57
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
[wav @ 0x32ee480] max_analyze_duration 5000000 reached at 5001333 microseconds
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, wav, from '/home/felix/thorsamba/footage/nightmares/sound/M17-0146.WAV':
  Metadata:
    comment         : sSPEED=030.000-ND
                    : sTAKE=116
                    : sUBITS=$08171316
                    : sSWVER=2.66
                    : sPROJECT=
                    : sSCENE=
                    : sFILENAME=T116.WAV
                    : sTAPE=130817
                    : sTRK1=Track A
                    : sTRK2=Track B
                    : sNOTE=
                    :
    encoded_by      : Sound Dev: 702T S#GR0910015001
    originator_reference: USSDVGR0910015001014227033494801
    date            : 2013-08-17
    creation_time   : 01:42:13
    time_reference  : 1871856001
    coding_history  : A=PCM,F=48000,W=24,M=stereo,R=48000,T=2 Ch
                    :
  Duration: 00:01:26.00, bitrate: 2304 kb/s
    Stream #1:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s
Output #0, mov, to '/home/felix/thorsamba/footage/nightmares/7-snd/M17-0146.mov':
  Metadata:
    encoder         : Lavf55.4.101
    Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 175984 kb/s, 23.98 fps, 24k tbn, 24k tbc
    Metadata:
      creation_time   : 2013-09-02 09:08:21
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:00:00
    Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, 2304 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
fps 24000 is too large-1.0 size= 1691999kB time=00:01:22.59 bitrate=167821.1kbits/s    
frame= 1864 fps= 88 q=-1.0 Lsize= 1693449kB time=00:01:22.79 bitrate=167557.3kbits/s    
video:1670144kB audio:23286kB subtitle:0 global headers:0kB muxing overhead 0.001144%
 
 
felix@odin:~/thorsamba/footage/nightmares/7-snd$ ffmpeg -i M17-0146.mov
 
 
ffmpeg version N-52919-ge4723a8 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  8 2013 19:39:14 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M17-0146.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf55.4.101
  Duration: 00:01:22.79, start: 0.000000, bitrate: 167557 kb/s
    Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p10le, 1920x1080, 175984 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc
    Metadata:
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      handler_name    : DataHandler
    Stream #0:2(eng): Data: none (stts / 0x73747473)
    Metadata:
      handler_name    : DataHandler
At least one output file must be specified
felix@odin:~/thorsamba/footage/nightmares/7-snd$

Change History (6)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: mov added

Does it work with older versions?

comment:2 by Carl Eugen Hoyos, 11 years ago

Does it work if you add -r 24000/1001 to your command line?

comment:3 by TimNich, 11 years ago

stts is a standard atom which should be in all trak atoms and have at least one table entry. Given that no timecode is specified I wonder if its a broken timecode track.

in reply to:  3 comment:4 by Carl Eugen Hoyos, 11 years ago

Replying to nichot20:

stts is a standard atom which should be in all trak atoms and have at least one table entry. Given that no timecode is specified I wonder if its a broken timecode track.

The ticket is likely a duplicate of ticket #2892, this can be verified by testing with -r 24000/1001.

comment:5 by Carl Eugen Hoyos, 11 years ago

I suspect this problem was fixed today, please test again!

comment:6 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Resolution: duplicate
Status: newclosed
Version: unspecifiedgit-master

Please reopen this ticket if the problem is still reproducible!

Note: See TracTickets for help on using tickets.