#7744(undetermined:new): ffmpeg doesn't force vtag to MPEGTS
#7744: ffmpeg doesn't force vtag to MPEGTS --------------------------------------+---------------------------------- Reporter: zoolog | Type: defect Status: new | Priority: normal Component: undetermined | Version: 4.1 Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------------+---------------------------------- Summary of the bug: I have the TS file, where I can see codec_tag_string setted to HEVC. This file is played by LG, Toshiba etc. tv's. When I'm trying to force this media format identifier to my file with ffmpeg with -vtag param, I can see codec_tag_string in FFmpeg output but the output file stays without changes. Example file 33-06000.ts with codec_tag_string=HEVC attached. Input file 5000-000.ts for test attached as well. ffmpeg version 4.1.1 How to reproduce: {{{/usr/bin/ffmpeg -hide_banner -i /5000-000.ts -vtag HEVC -vcodec copy -acodec copy -sn -f mpegts 50.ts}}} Input #0, mpegts, from '/5000-000.ts': Duration: 00:00:05.31, start: 1.400000, bitrate: 13307 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s Output #0, mpegts, to '50.ts': Metadata: encoder : Lavf58.20.100 Stream #0:0: Video: hevc (Main 10) (HEVC / 0x43564548), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 192 fps=0.0 q=-1.0 Lsize= 9101kB time=00:00:05.26 bitrate=14149.7kbits/s speed= 304x video:8334kB audio:84kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.112041% {{{ffprobe -hide_banner 50.ts}}} Input #0, mpegts, from '50.ts': Duration: 00:00:05.31, start: 1.400000, bitrate: 14038 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: 4.1 | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by zoolog): 33-06000.ts: {{{https://dropmefiles.com/FIftm}}} 5000-000.ts: {{{https://dropmefiles.com/3I0Yx}}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * version: 4.1 => unspecified Comment: Please understand that only bug reports against current FFmpeg git head and without the `-hide_banner` options are valid. The download links you provided do not work here. The `tag` option cannot work for all formats, it does not work for mpegts. What is wrong with the output file you get? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by zoolog): If it is nessesary, I can show the same bahavior on latest git and without hide_banner, but the main thing is not at that. The main question is how to specify the format identifier to mpegts. Codec tag string is possible and works on mpegts, you can see it on example file I have attached 33-06000.ts If the download links don't work here, how can I provide it? Filesize is more than 2.5 MB and I cannot attache it here directly. Thank you for the answer -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Old description:
Summary of the bug: I have the TS file, where I can see codec_tag_string setted to HEVC. This file is played by LG, Toshiba etc. tv's. When I'm trying to force this media format identifier to my file with ffmpeg with -vtag param, I can see codec_tag_string in FFmpeg output but the output file stays without changes.
Example file 33-06000.ts with codec_tag_string=HEVC attached. Input file 5000-000.ts for test attached as well.
ffmpeg version 4.1.1
How to reproduce:
{{{/usr/bin/ffmpeg -hide_banner -i /5000-000.ts -vtag HEVC -vcodec copy -acodec copy -sn -f mpegts 50.ts}}} Input #0, mpegts, from '/5000-000.ts': Duration: 00:00:05.31, start: 1.400000, bitrate: 13307 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s Output #0, mpegts, to '50.ts': Metadata: encoder : Lavf58.20.100 Stream #0:0: Video: hevc (Main 10) (HEVC / 0x43564548), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 192 fps=0.0 q=-1.0 Lsize= 9101kB time=00:00:05.26 bitrate=14149.7kbits/s speed= 304x video:8334kB audio:84kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.112041%
{{{ffprobe -hide_banner 50.ts}}} Input #0, mpegts, from '50.ts': Duration: 00:00:05.31, start: 1.400000, bitrate: 14038 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s
New description: Summary of the bug: I have the TS file, where I can see codec_tag_string setted to HEVC. This file is played by LG, Toshiba etc. tv's. When I'm trying to force this media format identifier to my file with ffmpeg with -vtag param, I can see codec_tag_string in FFmpeg output but the output file stays without changes. Example file 33-06000.ts with codec_tag_string=HEVC attached. Input file 5000-000.ts for test attached as well. ffmpeg version 4.1.1 How to reproduce: {{{ /usr/bin/ffmpeg -hide_banner -i /5000-000.ts -vtag HEVC -vcodec copy -acodec copy -sn -f mpegts 50.ts Input #0, mpegts, from '/5000-000.ts': Duration: 00:00:05.31, start: 1.400000, bitrate: 13307 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s Output #0, mpegts, to '50.ts': Metadata: encoder : Lavf58.20.100 Stream #0:0: Video: hevc (Main 10) (HEVC / 0x43564548), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc Stream #0:1(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy) Press [q] to stop, [?] for help frame= 192 fps=0.0 q=-1.0 Lsize= 9101kB time=00:00:05.26 bitrate=14149.7kbits/s speed= 304x video:8334kB audio:84kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.112041% }}} {{{ ffprobe -hide_banner 50.ts Input #0, mpegts, from '50.ts': Duration: 00:00:05.31, start: 1.400000, bitrate: 14038 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 126 kb/s }}} -- Comment (by cehoyos): The `tag` option cannot work for all formats, it does not work for mpegts. What is wrong with the output file you get? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by zoolog): My output file cannot be opened on LG and Toshiba TVs, example file with codec_tag_string=HEVC is played without any problems. in output file I get I have codec_tag_string=[36][0][0][0] in example 33-06000.ts file codec_tag_string=HEVC How can I make "codec_tag_string=HEVC" for output TS file with ffmpeg? -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by cehoyos): Replying to [comment:5 zoolog]:
My output file cannot be opened on LG and Toshiba TVs, example file with codec_tag_string=HEVC is played without any problems.
Did you report this bug to the manufacturers? Did you test using such a file as input for FFmpeg?
in output file I get I have codec_tag_string=[36][0][0][0] in example 33-06000.ts file codec_tag_string=HEVC How can I make "codec_tag_string=HEVC" for output TS file with ffmpeg? You cannot.
-- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: ffmpeg doesn't force vtag to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: defect | Status: new Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: vtag mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by zoolog): Ticket #2162 is related to my topic. How can I request to add this feature? The field name for TS track is format_identifier. dvbsnooop output for video track: Stream_type: 36 (0x24) [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 reserved] Elementary_PID: 211 (0x00d3) MPEG-DescriptorTag: 5 (0x05) [= registration_descriptor] descriptor_length: 4 (0x04) '''format_identifier''': 1212503619 (0x48455643) [= see: SC29] HEVC -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: task | Status: open Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: | Blocked By: format_identifier mpegts | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by zoolog): * keywords: vtag mpegts => format_identifier mpegts * status: new => open * type: defect => task -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------- Reporter: zoolog | Owner: Type: enhancement | Status: open Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: | Blocked By: format_identifier mpegts | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by zoolog): * type: task => enhancement -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------ Reporter: zoolog | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: format_identifier mpegts => mpegts * priority: normal => wish * version: unspecified => git-master * component: undetermined => avformat Comment: Please test this patch and report back: http://ffmpeg.org/pipermail/ffmpeg-devel/2019-February/240438.html -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------ Reporter: zoolog | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by zoolog): Now it is working ok -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:11> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------ Reporter: zoolog | Owner: Type: enhancement | Status: closed Priority: wish | Component: avformat Version: git-master | Resolution: fixed Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by zoolog): * status: open => closed * resolution: => fixed -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:12> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------ Reporter: zoolog | Owner: Type: enhancement | Status: closed Priority: wish | Component: avformat Version: git-master | Resolution: fixed Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by Sami32): @zoolog Well done +1 It seem similar to the issues #2162 and #5837 except that they are about AC-3 descriptor in MPEG-TS. Do you think that you could fix it the same way? Regards, -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:13> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7744: adding format_identifier via -tag[:specifier] to MPEGTS -------------------------------------+------------------------------------ Reporter: zoolog | Owner: Type: enhancement | Status: closed Priority: wish | Component: avformat Version: git-master | Resolution: fixed Keywords: mpegts | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by cehoyos): The patch was committed as 837f2c97984a259f8fef8be13569f937fa3513f1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/7744#comment:14> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg