Author Topic: 2.7.5 64-bit having strange crash  (Read 858 times)

dosdan

  • Full Member
  • ***
  • Posts: 157
Re: 2.7.5 64-bit having strange crash
« Reply #15 on: September 06, 2019, 12:13:33 AM »
I see that what you've put is a "find" utility.  But how am I supposed to know what to look for? 

As eumagga0x2a previously mentioned, search for (include the double inverted commas around the string):

"Reinit context to"

The command needed is:

ffplay -debug pict media_file_to_be_checked 2>&1 | find /i "Reinit context to"

As he mentioned (https://avidemux.org/smif/index.php/topic,18831.msg87195.html#msg87195), this string, when reported while operating in fflplay's debug mode, will be associated with the occurrence of an on-the-fly video resolution change:

Quote
Reinit context to 1088x624, pix_fmt: yuv420p


Dan.
« Last Edit: September 06, 2019, 12:26:32 AM by dosdan »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: 2.7.5 64-bit having strange crash
« Reply #16 on: September 06, 2019, 05:40:35 AM »
@dosdan:

Does it mean that the cmd.exe syntax for redirecting stderr to stdin is the same as in bash?

dosdan

  • Full Member
  • ***
  • Posts: 157
Re: 2.7.5 64-bit having strange crash
« Reply #17 on: September 06, 2019, 06:28:31 AM »
@dosdan:

Does it mean that the cmd.exe syntax for redirecting stderr to stdin is the same as in bash?

Don't know bash.

cmd.exe has become fairly powerful these days:  https://ss64.com/nt/syntax-redirection.html

https://ss64.com/nt/

4DOS/4OS2/4NT/Total Command Console was and still is a more powerful command interpreter than either command.com or cmd.exe (https://en.wikipedia.org/wiki/4DOS)
« Last Edit: September 06, 2019, 06:36:27 AM by dosdan »

dosdan

  • Full Member
  • ***
  • Posts: 157
Re: 2.7.5 64-bit having strange crash
« Reply #18 on: September 06, 2019, 07:26:31 AM »
BTW, here's a GnuWin version of grep:

https://sourceforge.net/projects/gnuwin32/files/grep/2.5.1-2/grep-2.5.1-2-bin.exe/download

Window's FIND & FINDSTR may have problems in binary files due to "line length" limitations. This port of grep may be better in this regard.

Dan.



 

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: 2.7.5 64-bit having strange crash
« Reply #19 on: September 06, 2019, 07:28:28 AM »
I refer to 2>&1 part of the bash command line.

dosdan

  • Full Member
  • ***
  • Posts: 157
Re: 2.7.5 64-bit having strange crash
« Reply #20 on: September 06, 2019, 08:54:37 AM »
I refer to 2>&1 part of the bash command line.

That's been in CMD for a long time, I think from the very start of Windows NT (1993).

The redirection of STDERR wasn't possible in DOS's command.com, but it was in 4DOS (1989) because that was modelled on unix.

Dan.
« Last Edit: September 06, 2019, 08:58:57 AM by dosdan »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3400
Re: 2.7.5 64-bit having strange crash
« Reply #21 on: September 06, 2019, 09:36:54 AM »
Good to know, thanks.