VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Apr 2009
    Location
    Australia
    Search Comp PM
    Hi,

    I am attempting to convert a m2ts file into a mkv using ffmpeg. I run ffmpeg with the following options.

    Code:
    ffmpeg -i 00002.m2ts \
           -vcodec libx264 \
           -vpre slower \
           -s hd1080 \
           -aspect 16:9 \
           -acodec ac3 \
           -f matroska \
           -map 0:0 \
           -map 0:1 \
           ~/test1.mkv
    However I get the following when running.
    Code:
    FFmpeg version SVN-r25719, Copyright (c) 2000-2010 the FFmpeg developers
      built on Nov 11 2010 14:04:42 with gcc 4.4.5
      configuration: --enable-gpl --enable-libx264 --enable-encoder=x264
      libavutil     50.33. 0 / 50.33. 0
      libavcore      0.12. 1 /  0.12. 1
      libavcodec    52.94. 4 / 52.94. 4
      libavformat   52.84. 0 / 52.84. 0
      libavdevice   52. 2. 2 / 52. 2. 2
      libavfilter    1.60. 0 /  1.60. 0
      libswscale     0.12. 0 /  0.12. 0
    [NULL @ 0x1aa6d50] start time is not set in av_estimate_timings_from_pts
    [NULL @ 0x1aa8c60] start time is not set in av_estimate_timings_from_pts
    [NULL @ 0x1aaab70] start time is not set in av_estimate_timings_from_pts
    [NULL @ 0x1aaca80] start time is not set in av_estimate_timings_from_pts
    Input #0, mpegts, from '00002.m2ts':
      Duration: 02:41:41.69, start: 1.991000, bitrate: 37022 kb/s
      Program 1 
        Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
        Stream #0.1[0x1100]: Audio: dca, 48000 Hz, 5.1, s16, 1536 kb/s
        Stream #0.2[0x1101]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
        Stream #0.3[0x1102]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
        Stream #0.4[0x1103]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
        Stream #0.5[0x1104]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
        Stream #0.6[0x1105]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
        Stream #0.7[0x1200]: Subtitle: pgssub
        Stream #0.8[0x1201]: Subtitle: pgssub
        Stream #0.9[0x1202]: Subtitle: pgssub
        Stream #0.10[0x1203]: Subtitle: pgssub
    Number of stream maps must match number of output stream
    I don't understand what I have done wrong with mapping the streams I want from the source to the output. Thanks in advance for any help.
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    If you try another audio stream do you get same error?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!