Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


DVB Teletext dump from UDP multicast

Discussions about problems encountered using ffmpeg.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

DVB Teletext dump from UDP multicast

Postby danotrilogic » Thu Jan 31, 2013 6:08 pm

Hi everybody!

I need to dump a DVB broadcast stream to disc, it works very well, but the stream contains a DVB_Teletext elementary stream, when I try to dump the signal to disc I notice that FFmpeg changes the DVB_Teletext stream type to DVB_SUBTITLE, so I can't parse the MPEG-TS of this stream.
Is there any way to dump the entire stream so FFmpeg keep the elementary streams intact?

Thanks and regards.
danotrilogic
 
Posts: 3
Joined: Thu Jan 31, 2013 6:00 pm

Re: DVB Teletext dump from UDP multicast

Postby llogan » Thu Jan 31, 2013 8:05 pm

Please show your ffmpeg command line and the complete console output as mentioned in the "IMPORTANT" note above the box where you enter your reply.
llogan
 
Posts: 966
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska

Re: DVB Teletext dump from UDP multicast

Postby danotrilogic » Fri Feb 01, 2013 9:28 am

Sorry about that, here is the command and the FFmpeg output:

Code: Select all
ffmpeg -i udp://234.5.245.105:20000 -map 0 -codec copy -f mpegts stream.ts

ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 21 2013 14:57:54 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-filter=movie --enable-static --enable-shared --enable-libfreetype --enable-libaacplus
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x1b5c820] Unable to seek back to the start
[mpeg2video @ 0x1ba2220] 0x0 is invalid
    Last message repeated 15 times
[mpegts @ 0x1b5c820] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x1b5c820] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://234.5.245.105:20000':
  Duration: N/A, start: 93705.929667, bitrate: 224 kb/s
  Program 140
    Metadata:
      service_name    : ANTENA 3
      service_provider: EtherTV
    Stream #0:0[0x137](spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:1[0x130](und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Stream #0:2[0x12f](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:3[0x12e](spa): [b]Subtitle: dvb_teletext[/b] ([6][0][0][0] / 0x0006)
    Stream #0:4[0x12d]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, mpegts, to 'stream.ts':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0(spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:1(und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 96 kb/s
    Stream #0:2(spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 128 kb/s
    Stream #0:3(spa): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
frame=  914 fps= 29 q=-1.0 Lsize=   17315kB time=00:00:37.79 bitrate=3753.4kbits/s   
video:13770kB audio:1013kB subtitle:1173 global headers:0kB muxing overhead 8.519125%
Received signal 2: terminating.


And this is the FFprobe output of the file:

Code: Select all
ffprobe -i stream.ts

ffprobe version 1.1.1 Copyright (c) 2007-2013 the FFmpeg developers
  built on Jan 21 2013 14:57:54 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-filter=movie --enable-static --enable-shared --enable-libfreetype --enable-libaacplus
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0xac2ca0] max_analyze_duration 5000000 reached at 5016000
[NULL @ 0xac6e60] start time is not set in estimate_timings_from_pts
[NULL @ 0xac8be0] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'stream.ts':
  Duration: 00:00:37.47, start: 1.760378, bitrate: 3785 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100](spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:1[0x101](und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Stream #0:2[0x102](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:3[0x103](spa): [b]Subtitle: dvb_subtitle[/b] ([6][0][0][0] / 0x0006)
    Stream #0:4[0x104]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
danotrilogic
 
Posts: 3
Joined: Thu Jan 31, 2013 6:00 pm

Re: DVB Teletext dump from UDP multicast

Postby burek » Fri Feb 01, 2013 7:32 pm

This is probably a bug and was reported, so we should wait and see if it is a bug or there is a workaround for it or something. Please continue following this issue here: https://ffmpeg.org/trac/ffmpeg/ticket/2223
burek
 
Posts: 867
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia

Re: DVB Teletext dump from UDP multicast

Postby milan2655 » Wed Apr 03, 2013 8:49 am

Is there any update regarding teletext stuff?
milan2655
 
Posts: 3
Joined: Wed Apr 03, 2013 8:00 am

Re: DVB Teletext dump from UDP multicast

Postby burek » Thu Apr 04, 2013 12:11 am

for any updates, you should check the ticket's url
burek
 
Posts: 867
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia

Re: DVB Teletext dump from UDP multicast

Postby milan2655 » Thu Apr 04, 2013 6:54 am

Does the patch work? How to apply it? Thanks in advance!
milan2655
 
Posts: 3
Joined: Wed Apr 03, 2013 8:00 am

Re: DVB Teletext dump from UDP multicast

Postby burek » Fri Apr 05, 2013 12:12 am

Well, you need to use the "patch" tool in your shell console, and there are many tutorials how to do that.
I guess it works, since it has been pushed into main git, but you'll only know it if you test it thoroughly and if it doesn't work as expected, you may report a bug again.
burek
 
Posts: 867
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia

Re: DVB Teletext dump from UDP multicast

Postby milan2655 » Wed Apr 10, 2013 1:45 pm

This patch is not pushed into main git. I need to apply it every time.

Patch doesn't work, it just change PID description from subtitle to teletex. I have a live transcoding from MPEG2 to MPEG4 and teletext cannot be viewed on TV or VLC player. I suppose it doesn't work. Where can I open a ticket?
milan2655
 
Posts: 3
Joined: Wed Apr 03, 2013 8:00 am

Re: DVB Teletext dump from UDP multicast

Postby burek » Fri Apr 12, 2013 6:44 am

Look up, at the top of this page, there is "Bug Reports" link :)
burek
 
Posts: 867
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia


Return to ffmpeg

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 7 guests