[FFmpeg-devel] MPEGTS WSS ES

Janos Barta linuxheart
Mon Sep 20 20:37:41 CEST 2010


Hello,

I have a special mpeg2ts transport stream, that contains WSS
(widescreen signaling) information.
As far as I know, the ffmpeg supports this format too (but here the
name of this function is DTG):
    "DTG active format information (additional aspect ratio
information only used in DVB MPEG-2 transport streams) 0 if not set."

So, my ts has a special -separate- mpegts stream (WSS ES:
http://www.etsi.org/deliver/etsi_en/301700_301799/301775/01.02.01_60/en_301775v010201p.pdf
), which contains these format information (Stream #0.1):

  Program 1
    Stream #0.0[0x800]: Video: h264, yuv420p, 720x576 [PAR 16:11 DAR
20:11],42.45 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x1f69]: Data: [6][0][0][0] / 0x0006
    Stream #0.2[0x1f46](eng): Audio: mp2, 48000 Hz, 2 channels, s16, 128kb/s

    [STREAM]
    index=1
    codec_name=unknown
    codec_type=data
    codec_time_base=0/1
    codec_tag_string=[6][0][0][0]
    codec_tag=0x0006
    id=0x1f69
    r_frame_rate=0/0
    avg_frame_rate=0/0
    time_base=1/90000
    start_time=N/A
    duration=N/A
    [/STREAM]


But it does not work right :(.

The ffmpeg can open that transport stream -and always opens it with
the right aspect ratio-, but can not handle the changes of the screen
-during the transcoding- dynamicly (16:9 <-> 4:3).

ffmpeg ver.:
    FFmpeg version git-9e981c8, Copyright (c) 2000-2010 the FFmpeg developers
      built on Aug 14 2010 17:51:29 with gcc 4.3.2
      configuration: --enable-avfilter --prefix=/usr/ --enable-gpl
--enable-nonfree --enable-postproc --enable-avfilter --enable-pthreads
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libdirac --enable-libfaac --enable-libmp3lame
--enable-libvorbis --enable-libx264 --enable-libxvid --enable-version3
--enable-shared --enable-libdc1394 --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libgsm
--enable-librtmp --enable-libnut --enable-libtheora --enable-libvpx

      libavutil     50.23. 0 / 50.23. 0
      libavcore      0. 3. 0 /  0. 3. 0
      libavcodec    52.85. 0 / 52.85. 0
      libavformat   52.78. 1 / 52.78. 1
      libavdevice   52. 2. 1 / 52. 2. 1
      libavfilter    1.31. 0 /  1.31. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0



If I try to open it with the ffprobe, I get the next warning message:
      Unsupported codec (id=0) for input stream 1


My question is, how -and where- I can set the mpegts WSS ES?


Thx,
Jani



More information about the ffmpeg-devel mailing list