Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've recorded a program through HDHomeRun (DVB-T), now I want to convert it into a format that apple can understand, but I'm a bit in a stand still because I also wants the subtitles. This is the command I give:

 ffmpeg -i /lager2/mythtv/recordings/1006_20131013153800.mpg -an -vn -map 0:6 -c:s:0 srt subtitles.srt

and get this:

Input #0, mpegts, from '/lager2/mythtv/recordings/1006_20131013153800.mpg':
  Duration: 00:02:35.68, start: 40500.131967, bitrate: 1935 kb/s
  Program 1
  No Program
    Stream #0:0[0x5a]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:1[0x5b]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:2[0x7ef](dan): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0x907]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:4[0x911](dan): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:5[0x915](dan): Audio: aac_latm ([17][0][0][0] / 0x0011), 48000 Hz, 5.1, fltp
    Stream #0:6[0x91f](dan): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:7[0x920](dan): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
File 'subtitles.srt' already exists. Overwrite ? [y/N] y
Output #0, srt, to 'subtitles.srt':
    Stream #0:0(dan): Subtitle: srt
Stream mapping:
  Stream #0:6 -> #0:0 (dvbsub -> srt)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

I've an idea it's because ffmpeg is not compatible with:

Stream #0:6[0x91f](dan): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)

Is that correct?

share|improve this question
1  
You should include the complete console output and not just a segment. –  LordNeckbeard Oct 13 '13 at 19:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.