After your patch TSDoctor does not find a PAT at all! Tested with both versions of the patch.
Ouch - uploaded v3 of the patch. Again untested (sorry, I can't do any
tests here).
I tried to v3 patch offline from my PCH (just wget to a file and run mediainfo & ffprobe etc). There seems to be progress - now ffprobe (and ffmpeg) indicates some errors in start of stream - which could be explained.
I cannot wait to get back home to see my PCH.. If finally it would work?
//Jori
----
Mplayer now tries to play it: - (Does not show "Program N. 0" anymore)
# mplayer C-0-13-3805.ts -vo null MPlayer dev-SVN-r26753-4.1.2 (C) 2000-2008 MPlayer Team CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model: 3, Stepping: 4) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Warning unknown option threads at line 10 mplayer: could not open config files /root/.lircrc and /etc/lircrc mplayer: No such file or directory Failed to read LIRC config file ~/.lircrc.
Playing C-0-13-3805.ts. TS file format detected. VIDEO H264(pid=514) AUDIO A52(pid=649) NO SUBS (yet)! PROGRAM N. 3805 FPS seems to be: 25.000000 Opening video filter: [pp=li] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Forced audio codec: hwdts Forced audio codec: hwac3 Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF No accelerated IMDCT transform found hwac3: switched to AC3, 384000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF) ========================================================================== AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample) Starting playback... VDec: vo config request - 1920 x 1088 (preferred colorspace: Planar YV12) [PP] Using external postprocessing filter, max q = 6. VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.76:1 - prescaling to correct movie aspect. VO: [null] 1920x1088 => 1920x1088 Planar YV12 [h264 @ 0x8776a50]B picture before any references, skipping??,?% 0 0 [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]no frame! Error while decoding frame! [h264 @ 0x8776a50]B picture before any references, skipping??,?% 1 0 [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]B picture before any references, skipping [h264 @ 0x8776a50]decode_slice_header error [h264 @ 0x8776a50]no frame! Error while decoding frame! [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors,?% 1 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors,?% 2 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors,?% 3 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.2% 4 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.2% 7 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 8 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 9 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 10 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 11 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 13 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 15 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 17 0 [h264 @ 0x8776a50]concealing 6960 DC, 6960 AC, 6960 MV errors1.1% 18 0
----
mediainfo does not complain "missing PAT/PMT" anymore
# mediainfo C-0-13-3805.ts General ID : D Complete name : C-0-13-3805.ts Format : MPEG-TS File size : 21.3 MiB Duration : 10s 160ms Overall bit rate : 17.6 Mbps
Video ID : 514 (0x202) Menu ID : 3805 (0xEDD) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.0 Format settings, CABAC : Yes Format settings, ReFrames : 2 frames Duration : 10s 160ms Bit rate : 16.3 Mbps Width : 1 920 pixels Height : 1 088 pixels Display aspect ratio : 16/9 Frame rate : 25.000 fps Resolution : 24 bits Colorimetry : 4:2:0 Scan type : Progressive
Audio #1 ID : 648 (0x288) Menu ID : 3805 (0xEDD) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Bit rate mode : Constant Bit rate : 256 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Resolution : 16 bits Video delay : -152ms Language : French
Audio #2 ID : 649 (0x289) Menu ID : 3805 (0xEDD) Format : AC-3 Format/Info : Audio Coding 3 Bit rate mode : Constant Bit rate : 384 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Surround: L R, LFE Sampling rate : 48.0 KHz Video delay : -227ms Language : English
Text ID : 605 (0x25D) Menu ID : 3805 (0xEDD) Format : DVB Subtitles Language : Swedish
----
Note - some errors on stream now.. Is this because streams (PIDs) are recognized because PAT/PMT is ok, and the first data is received starting in the middle of GOP?
# ffprobe -show_streams C-0-13-3805.ts FFprobe version SVN-r53, Copyright (c) 2007-2008 Stefano Sabatini libavutil version: 49.6.0 libavcodec version: 51.53.0 libavformat version: 52.12.0 built on Nov 12 2008 15:57:32, gcc: 4.1.2 (Gentoo 4.1.2 p1.0.2) [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]non existing PPS referenced [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]B picture before any references, skipping [h264 @ 0xb7dbae30]decode_slice_header error [h264 @ 0xb7dbae30]no frame! Input #0, mpegts, from 'C-0-13-3805.ts': Duration: 00:00:09.9, start: 18801.741267, bitrate: 18060 kb/s Program 3805 Stream #0.0[0x202]: Video: h264, yuv420p, 1920x1088 [PAR 1:1 DAR 30:17], 25.00 tb(r) Stream #0.1[0x289](eng): Audio: liba52, 48000 Hz, 5:1, 384 kb/s Stream #0.2[0x288](fre): Audio: mp2, 48000 Hz, stereo, 256 kb/s Stream #0.3[0x25d](swe): Subtitle: dvbsub Stream #0.4[0x260](fin): Subtitle: dvbsub No accelerated IMDCT transform found [STREAM] codec_name=h264 decoder_time_base=1/25 codec_type=video r_frame_rate=25.000000 r_frame_rate_num=25 r_frame_rate_den=1 width=1920 height=1088 gop_size=12 has_b_frames=0 sample_aspect_ratio=1/1 display_aspect_ratio=30/17 pix_fmt=yuv420p index=0 time_base=1/90000 start_time=18801.968133 duration=9.680000 nb_frames=0 [/STREAM] [STREAM] codec_name=liba52 decoder_time_base=0/1 codec_type=audio sample_rate=48000.000000 channels=6 bits_per_sample=0 index=1 time_base=1/90000 language=eng start_time=18801.741267 duration=9.472000 nb_frames=0 [/STREAM] [STREAM] codec_name=mp3 decoder_time_base=0/1 codec_type=audio sample_rate=48000.000000 channels=2 bits_per_sample=0 index=2 time_base=1/90000 language=fre start_time=18801.816922 duration=9.360000 nb_frames=0 [/STREAM] [STREAM] codec_name=dvbsub decoder_time_base=0/1 codec_type=subtitle index=3 time_base=1/90000 language=swe start_time=18805.870622 duration=N/A nb_frames=0 [/STREAM] [STREAM] codec_name=dvbsub decoder_time_base=0/1 codec_type=subtitle index=4 time_base=1/90000 language=fin start_time=18801.741267 duration=9.906867 nb_frames=0 [/STREAM]