[FFmpeg-trac] #51(undetermined:new): FFMpeg hangs on some iptv stream.

FFmpeg trac at avcodec.org
Mon Apr 11 23:18:19 CEST 2011


#51: FFMpeg hangs on some iptv stream.
-------------------+---------------------------
Reporter:  igor    |       Owner:
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  undetermined
 Version:  git     |  Resolution:
Keywords:          |  Blocked By:
Blocking:          |  Reproduced:  0
Analyzed:  0       |
-------------------+---------------------------

Comment (by cehoyos):

 The original file plays fine with mplayer (-demuxer mpegts and -demuxer
 lavf) and ffplay, ffmpeg produces an unplayable avi file (MPlayer reports
 "Badly interleaved AVI file detected"), -map makes no difference.
 {{{
 $ ffmpeg -i test.ts out.avi
 FFmpeg version git-N-29036-gc104a6e, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Apr 11 2011 22:52:06 with gcc 4.5.2
   configuration: --cc='/usr/local/gcc-4.5.2/bin/gcc -m32'
   libavutil    50. 40. 1 / 50. 40. 1
   libavcodec   52.117. 1 / 52.117. 1
   libavformat  52.106. 0 / 52.106. 0
   libavdevice  52.  4. 0 / 52.  4. 0
   libavfilter   1. 78. 0 /  1. 78. 0
   libswscale    0. 13. 0 /  0. 13. 0
 [mpeg2video @ 0x8c422f0] mpeg_decode_postinit() failure
     Last message repeated 10 times
 Input #0, mpegts, from 'test.ts':
   Duration: 19:53:07.35, start: 196.204522, bitrate: 0 kb/s
   Program 8211
     Stream #0.0[0x300](ita): Subtitle: [6][0][0][0] / 0x0006
     Stream #0.1[0x8ad]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
 64:45 DAR 16:9], 3095 kb/s, 27.47 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0.2[0x8b7](fra): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.3[0x8b8](eng): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.4[0x8b9](deu): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.5[0x8ba](ita): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.6[0x8bb](spa): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.7[0x8bc](por): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.8[0x8bd](rus): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.9[0x8be](ara): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.10[0x8bf](tur): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.11[0x8c0](per): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
     Stream #0.12[0x8c6]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 [buffer @ 0x8c41270] w:720 h:576 pixfmt:yuv420p
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf52.106.0
     Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 64:45 DAR 16:9],
 q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Stream #0.1(ita): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s (clean
 effects)
 Stream mapping:
   Stream #0.1 -> #0.0
   Stream #0.5 -> #0.1
 Press [q] to stop encoding
 [mpeg2video @ 0x8c422f0] warning: first frame is no keyframe
 [mpeg2video @ 0x8c422f0] ac-tex damaged at 36 24.46 bitrate=  89.8kbits/s
 [mpeg2video @ 0x8c422f0] Warning MVs not available
 [mpeg2video @ 0x8c422f0] concealing 540 DC, 540 AC, 540 MV errors
 [mp2 @ 0x8c59fe0] incomplete frame
 Error while decoding stream #0.5
 frame=  101 fps= 24 q=2.0 Lsize=   44296kB time=4.03
 bitrate=89998.9kbits/s
 video:2305kB audio:32kB global headers:0kB muxing overhead 1795.586149%
 }}}
 The following produces grey frames ad infinitum:
 {{{
 $ ffmpeg -i test.ts -an out.mpeg
 FFmpeg version git-N-29036-gc104a6e, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Apr 11 2011 22:52:06 with gcc 4.5.2
   configuration: --cc='/usr/local/gcc-4.5.2/bin/gcc -m32'
   libavutil    50. 40. 1 / 50. 40. 1
   libavcodec   52.117. 1 / 52.117. 1
   libavformat  52.106. 0 / 52.106. 0
   libavdevice  52.  4. 0 / 52.  4. 0
   libavfilter   1. 78. 0 /  1. 78. 0
   libswscale    0. 13. 0 /  0. 13. 0
 [mpeg2video @ 0x8c422f0] mpeg_decode_postinit() failure
     Last message repeated 10 times
 Input #0, mpegts, from 'test.ts':
   Duration: 19:53:07.35, start: 196.204522, bitrate: 0 kb/s
   Program 8211
     Stream #0.0[0x300](ita): Subtitle: [6][0][0][0] / 0x0006
     Stream #0.1[0x8ad]: Video: mpeg2video (Main), yuv420p, 720x576 [PAR
 64:45 DAR 16:9], 3095 kb/s, 27.47 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0.2[0x8b7](fra): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.3[0x8b8](eng): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.4[0x8b9](deu): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.5[0x8ba](ita): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.6[0x8bb](spa): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.7[0x8bc](por): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.8[0x8bd](rus): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.9[0x8be](ara): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.10[0x8bf](tur): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 (clean effects)
     Stream #0.11[0x8c0](per): Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
     Stream #0.12[0x8c6]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
 [buffer @ 0x8e2a650] w:720 h:576 pixfmt:yuv420p
 [mpeg @ 0x8e28680] VBV buffer size not set, muxing may fail
 Output #0, mpeg, to 'out.mpeg':
   Metadata:
     encoder         : Lavf52.106.0
     Stream #0.0: Video: mpeg1video, yuv420p, 720x576 [PAR 64:45 DAR 16:9],
 q=2-31, 200 kb/s, 90k tbn, 25 tbc
 Stream mapping:
   Stream #0.1 -> #0.0
 Press [q] to stop encoding
 [mpeg2video @ 0x8c422f0] warning: first frame is no keyframe
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/51#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list