Opened 5 years ago

Closed 3 years ago

#6320 closed defect (fixed)

service_name of DVB-T channel showing strange character

Reported by: xamarin Owned by:
Priority: minor Component: avformat
Version: git-master Keywords: mpegts regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Get sample file from here:

https://trac.ffmpeg.org/ticket/6312

When you perform "ffmpeg -i mux_546000000_8000000_20170320202431.ts" it displays for the service_name a weird character at the beginning of the name:

'?BeMad tv HD' instead of 'BeMad tv HD'

Version ffmpeg-20170411-f1d80bc-win64-static. See attached screenshot.

Attachments (3)

weird_channel_name_character.png (33.0 KB ) - added by xamarin 5 years ago.
iso_text_coding_small.ts (710.5 KB ) - added by Marton Balint 3 years ago.
Sample with 0x10 0x00 0x02 (ISO-8859-2) text encoding
vlc-record-2013-02-25-08h34m55s-台視-_cut.ts (2.4 MB ) - added by Carl Eugen Hoyos 3 years ago.
Sample from vlc ticket 8235

Change History (7)

by xamarin, 5 years ago

comment:1 by xamarin, 5 years ago

Trac is doing weird stuff with the highlighting.

Last edited 5 years ago by xamarin (previous) (diff)

comment:2 by Carl Eugen Hoyos, 5 years ago

Component: undeterminedavformat
Keywords: mpegts regression added
Priority: normalminor
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:3 by Carl Eugen Hoyos, 5 years ago

Analyzed by developer: set

Not really a regression since 0a51362b3f3c3a0df09b24fbd9049711bff6fb94
The issue is the missing character table conversion in getstr8. Reference is Annex A of http://www.etsi.org/deliver/etsi_en/300400_300499/300468/01.13.01_40/en_300468v011301o.pdf

by Marton Balint, 3 years ago

Attachment: iso_text_coding_small.ts added

Sample with 0x10 0x00 0x02 (ISO-8859-2) text encoding

comment:4 by Carl Eugen Hoyos, 3 years ago

Resolution: fixed
Status: openclosed

Fixed in 5c515b5f7d64fb1fccc3e99cd50f01bfbdd2a794 with a lot of help from Marton.

by Carl Eugen Hoyos, 3 years ago

Sample from vlc ticket 8235

Note: See TracTickets for help on using tickets.