#9114 closed defect (invalid)
[MPEG-TS] Metadata tables not copied when remuxing to .ts container
Reported by: | droid-xx | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | mpegts |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
MPEG-2 PSI tables not copied over:
CAT
DVB SI tables not copied (and probably more which I couldn't verify):
AIT, EIT, NIT, TDT, TOT
As far as I can tell only SDT is copied when -map_metadata 0:p
is added, otherwise an SDT is created with default service name & provider fields.
Perhaps this is intended behavior and it's not in ffmpeg's scope to copy all these tables, but -map_metadata
should at least include some more tables like NIT.
Sample .ts container with SDT and NIT:
https://github.com/aventuri/opencaster/tree/master/tutorials/start-here
Change History (10)
comment:1 by , 4 years ago
follow-up: 3 comment:2 by , 4 years ago
Keywords: | dvb metadata removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
To the best of my knowledge, this is a misunderstanding wrt how FFmpeg works.
comment:3 by , 4 years ago
Replying to cehoyos:
To the best of my knowledge, this is a misunderstanding wrt how FFmpeg works.
and what FFmpeg is.
comment:4 by , 4 years ago
Which part is a misunderstanding? There's a .ts container with a NIT. If you want to make a change, add a stream, modify a disposition, or whatever, will result in a .ts container without the NIT. So, network name is gone for example, whereas -map_metadata will preserve SDT. It could also preserve NIT (as an example)...
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-November/018425.html
ffmpeg will also drop other information as well from the input .ts container, e.g. a lot of descriptors are gone insted of copied over (not described in this ticket). Isn't that something that should be fixed?
comment:5 by , 4 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 by , 4 years ago
Re-opening this so that my recent comment is not lost.
I won't re-open this again if you insist to mark it as invalid.
comment:7 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
comment:9 by , 4 years ago
You can use TransEdit 4.2.1.1 to see this stuff.
There is PAT, NIT, SDT...
comment:10 by , 4 years ago
I can use several tools to see the tables. It's not about seeing this stuff but about preserving it in the output.
Example command line output when remuxing above .ts container (only SDT is copied):