Anantharaman <[email protected]> added the comment:

Sorry, somehow the patch did not get uploaded, so here 
it is again. The output of ffmpeg -i is the same, 
whether the PMT has the ATSC-like or ETSI-like entry, 
e.g.

FFmpeg version UNKNOWN, Copyright (c) 2000-2010 
Fabrice Bellard, et al.
  built on Jan  6 2010 10:53:53 with gcc 4.4.0
  configuration: --prefix=/mingw --enable-shared --
disable-static --enable-memalign-hack --enable-
libmp3lame --enable-libx264 --enable-gpl --enable-
libfaac --enable-nonfree --enable-postproc --enable-
avfilter --enable-avfilter-lavf --cpu=pentium4 --extra-
cflags='-mtune=native -mfpmath=sse' --enable-logging
  libavutil     50. 7. 0 / 50. 7. 0
  libavcodec    52.45. 0 / 52.45. 0
  libavformat   52.46. 0 / 52.46. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.13. 0 /  1.13. 0
  libswscale     0. 7. 2 /  0. 7. 2
  libpostproc   51. 2. 0 / 51. 2. 0
[mpegts @ 0048ea70]max_analyze_duration reached

Seems stream 0 codec frame rate differs from container 
frame rate: 50.00 (50/1) -> 25.00 (25/1)
Input #0, mpegts, from 'Das Erste_Tagesschau_Ch1 
110964_ffmpeg.ts':
  Duration: 00:01:00.28, start: 0.737878, bitrate: 
6593 kb/s
  Program 1 Service01
    Metadata:
      name            : Service01
      provider_name   : FFmpeg
    Stream #0.0[0x100]: Video: mpeg2video, yuv420p, 
720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 
tbr, 90k tbn, 50 tbc
    Stream #0.1[0x101](2ch): Audio: mp2, 48000 Hz, 2 
channels, s16, 192 kb/s
    Stream #0.2[0x102]: Audio: ac3, 48000 Hz, stereo, 
s16, 448 kb/s
At least one output file must be specified

I use TSDoctor and/or TSPacketViewer from 
http://www.cypheros.de/dvb.html to inspect the PMT-
packets. In an ETSI-compatible TS the entry for an AC-
3 stream should look like this (note the AC-3 
descripto starting with 0x6A):

...
  Stream Type    : 6
  Description    : ITU-T Rec. H.222.0 | ISO/IEC 13818-
1 PES packets containing private data (AC3)
  Elementary PID : $0102
  ES Info Length : 3
  ES Info        : $6A, $01, $00
  ES Info Text   : j__
...

Currently you get a different entry with a Stream Type 
of 0x81 which many receivers for non-US markets do not 
accept.

_____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue1662>
_____________________________________________________
*** ffmpeg-r21032-swscale-r30184.orig/libavformat/mpegtsenc.c   Sun Oct 18 
21:41:03 2009
--- ffmpeg-r21032-swscale-r30184/libavformat/mpegtsenc.c        Wed Jan  6 
09:46:54 2010
***************
*** 240,246 ****
              stream_type = STREAM_TYPE_AUDIO_AAC;
              break;
          case CODEC_ID_AC3:
!             stream_type = STREAM_TYPE_AUDIO_AC3;
              break;
          default:
              stream_type = STREAM_TYPE_PRIVATE_DATA;
--- 240,246 ----
              stream_type = STREAM_TYPE_AUDIO_AAC;
              break;
          case CODEC_ID_AC3:
!             stream_type = STREAM_TYPE_PRIVATE_DATA;
              break;
          default:
              stream_type = STREAM_TYPE_PRIVATE_DATA;

Reply via email to