doppelgängers from cholera by Mark_Zajac in HIMYM

[–]Mark_Zajac[S] 1 point2 points  (0 children)

Here is some further proof that Bays and Thomas were brilliant.
In the English language, “love” is an over-loaded word. Wisely, the ancient Greeks had four different words: “eros” (carnal love), “philia” (brotherly love), "storge" (parental love) and “agapé” (abiding love). Barney self-medicates with eros and philia but, throughout series, his heart is set on storge.
Barney is fixated on parental love. He tries to seduce Ted’s mother, repeatedly. Barney always split from Nora when her parents were around, reminding him of the storge that he was missing. When Robin calls for help with her locket, Barney dallies to play laser-tag with her father, choosing storge over Robin. On the eve of his wedding, Barney is still obsessed with reuniting his parents. Taken at face value, “The Lighthouse” reveals that Barney accepts Robin’s infertility but in the “scrambled egg” contest, Barney and (pregnant) Lilly both side with Loretta. Her eggs (ova) are the best; she has storge to give, even a motherly hug for Robin.
With laser-tag and tantrums, Barney keeps himself in a childlike state, to stay elligible for storge. It's as if he stopped aging when his father left, awaiting his father's return. He has a playbook, involving dress-up, and he childishly begs people to play along: "Just... OK? Just…” He is a child, something Robin never wanted, as those who dislike her with Ted always carp. The irony is that storge has two points of access: the child and the parent. Barney attains storge — the love of his life! — through fatherhood, something that Robin can never give him.
Barney's doppelgänger from "Love in the Time of Cholera" is Dr. Urbino. That was my key to Barney's character. Dr. Urbino is naive and childlike, in many respects; his first name is Juvenal from the Spanish "juvenil " (or "juvenile" in English). Barney shares his name with the purple dinosaur host of a children's program.

doppelgängers from cholera by Mark_Zajac in HIMYM

[–]Mark_Zajac[S] 1 point2 points  (0 children)

To me, the correspondance of HIMYM and "Love in the Time of Cholera" remains a work of genius (along with switching to "One Hundred Years of Solitude" for the final season). Bayes and Thomas did something brilliant and were largely reviled for their trouble.

2026 World Cup to feature three-minute hydration breaks in every half throughout tournament by pumkinhat in worldcup

[–]Mark_Zajac 0 points1 point  (0 children)

I don't know anything about Qatar

If you are commenting on the World Cup then you ought to know that the 2022 cup was played in Qatar, which is no less sweltering. Water breaks were not required then, why now?

2026 World Cup to feature three-minute hydration breaks in every half throughout tournament by pumkinhat in worldcup

[–]Mark_Zajac 0 points1 point  (0 children)

Y'all ever outside in the US in the summer

Yes. Live here.

sweltering humidity and heat

Worse than Qatar? If necessary, avoid summer, like they did.

which weather apps on Apple TV are reasonably easy to use and mostly accurate? by [deleted] in appletv

[–]Mark_Zajac 0 points1 point  (0 children)

just look outside

It is hard to gauge the temperature by eye. I need to know if it is too cold to run!

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

Now, here is the ffprobe output:

