Author Topic: "Flashing sequence of pictures" instead of smooth video resulted...  (Read 1365 times)

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2062
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #15 on: May 22, 2018, 07:02:14 PM »
Thanks, we are on it at the moment, don't think that we need new samples. Currently, the problem looks like a ffmpeg bug, there is a workaround as the last resort.

The stream is field-encoded, which is very uncommon nowadays. When the keyframe (the first field) is fed to lavcodec after decoder flush, it immediately pops out a bogus gray image instead of waiting for the second field.
« Last Edit: May 22, 2018, 07:18:29 PM by eumagga0x2a »

EFuggerth

  • Newbie
  • *
  • Posts: 14
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #16 on: May 22, 2018, 07:28:01 PM »
While embracing the good news, I beg of Lord this bug not to escalate into buggery.
« Last Edit: May 22, 2018, 07:30:46 PM by EFuggerth »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2062
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #17 on: May 24, 2018, 07:17:59 PM »
Mean has independently found the solution and then identified the upstream fix for FFmpeg which solves this issue and pushed the changes necessary to integrate this patch into Avidemux. You might want to try the latest nightly (r180524 at the moment). Please be aware that you won't be able to save a similar field-encoded mpeg2 video in copy mode yet.
« Last Edit: May 24, 2018, 07:22:48 PM by eumagga0x2a »

EFuggerth

  • Newbie
  • *
  • Posts: 14
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #18 on: May 31, 2018, 04:35:17 PM »
This Mean-news is happy-news, rather.
(Sorry for my being late with checking your newest “nightly”.)
Full visibility on tracking the frames is restored, indeed. (So, manipulations can now be followed again.)
HOWEVER: The complete (cut) film [if it comes from appending and saving the Avidemux-manipulated segments of the fixed broadcast] (on the usual “VLC” replay) exhibits a marked, extremely disturbing asynchrony between pictures and voices. [N.B.: the saving-process of the appended parts onto a single-part film is unusually slow.] On the contrary: No such asynchrony emerges if the resulting film is made by appending the original segments first and then Avidemux-manipulating the whole [and saving it (in an output format “Mpeg2 TS muxer (ff)”)]. (Wherefore, incorporating a direction running this way into your next nightly could be useful.)
This I experienced after several trials.
How further then?
Your last sentence in the latest message warns as “Please be aware that you won't be able to save a similar field-encoded mpeg2 video in copy mode yet.” Does it mean I should be expecting some further refining?

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2062
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #19 on: May 31, 2018, 10:56:36 PM »
As stated above, the copy mode for field-encoded video is broken. Fix upcoming.

Re-encoding (adding a good deinterlacer is highly recommended) should work.

EFuggerth

  • Newbie
  • *
  • Posts: 14
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #20 on: August 03, 2018, 04:20:06 PM »
Your latest version (2.7.1) solved my pending archive-manipulations with success. (Though small bugs must still be hiding, they cause manageable inconvenience for the resolved.)
Wherefore:
A prominent Newbie having rambled leeward on forbidden pastures for an embarrassing period (with a relentless series of 66 winters survived) wishes to express his gratitude for this session and for all your hero-members’ work behind.
Rewarding or not, I hereby take the boldness and attach a picture of “Siberian Honey-berry” [taken on a domesticated species in my garden], if for not other reasons than to spare the inconveniences of travelling there to see it.
Whereby to earn respect for the Newbian colors.


eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2062
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #21 on: August 03, 2018, 04:36:47 PM »
Quote
Though small bugs must still be hiding, they cause manageable inconvenience for the resolved.

Have you tested with the latest available nightly build (r180702 so far)? If the bugs persist, it would be nice to get to know what these bugs are.

EFuggerth

  • Newbie
  • *
  • Posts: 14
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #22 on: August 03, 2018, 06:21:20 PM »
Not yet.
Nightly 2.7.0 (180524) had already solved the main issue, then – out of a sudden – came a 2.7.1 version when making the robot of archiving. This latter worked more stable.
The hiding bugs must be somewhat tricky, for the peccadilloes are not predictable: The symptoms can be described clear, but there is no telling when the problem surfaces and when it decides not to. And so long as it remains so random in nature, I do not want to rob you of innocent nights.
Should your curiosity persist, however, I’ll offer details made with the latest nightly available at the time – soon as I am over some tedious other tasks, and a newer bunch of films are crying for my nursing. But I fear, that to trap efficiently these hiding little monsters would require real-samples again, of appreciable sizes.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 2062
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #23 on: August 03, 2018, 09:39:42 PM »
That nightly contains fixes for regressions https://avidemux.org/smif/index.php/topic,18363.0.html (playback stuttering or stuck after going to the previous frame) and for https://avidemux.org/smif/index.php/topic,18382.0.html ("fade to black" filter broken). One pretty important fix of audio delay calculation in the Mp4 demuxer has been added after the nightly was built.

If the issues you see are different, please provide more details.

EFuggerth

  • Newbie
  • *
  • Posts: 14
Re: "Flashing sequence of pictures" instead of smooth video resulted...
« Reply #24 on: August 04, 2018, 02:37:56 PM »
Will reflect – soon as material to deal with gathers…