VideoHelp Forum
+ Reply to Thread
Results 1 to 16 of 16
Thread
  1. hello dears
    i have a ts file that include teletext, i want to extract teletext (not subtitle) from this video file
    but i dont khow that read witch section of file
    i convert file to hex stream, know help me to find that how find teletext pages in stream
    Quote Quote  
  2. '
    YEAH,, they oughtta include some frickin' way to search this site!

    put a search box on the top of the page or something!!

    GEEZ!
    Quote Quote  
  3. i searched but didnt find soulotion
    there was just some programs but i dont want to use them, i want to read ts file, convert to hex, and extract teletext from codes
    Quote Quote  
  4. '
    i want to read ts file, convert to hex, and extract teletext from codes
    uh–huh
    Quote Quote  
  5. Member
    Join Date: Aug 2006
    Location: United States
    Search Comp PM
    Originally Posted by hamidso View Post
    hello dears
    i have a ts file that include teletext, i want to extract teletext (not subtitle) from this video file
    but i dont khow that read witch section of file
    i convert file to hex stream, know help me to find that how find teletext pages in stream
    Maybe Project X (a tool for working with DVB ts files) would be useful. Project X includes a hex viewer. There is a guide for Project X here http://www.doom9.org/index.html?/DigiTV/projectx.htm

    I cannot help you to use Project X because I don't use ProjectX myself. I live in an ATSC country and ATSC uses a different closed captioning technology instead of teletext or DVB subtitles.
    Quote Quote  
  6. Member
    Join Date: Oct 2004
    Location: Freedonia
    Search Comp PM
    CCextractor may be able to do it. It comes with a GUI and the GUI is the easiest way to try to use the program. You can drag and drop your video file into it and see if it can extract the teletext.
    Quote Quote  
  7. Member
    Join Date: Aug 2006
    Location: United States
    Search Comp PM
    Never mind. I see teletext processing was improved in the latest version of CCExtractorGUI.
    Quote Quote  
  8. dears i use dvbstreamexplorer and my files contain some teletext page
    so source of this could help me
    now i want to do it by my self
    how can i read stream?
    when i read as binary where of code can i find teletext code in stream?
    Quote Quote  
  9. It is not clear or you referring to CC or real Teletext https://en.wikipedia.org/wiki/Teletext#North_America

    I would check https://www.scte.org/documents/pdf/Standards/ANSI_SCTE%20127%202007.pdf and ATSC standard for data encapsulation - this should be good starting point.
    Last edited by pandy; 7th May 2014 at 09:10.
    Quote Quote  
  10. Member
    Join Date: Aug 2006
    Location: United States
    Search Comp PM
    Originally Posted by hamidso View Post
    dears i use dvbstreamexplorer and my files contain some teletext page
    so source of this could help me
    now i want to do it by my self
    how can i read stream?
    when i read as binary where of code can i find teletext code in stream?
    dvbstreamexplorer is not open source, so the code for it won't be available to you.

    ProjectX is open source and can apparently demultiplex DVB teletext streams from MPEG-2 transmissions and convert teletext into subtitles. You might be able to decide whether or not any of the code used for Project X would be helpful to you by exploring its reference pages. The main reference page for the software http://www.doom9.org/DigiTV/projectx-fullguide.htm

    Sourceforge is the repository for the code: http://sourceforge.net/projects/project-x/
    Last edited by usually_quiet; 7th May 2014 at 14:40.
    Quote Quote  
  11. first analyze stream, your data can be provided directly or indirectly (coded as raw video samples - literally 720 luma samples)
    perhaps this can be useful ATSC PSI/SI is supported by lite (free) version.
    http://www.coolstf.com/tsreader/
    Or even ask for demo version http://www.manzanitasystems.com/products/ts-analyzer-demo.html
    Or alternative software http://www.dvbstreamexplorer.com/
    Quote Quote  
  12. thank all you for programs and solutions
    but i don't want to use programs to read teletext
    my question is when i convert my ts in hex, i have some packets, that have some PIDs, i know that teletext in this ts file store in 041F PIDs, so i must to use this packets to grab teletext, now when i convert hex code with G0 table i dont have meaning text
    i must do something to hex code then convert to text? or do another thing?
    Quote Quote  
  13. this is one of my packet:

    47 44 1F 1D 00 00 01 BD 01 6A 8F 80 24 2D CA B1
    83 13 FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF 10 02 2C E7 E4 6D 26 E9 B9 20 04 04 04 04 04
    04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
    04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
    02 2C E8 E4 CE CE E9 B9 01 0E 16 07 CB 04 04 13
    04 E3 8A 04 04 62 A7 04 64 2A 07 67 E3 8A 04 04
    0E 16 8A F7 67 04 62 13 04 BF F7 A7 4A 04 02 2C
    E9 E4 6D CE E9 B9 01 04 04 04 04 04 04 04 04 04
    04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04
    04 04 04 04 04 04 04 04 04 04 04 04

    PID: $041F (teletext pid)
    TYPE: PES
    Lenght: 5
    please help me how can i use these codes and how to find that this code is which line of which page in teletext?
    Quote Quote  
  14. Member
    Join Date: Aug 2006
    Location: United States
    Search Comp PM
    You will need to rely on the published specifications for DVB teletext for help. Google turned up several. This is one.

    http://www.etsi.org/deliver/etsi_i_ets/300700_300799/300706/01_60/ets_300706e01p.pdf
    Quote Quote  
  15. thank you so much. i read pdf and dvbsnoop examples (http://dvbsnoop.sourceforge.net/examples/example-pes-teletext.html)
    so i know where section of code is my teletext data
    but yet i cant decode my codes. in dvbsnoop somewhere we have:

    => decoded:
    magazine number (X): 3 (0x03)
    packet number (Y): 13 (0x000d) [= normal packet intended for direct display]
    packet data (parity stripped):
    0000: 03 1d 01 20 20 20 20 20 20 20 75 6e 73 65 72 65
    0000: . . . u n s e r e
    0010: 72 20 57 65 6c 74 20 28 38 29 20 20 20 20 20 20
    0010: r W e l t ( 8 )
    0020: 20 20 3e 54 49 50 50 20
    0020: > T I P P

    i want to find way to decode
    it is hammed? ore something else?
    i must to convert hex codes of data to binary, somewhere said codes must reverse some where unhamm?
    so what i must do?
    Quote Quote  
  16. At least its clear that we talking about Europe - check TXT descriptor - you should have additional information.
    Also http://www.avalpa.com/the-key-values/15-free-software/33-opencaster can be useful - check how encoder works for TXT over DVB.

    6.2.43 Teletext descriptor ( http://www.etsi.org/deliver/etsi_en/300400_300499/300468/01.11.01_60/en_300468v011101p.pdf )
    Quote Quote