Opened 11 years ago

Last modified 14 months ago

#2330 new defect

Impossible to fast-forward and fast rewind m2ts made by ffmpeg with panasonic hdd recoder

Reported by: bonconboy Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: mpegts
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Thank you for cehoyos's consideration.

It is impossible to fast-forward and fast rewind a m2ts file made by ffmpeg with panasonic hdd recoder.
The m2ts files are smoothly playbacked with panasonic hdd recoder.

My step
Step 1
Making a m2ts file by ffmpeg
Step 2
Converting the file to AVCHD by multiAVCHD, which is Authoring Tool for AVCHD or Blu-Ray and uses tsMuxeR.

http://www.videohelp.com/tools/multiAVCHD
http://www.videohelp.com/tools/tsMuxeR

Step3
Playbaking the AVCHD with Panansonic HDD recorder

source is DmC: Devil May Cry - Mission 9 EXCLUSIVE Gameplay - Eurogamer

http://www.youtube.com/watch?v=ArGgYqW5Ssk

Additional results
When making a mkv file by handbrake in step 1, no problem in step 3.
When making a m2ts file from the mkv file by ffmpeg in step 1, the problems appear in step 3.

I wish and believe ffmpeg's progress and evolution.

(Step1)
Console of making m2ts by ffmpeg

ffmpeg  -i input.mp4  -t 15  -vf "fifo, scale= 720:480" -vcodec libx264 -aspect 16:9 -r 29.97 -acodec ac3 -ac 2 -ar 48000 -ab 96000 o_ff_m2ts.m2ts
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-01-02 11:53:23
  Duration: 00:04:11.16, start: 0.000000, bitrate: 5772 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 5578 kb/s, 25 fps, 25 tbr, 50 tbn, 50 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s
    Metadata:
      creation_time   : 2013-01-02 11:53:24
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
[libx264 @ 0x102873000] using SAR=32/27
[libx264 @ 0x102873000] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x102873000] profile High, level 3.0
Output #0, mpegts, to 'o_ff_m2ts.m2ts':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf54.59.100
    Stream #0:0(und): Video: h264, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=-1--1, 90k tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      creation_time   : 2013-01-02 11:53:24
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (aac -> ac3)
Press [q] to stop, [?] for help
frame=   75 fps=0.0 q=29.0 size=      47kB time=00:00:02.42 bitrate= 160.1kbits/frame=  141 fps=141 q=29.0 size=     248kB time=00:00:04.89 bitrate= 415.2kbits/frame=  206 fps=136 q=29.0 size=     460kB time=00:00:06.84 bitrate= 550.2kbits/frame=  273 fps=136 q=29.0 size=     638kB time=00:00:09.27 bitrate= 563.9kbits/frame=  327 fps=129 q=29.0 size=     954kB time=00:00:11.22 bitrate= 696.3kbits/frame=  367 fps=121 q=29.0 size=    1302kB time=00:00:12.66 bitrate= 842.1kbits/frame=  415 fps=117 q=29.0 size=    1648kB time=00:00:14.13 bitrate= 954.8kbits/frame=  450 fps=107 q=-1.0 Lsize=    2207kB time=00:00:15.00 bitrate=1205.3kbits/s dup=75 drop=0    
video:1771kB audio:176kB subtitle:0 global headers:0kB muxing overhead 13.398644%
[libx264 @ 0x102873000] frame I:10    Avg QP:21.48  size: 15034
[libx264 @ 0x102873000] frame P:295   Avg QP:23.69  size:  4984
[libx264 @ 0x102873000] frame B:145   Avg QP:25.69  size:  1329
[libx264 @ 0x102873000] consecutive B-frames: 40.7% 48.0%  3.3%  8.0%
[libx264 @ 0x102873000] mb I  I16..4: 17.6% 67.6% 14.7%
[libx264 @ 0x102873000] mb P  I16..4:  5.7% 12.9%  1.4%  P16..4: 31.8%  9.3%  4.0%  0.0%  0.0%    skip:34.8%
[libx264 @ 0x102873000] mb B  I16..4:  0.2%  0.3%  0.1%  B16..8: 25.6%  3.7%  0.7%  direct: 1.7%  skip:67.6%  L0:30.1% L1:64.4% BI: 5.5%
[libx264 @ 0x102873000] 8x8 transform intra:64.7% inter:77.3%
[libx264 @ 0x102873000] coded y,uvDC,uvAC intra: 42.7% 60.8% 18.1% inter: 14.1% 20.1% 0.8%
[libx264 @ 0x102873000] i16 v,h,dc,p: 35% 30%  6% 30%
[libx264 @ 0x102873000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 22% 22%  4%  6%  6%  7%  5%  4%
[libx264 @ 0x102873000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 13%  4%  8%  8%  8%  5%  3%
[libx264 @ 0x102873000] i8c dc,h,v,p: 56% 21% 18%  5%
[libx264 @ 0x102873000] Weighted P-Frames: Y:12.5% UV:8.8%
[libx264 @ 0x102873000] ref P L0: 65.6% 18.3% 11.6%  4.2%  0.3%
[libx264 @ 0x102873000] ref B L0: 87.7% 12.3%  0.0%
[libx264 @ 0x102873000] ref B L1: 99.7%  0.3%
[libx264 @ 0x102873000] kb/s:966.09

Console of m2ts made by ffmpeg

ffmpeg  -i o_ff_m2ts.m2ts
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x10280ec00] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from 'o_ff_m2ts.m2ts':
  Duration: 00:00:14.99, start: 1.394667, bitrate: 1206 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](und): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 96 kb/s
