id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1840,"Error track 2: could not find tag, codec not currently supported in container",Atarikid,,"When I try to convert a mkv file and want to copy the subtitles too it gives me the following error:
track 2: could not find tag, codec not currently supported in container

FFmpeg commandline:
/Users/atarikid/Desktop/ffmpeg -i /Volumes/Data/Movies/Homeland.mkv -c:a aac -c:v libx264 -strict -2 -c:s copy /Users/atarikid/Desktop/test.mp4



Output:
ffmpeg version N-45858-gc68a8a1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 22 2012 20:28:25 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --prefix=/Volumes/tempdisk/sw --as=yasm --enable-gpl --enable-pthreads --disable-ffplay --disable-ffserver --disable-shared --enable-static --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-avfilter --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-postproc --enable-runtime-cpudetect
  libavutil      51. 77.100 / 51. 77.100
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.104 /  3. 20.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, matroska,webm, from '/Volumes/Data/Movies/Homeland.mkv':
  Metadata:
    creation_time   : 2012-10-22 09:28:49
  Duration: 00:02:01.51, start: 0.000000, bitrate: 2954 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc
    Metadata:
      title           : Homeland.S02E01.The.Smile.720p.WEB-DL.DD5.1.H.264-DON
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:2(dut): Subtitle: subrip (default) (forced)
    Metadata:
      title           : Nederlands QoQ-Team
File '/Users/atarikid/Desktop/test.mp4' already exists. Overwrite ? [y/N] y
using SAR=1/1
[libx264 @ 0x7ff0938e6000] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7ff0938e6000] profile High, level 3.1
[libx264 @ 0x7ff0938e6000] 264 - core 128 r2216 198a7ea - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x7ff093874200] track 2: could not find tag, codec not currently supported in container
Output #0, mp4, to '/Users/xtophe/Desktop/test.mp4':
  Metadata:
    encoder         : Lavf54.33.100
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 11988 tbn, 23.98 tbc
    Metadata:
      title           : Homeland.S02E01.The.Smile.720p.WEB-DL.DD5.1.H.264-DON
    Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, 5.1(side), fltp, 128 kb/s
    Stream #0:2(dut): Subtitle: subrip (default) (forced)
    Metadata:
      title           : Nederlands QoQ-Team
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> aac)
  Stream #0:2 -> #0:2 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted


If I remove the -c:s copy it compiles fine but without the subtitles.

BTW Tried it with Handbrake and it converts fine with subtitles.
",defect,closed,normal,avformat,git-master,invalid,,,,,0,0
