Henk Schoneveld <belca...@zonnet.nl> added the comment: I would love to give the part of the original stream if I could find the byteposition of the problematic part. But getting out the h264 part with current ffmpeg already fails terrible. It identifies the stream as 26.65fps. After several minutes still no 150 frames. An older version SVN-r17923 produces the frames in a fraction of a second.
ffmpeg -ss 220 -vframes 150 -i 51687frames.ts -an -sn -vcodec copy -f rawvideo 150frames.264 FFmpeg version SVN-r23733, Copyright (c) 2000-2010 the FFmpeg developers built on Jun 23 2010 11:42:07 with gcc 4.2.3 (4.2.3-6mnb2) configuration: --prefix=/usr --enable-libxvid --enable-gpl --enable-libfaac --enable-libmp3lame --enable-pthreads --disable-ffserver --enable-ffplay --as=yasm --enable-nonfree --enable-libx264 libavutil 50.19. 0 / 50.19. 0 libavcodec 52.78. 0 / 52.78. 0 libavformat 52.71. 0 / 52.71. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1.20. 0 / 1.20. 0 libswscale 0.11. 0 / 0.11. 0 [mpegts @ 0x9070510]Too many streams [h264 @ 0x9074ba0]number of reference frames exceeds max (probably corrupt input), discarding one Last message repeated 23 times [NULL @ 0x9076350]start time is not set in av_estimate_timings_from_pts [NULL @ 0x9076ae0]start time is not set in av_estimate_timings_from_pts [NULL @ 0x9077270]start time is not set in av_estimate_timings_from_pts [NULL @ 0x9077a00]start time is not set in av_estimate_timings_from_pts [NULL @ 0x9078990]start time is not set in av_estimate_timings_from_pts [NULL @ 0x9079120]start time is not set in av_estimate_timings_from_pts [NULL @ 0x9089930]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908a0c0]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908a850]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908afe0]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908b770]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908bf00]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908c6b0]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908ce40]start time is not set in av_estimate_timings_from_pts [NULL @ 0x908d620]start time is not set in av_estimate_timings_from_pts Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 50.00 (50/1) Input #0, mpegts, from '51687frames.ts': Duration: 00:49:59.18, start: 58851.723378, bitrate: 14484 kb/s Program 1 Stream #0.0[0x157c]: Video: h264, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 26.65 fps, 50 tbr, 90k tbn, 50 tbc Stream #0.1[0x157e](NAR): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s Stream #0.2[0x157f](eng): Subtitle: [6][0][0][0] / 0x0006 Stream #0.3[0xf06]: Data: [11][0][0][0] / 0x000B Stream #0.4[0xf07]: Data: [11][0][0][0] / 0x000B Stream #0.5[0xf08]: Data: [11][0][0][0] / 0x000B Stream #0.6[0xf05]: Data: [11][0][0][0] / 0x000B Stream #0.7[0x1580](eng): Subtitle: dvbsub Stream #0.8[0x90e]: Data: [5][0][0][0] / 0x0005 Stream #0.9[0x90f]: Data: [5][0][0][0] / 0x0005 Stream #0.10[0x910]: Data: [5][0][0][0] / 0x0005 Stream #0.11[0x911]: Data: [5][0][0][0] / 0x0005 Stream #0.12[0x912]: Data: [5][0][0][0] / 0x0005 Stream #0.13[0x913]: Data: [5][0][0][0] / 0x0005 Stream #0.14[0xf00]: Data: [5][0][0][0] / 0x0005 Stream #0.15[0xf01]: Data: [5][0][0][0] / 0x0005 Stream #0.16[0xf02]: Data: [5][0][0][0] / 0x0005 Stream #0.17[0xf03]: Data: [5][0][0][0] / 0x0005 Stream #0.18[0xf04]: Data: [5][0][0][0] / 0x0005 Stream #0.19[0x157d](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s File '150frames.264' already exists. Overwrite ? [y/N] y Output #0, rawvideo, to '150frames.264': Metadata: encoder : Lavf52.71.0 Stream #0.0: Video: libx264, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], q=2-31, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2033> ________________________________________________