At least one output file must be specified

(Step2)
Console of file converted by multiavchd

ffmpeg -i 00000.MTS
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x10280ec00] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from '00000.MTS':
  Duration: 00:00:15.02, start: 599.966644, bitrate: 1217 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100](und): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 96 kb/s
At least one output file must be specified

When making a mkv file by handbrake in step 1
(Step1)
Console of mkv made by handbrake

ffmpeg -i o_hb_mkv.mkv
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from 'o_hb_mkv.mkv':
  Duration: 00:00:14.98, start: 0.000000, bitrate: 1085 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s (default)
At least one output file must be specified

(Step2)
Console of file converted by multiavchd

ffmpeg -i 00001.MTS
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x10280ec00] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from '00001.MTS':
  Duration: 00:00:15.01, start: 599.966644, bitrate: 1234 kb/s
  Program 1 
    Stream #0:0[0x1011](eng): Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100](und): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 96 kb/s
At least one output file must be specified

When making a m2ts file from the mkv file by ffmpeg in step 1
(Step1)
Console of making m2ts from file, which is made by handbrake, by ffmpeg

ffmpeg  -i o_hb_mkv.mkv  -bsf h264_mp4toannexb -vcodec copy -acodec copy o_hb_mkv_to_m2ts_by_ff.m2ts
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from 'o_hb_mkv.mkv':
  Duration: 00:00:14.98, start: 0.000000, bitrate: 1085 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s (default)
Output #0, mpegts, to 'o_hb_mkv_to_m2ts_by_ff.m2ts':
  Metadata:
    encoder         : Lavf54.59.100
    Stream #0:0(eng): Video: h264, yuv420p, 720x480 [SAR 186:157 DAR 279:157], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, 96 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  449 fps=0.0 q=-1.0 Lsize=    2234kB time=00:00:15.00 bitrate=1219.4kbits/s    
video:1795kB audio:176kB subtitle:0 global headers:0kB muxing overhead 13.367189%

Console of m2ts made by ffmpeg

ffmpeg -i o_hb_mkv_to_m2ts_by_ff.m2ts
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x10280ec00] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from 'o_hb_mkv_to_m2ts_by_ff.m2ts':
  Duration: 00:00:14.95, start: 1.400000, bitrate: 1224 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 96 kb/s
At least one output file must be specified

(Step2)
Console of file converted by multiavchd