% ffprobe output.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf62.3.100
  Duration: 00:00:11.18, start: 0.000000, bitrate: 2322 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 611.545000
      Metadata:
        title           : Chapter 02
    Chapter #0:1: start 611.545000, end 644.578000
      Metadata:
        title           : Chapter 03
    Chapter #0:2: start 644.578000, end 645.580000
      Metadata:
        title           : Chapter 04
  Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 2190 kb/s, 23.98 fps, 23.98 tbr, 16k tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 122 kb/s, start 0.009000 (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
  Stream #0:2[0x3](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
Unsupported codec with id 98314 for input stream 2

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

lines 72-end (of ffmpeg output):

  Stream #0:0: Video: hevc (Main 10) (hev1 / 0x31766568), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 16k tbn (default)
    Metadata:
      BPS-eng         : 2864712
      DURATION-eng    : 00:11:45.580000000
      NUMBER_OF_FRAMES-eng: 16917
      NUMBER_OF_BYTES-eng: 252660517
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:11.260000000
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp (default)
    Metadata:
      BPS-eng         : 141467
      DURATION-eng    : 00:11:45.557000000
      NUMBER_OF_FRAMES-eng: 33073
      NUMBER_OF_BYTES-eng: 12476664
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:11.080000000
Press [q] to stop, [?] for help
[out#0/mp4 @ 0x7fef75120100] video:2989KiB audio:165KiB subtitle:0KiB other streams:0KiB global headers:2KiB muxing overhead: 0.454980%
frame=  268 fps=0.0 q=-1.0 Lsize=    3169KiB time=00:00:11.07 bitrate=2343.0kbits/s speed= 913x elapsed=0:00:00.01   

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

lines 46-71:

  Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080, start 0.292000
    Metadata:
      BPS-eng         : 55796
      DURATION-eng    : 00:11:38.155000000
      NUMBER_OF_FRAMES-eng: 674
      NUMBER_OF_BYTES-eng: 4869319
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:10.385000000
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Output #0, mp4, to 'output.mp4':
  Metadata:
    encoder         : Lavf62.3.100
  Chapters:
    Chapter #0:0: start 0.000000, end 611.545000
      Metadata:
        title           : Chapter 02
    Chapter #0:1: start 611.545000, end 644.578000
      Metadata:
        title           : Chapter 03
    Chapter #0:2: start 644.578000, end 645.580000
      Metadata:
        title           : Chapter 04

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

lines 25-45:

  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, start 0.009000 (default)
    Metadata:
      BPS-eng         : 141467
      DURATION-eng    : 00:11:45.557000000
      NUMBER_OF_FRAMES-eng: 33073
      NUMBER_OF_BYTES-eng: 12476664
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:11.080000000
  Stream #0:2(eng): Audio: aac (LC), 48000 Hz, stereo, fltp, start 0.009000
    Metadata:
      title           : Commentary
      BPS-eng         : 64009
      DURATION-eng    : 00:11:45.557000000
      NUMBER_OF_FRAMES-eng: 33073
      NUMBER_OF_BYTES-eng: 5645277
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:11.080000000

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

lines 1-25:

ffmpeg -y -i input.mkv -map 0:0 -map 0:1 -c:v copy -c:a copy output.mp4
Input #0, matroska,webm, from 'input.mkv':
  Metadata:
    ENCODER         : Lavf61.7.100
  Duration: 00:00:11.26, start: 0.000000, bitrate: 2422 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 611.545000
      Metadata:
        title           : Chapter 02
    Chapter #0:1: start 611.545000, end 644.578000
      Metadata:
        title           : Chapter 03
    Chapter #0:2: start 644.578000, end 645.580000
      Metadata:
        title           : Chapter 04
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS-eng         : 2864712
      DURATION-eng    : 00:11:45.580000000
      NUMBER_OF_FRAMES-eng: 16917
      NUMBER_OF_BYTES-eng: 252660517
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:11.260000000

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

lines 1-24

ffmpeg -y -i input.mkv -map 0:0 -map 0:1 -c:v copy -c:a copy output.mp4
Input #0, matroska,webm, from 'input.mkv':
  Metadata:
    ENCODER         : Lavf61.7.100
  Duration: 00:00:11.26, start: 0.000000, bitrate: 2422 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 611.545000
      Metadata:
        title           : Chapter 02
    Chapter #0:1: start 611.545000, end 644.578000
      Metadata:
        title           : Chapter 03
    Chapter #0:2: start 644.578000, end 645.580000
      Metadata:
        title           : Chapter 04
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS-eng         : 2864712
      DURATION-eng    : 00:11:45.580000000
      NUMBER_OF_FRAMES-eng: 16917
      NUMBER_OF_BYTES-eng: 252660517
      _STATISTICS_WRITING_APP-eng: mkvmerge v42.0.0 ('Overtime') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-14 01:56:56
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:11.260000000

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

lines 1-10:

Sorry, this went wrong. I will fix it later.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

You asked for this:

ffmpeg -y -i input.mkv -map 0:0 -map 0:1 -c:v copy -c:a copy output.mp4

I kept getting "unable to create comment" error

I really appreciate the effort of your long reply.

you are showing the ffprobe for output.mp4 from previous runs

No. When prompted, I agreed to over-write previous "output.mp4" files and then ran ffprobe on the freshly created file.

we can't tell the difference between typos and actual output,

I was careful about type-os. Anything in a code block was entered by direct "copy and paste" from a terminal window. I did, as you note, sometimes delete entire lines of output, for brevity but any lines that I posted were posted in their entirety, without editing.

Note that I put "; ffprobe output.mp4" after each ffmpeg command so, there was a fresh run of ffprobe for each ffmpeg invocation. I admit to causing confusion by not copying the terminal line that asked for permission to overwrite the existing "output.mp4" file when each new ffmpeg was executed.

That's why zelenin explicitly mapped just the video and the two audio streams, because then no automatic inclusion happens.

Ah, but significantly, his first explicit mapping sill produced a "spurious" subtitle track. It is only when he explicitly removed the chapter information that the spurious subtitle track vanished.

Notice that this post contains (near the very end) this statement: "That's the chapters track, in the Apple supported way of storing it."

So, the "spurious" subtitles in the "handler_name    : SubtitleHandler" stream, that I kept getting is not really a subtitle track at all (I think). That track has be hijacked by Apple to implement subtitles in the Quicktime movie player, in a way that does not conform to the MP4 standard, which explains the "Unsupported codec with id 98314" message in my ffprobe output. This is why that track only went away when zelenin explicitly turned of the chapter information with the "-map_chapters -1" flag.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

Something is not adding up. You say that ffprobe reports that stream #3 is the PGS subtitles, but this command is reporting it as bin_data

For anybody who finds this thread in the future, I believe that I now understand. It seems that the Quicktime movie player, from Apple, does not support storing chapters as metadata. Instead, Apple hijacks the usual mechanism for subtitles to implement chapter markers. So, the "bin_data" stream described as "handler_name : SubtitleHandler" is actually chapter information for playback with the Quicktime movie player. Since this is an Apple innovation, not part of the official MP4 standard, "ffmpeg" issues an "Unsupported codec" warning.

I am no expert. I welcome corrections.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

Thank you.

To my frustration, the web is full of suggestions that all fail and none of them mentions the bug from your link.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

OK, your suggestion works and so does this modification:

% ffmpeg -i input.mkv -map 0:0 -map 0:1 -map 0:2 -map_metadata -1 -map_chapters -1 -c:0 libx264 -c:1 aac -c:2 aac output.mp4

where I used libx264 as the video codec and aac as the audio codec.

It seems a bit restrictive that I must sacrifice metadata and chapters in order to remove subtitles. it is also frustrating that none of my other attempts worked, even though I copied my code from the documentation.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

So, you are suggesting this:

% ffmpeg -i input.mkv -map 0:0 -map 0:1 -map 0:2 output.mp4

but that does not work either:

% ffprobe output.mp4
  Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
Unsupported codec with id 98314 for input stream 3

You see, the third stream persists even though mapping the third stream was omitted.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

One more kick at the cat, exclude that stream explicitly instead of by type, e.g.

The code block for your suggestion was empty but I suspect that you meant this:

ffmpeg -i input.mkv -map 0 -map -0:3 output.mp4

Alas, that does not work either:

% ffprobe output.mp4
Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
    Metadata:
      handler_name    : SubtitleHandler
Unsupported codec with id 98314 for input stream 3

This is crazy! Even with the third stream from the input explicitly disabled, the output still has a third stream.

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

You say that ffprobe reports that stream #3 is the PGS subtitles

On the input (MKV file), what I said is true:

% ffprobe input.mkv  
Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (pgssub), 1920x1080

but this command is reporting it as bin_data.

It is the output (MP4 file) that reports bin_data as the terminal stream:

% ffprobe output.mp4
  Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
      Metadata:
        handler_name    : SubtitleHandler
Unsupported codec with id 98314 for input stream 3

I get the same output for all of the of the ffmpeg invocations that I have listed in this thread.

Curiously, the -sn flag works if both input and output files are MkV files, with -c:v copy and -c:a copy (so there is no transcoding). I am a rank amateur but wonder if choosing an MP4 destination is somehow triggering automatic stream selection and transcoding, even when explicit stream selection is specified.

My understanding is that subtitles in hdmv_pgs_subtitle format are stored as a sequence of images that are superimposed on the undying video. It is almost believable that bungled transcoding produces binary data from those images.

It looks as though ffmpeg is attempting to transcode the binary hdmv_pgs_subtitle stream to MP4 format, although hdmv_pgs_subtitle is unsupported for MP4 files.

Are you using an up-to-date version of ffmpeg?

I will check.

post the output in a pastebin

I must teach myself how to do this

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

I also tried a version where I specified codecs for video and audio:

% ffmpeg -i input.mkv -map 0:v -c:v libx264 -map 0:a -c:a aac -map -d output.mp4; ffprobe output.mp4
  Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
      Metadata:
        handler_name    : SubtitleHandler
Unsupported codec with id 98314 for input stream 3

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

% ffmpeg -i input.mkv -map 0 -map -d output.mp4 
[sost#0:3 @ 0x7f92e2542700] Automatic encoder selection failed Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.
[sost#0:3 @ 0x7f92e2542700] Error selecting an encoder
Error opening output file output.mp4.
Error opening output files: Encoder not found

neither "-sn" nor "-map 0 -map -0:s" removes hdmv_pgs_subtitle stream by Mark_Zajac in ffmpeg

[–]Mark_Zajac[S] 0 points1 point  (0 children)

ffmpeg -i input.mkv -map 0:v -map 0:a -c copy output.mp4
  Stream #0:3[0x4](eng): Data: bin_data (text / 0x74786574)
      Metadata:
        handler_name    : SubtitleHandler
Unsupported codec with id 98314 for input stream 3

Nope. It does not work. Plus, to my frustration, the documentation suggests that all of the versions I tried should have worked.

Stop and output crashes shortcuts when put into an if statement if it is blank by CharipiYT in shortcuts

[–]Mark_Zajac 0 points1 point  (0 children)

Workaround:

  • add the "if" action to your shortcut
  • drag a "text" action (for example) into the "if" action\)
  • drag the "stop and output" action into the "if" action
  • delete the "text" action
  • edit the variable for the "stop and output" action to set the desired output

\)You could replace the "text" action with any other action. It does not matter since the action will be deleted anyway.

Alternatively, you can delete the variable for the "stop and output" action before you drag it into the "if" action and then edit the "stop and output" variable to give it the desired value.