ffmpeg -i 00002.MTS
ffmpeg version 1.0.git-5a2f3f0 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  2 2013 18:09:20 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x10280ec00] max_analyze_duration 5000000 reached at 5005000
Input #0, mpegts, from '00002.MTS':
  Duration: 00:00:15.01, start: 599.966644, bitrate: 1234 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100](und): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 96 kb/s
At least one output file must be specified

Attachments (6)

o_ff_m2ts.m2ts (2.2 MB ) - added by bonconboy 11 years ago.
made by ffmpeg
00000.MTS (2.2 MB ) - added by bonconboy 11 years ago.
converted from o_ff_m2ts.m2ts by multiavchd
o_hb_mkv.mkv (1.9 MB ) - added by bonconboy 11 years ago.
made by handbrake
00001.MTS (2.2 MB ) - added by bonconboy 11 years ago.
converted from o_hb_mkv.mkv by multiavchd
o_hb_mkv_to_m2ts_by_ff.m2ts (2.2 MB ) - added by bonconboy 11 years ago.
made from o_hb_mkv.mkv by ffmpeg
00002.MTS (2.2 MB ) - added by bonconboy 11 years ago.
converted from o_hb_mkv_to_m2ts_by_ff.m2ts by multiavchd

Change History (13)

by bonconboy, 11 years ago

Attachment: o_ff_m2ts.m2ts added

made by ffmpeg

by bonconboy, 11 years ago

Attachment: 00000.MTS added

converted from o_ff_m2ts.m2ts by multiavchd

by bonconboy, 11 years ago

Attachment: o_hb_mkv.mkv added

made by handbrake

by bonconboy, 11 years ago

Attachment: 00001.MTS added

converted from o_hb_mkv.mkv by multiavchd

by bonconboy, 11 years ago

Attachment: o_hb_mkv_to_m2ts_by_ff.m2ts added

made from o_hb_mkv.mkv by ffmpeg

by bonconboy, 11 years ago

Attachment: 00002.MTS added

converted from o_hb_mkv_to_m2ts_by_ff.m2ts by multiavchd

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegundetermined
Keywords: mpegts added

Please test current git head.

in reply to:  1 ; comment:2 by bonconboy, 11 years ago

Please test current git head.

Yes. Please wait.

in reply to:  2 comment:3 by bonconboy, 11 years ago

I tested under

ffmpeg version 1.1.git-7bab631 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  6 2013 10:39:36 with gcc 4.7.2 (MacPorts gcc47 4.7.2_2)
  configuration: --prefix=/sw --cc=gcc-mp-4.7 --cxx=g++-mp-4.7 --extra-cflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --extra-cxxflags='-mtune=native -mno-avx -mfpmath=sse -msse4.2' --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-libfaac --enable-libopenjpeg --enable-libschroedinger --enable-libmodplug --enable-libxvid --enable-libfreetype --enable-openssl --enable-avfilter --enable-filters --arch=x86_64 --cpu=corei7-avx --enable-libass --enable-libbluray --enable-libopencore_amrwb --enable-libopencore_amrnb
  libavutil      52. 17.103 / 52. 17.103
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.103 / 54. 63.103
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100


Regrettably, the resuts are the same as the above.

comment:4 by ponpon, 8 years ago

i also face the same problem with even current git.
if use handbrake, the problem doesn't arise.
ticket#2111 and the below mailing list may be related.
http://ffmpeg-users.933282.n4.nabble.com/Transcoded-MPEG-2-Transport-Stream-does-not-have-random-access-indicator-bit-set-tt3010438.html#a3197902

i can't have no way of telling whether panasonis's bug or ffmpeg's.
in my impression from these cases, IDR frame or nal is of doubtful implementation.

comment:5 by Samuel, 5 years ago

Last edited 5 years ago by Samuel (previous) (diff)

in reply to:  5 comment:6 by Carl Eugen Hoyos, 5 years ago

Replying to Sami32:

Could this patch fix that?
https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2011-July/038989.html

How could this be possible?

comment:7 by Balling, 14 months ago

Is this still a problem?

Note: See TracTickets for help on using tickets.