0.85b2: Manually set video position ignored

Moderators: cday, XnTriq, helmut, xnview, Dreamer

User avatar
helmut
Posts: 8116
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

0.85b2: Manually set video position ignored

Postby helmut » Wed Mar 29, 2017 2:04 pm

XnView: MP 0.85b2 - 64 bit
OS: Windows 10 - 64 bit

When setting video position manually of a video that has ended before, the video position is ignored and the video plays from the start.

Video Player:

To reproduce:
1. Make sure that you use the internal video player of XnView which is the default (useInternalVideoPlayer=true)
2. In XnView Browser select a short video
--> The preview shows the video and the video plays.
3. Let the video play till it ended.
4. Move the slider to a position in the middle of the video.
5. Press "Play" button
Actual behaviour (bug): Video plays from start.

Expectected behaviour: Video plays from position that was set in above step 4.

Related topic / bug report:
- 0.85b2: Video position is lost sometimes

arspr
Posts: 56
Joined: Sat Mar 25, 2017 12:25 pm

Re: 0.85b2: Manually set video position ignored

Postby arspr » Thu Mar 30, 2017 9:21 pm

I can confirm this issue.

Nevertheless, internal player is quite "rubbish". In my system (i5-4590) it just cannot smoothly play even H264 files at 720p (with H265 in 1080p it is just insufferable).

I won't spend much time with this feature (internal player) specially when you have WONDERFUL free players/codecs like LAV Filters which support even GPU acceleration.

I really think the default value of useInternalVideoPlayer should be false... The internal Video Player seems quite unoptimized (hey, you cannot do everything on your own) and should be left as a last resource.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: 0.85b2: Manually set video position ignored

Postby Dreamer » Thu Mar 30, 2017 10:02 pm

Confirmed in 0.85 beta 4 and 0.84 - 64 bit, Win 10 64 bit.

:arrow: Reproduced

arspr wrote:I really think the default value of useInternalVideoPlayer should be false...

I disagree. XnView is not a video player, with the option "true" most video formats are working, while with "false" just AVI files work good without special codecs. Users don't use these codecs so often now, I used ffdshow for example, but I don't need it now, video players can play any format without codecs now, so the XnView video player would be unusable for most(?) users.

Moreover, normal users don't know how to chage the ini file, or don't speak English, so they can't even find the info how to solve that issue. For advanced users, who don't want to use internal player, it's easy to change this ini option or/and find more info about it.
Dreamer

User avatar
helmut
Posts: 8116
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b2: Manually set video position ignored

Postby helmut » Fri Mar 31, 2017 6:43 am

Dreamer wrote:Confirmed in 0.85 beta 4 and 0.84 - 64 bit, Win 10 64 bit.
Thank you for reproducing, Dreamer.

arspr wrote:I really think the default value of useInternalVideoPlayer should be false...
I also disagree. Though a setting in the user interface should be added for this, soon. Wading through the config file 'xnview.ini' to set internal or external video player is cumbersome.

arspr
Posts: 56
Joined: Sat Mar 25, 2017 12:25 pm

Re: 0.85b2: Manually set video position ignored

Postby arspr » Fri Mar 31, 2017 10:29 am

You've got a tough decision here, guys.

XnView video capabilities are HORRIBLE. And I suppose improving them is not easy task. So XnView will worsen the user experience in already capable systems.

But horrible capabilities is better than no capabilities in not ready systems...

You have to chose the lesser evil which is never an easy decision.

I don't know if it is possible but, maybe, the best solution would be detecting the situation upon installation and then making a explained suggestion to the user (which he could always override). And, sure, Settings should offer an option about this feature...

User avatar
helmut
Posts: 8116
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.85b2: Manually set video position ignored

Postby helmut » Fri Mar 31, 2017 11:06 am

arspr wrote:You've got a tough decision here, guys.

XnView video capabilities are HORRIBLE. ...
Thank you for the clear words, arspr. An automatic detection of external video players would be a good thing but I'm not sure whether this is feasible and reliable. As written above a setting is needed and perhaps the selection of internal/external video player can be put on the first start dialog.

@Pierre: Is it possible to find out about the existence and capabilites of the external default video player? Could there be something like an automatic detection when starting XnView for the very first time?

arspr
Posts: 56
Joined: Sat Mar 25, 2017 12:25 pm

Re: 0.85b2: Manually set video position ignored

Postby arspr » Fri Mar 31, 2017 2:42 pm

Related bugs/issues about Internal Video player:

  • Manually set video position is ignored when you try to re-play H264 files... but Play button doesn't directly work again with H265 files. (At least with H265 mp4 files from my Samsung NX1 camera). When the video finishes you cannot replay it. Play button changes into pause when you click on it but the movie doesn't play again. No matter where you put the position slider. If I want to re-play the clip I have to unselect it/select it again. This issue doesn't happen when the external LAV Filters are used...
  • About performance. Look at the attached screenshot. That clip from my NX1 is 1920x1080 HEVC (H265) at 18926 kbit/s. It stutters A LOT but curiously XnView is not even fully using the 4 cores of my i5...
Attachments
Internal Video Player CPU usage (at least with H265 files).jpg

arspr
Posts: 56
Joined: Sat Mar 25, 2017 12:25 pm

Re: 0.85b2: Manually set video position ignored

Postby arspr » Wed Apr 05, 2017 9:14 pm

Official 0.85 remains completely unchanged:

  • H264 files replay from the start of the clip.
  • H265 files don't replay. Some more new info: when playing this kind of files, (at least from my NX1), the play/pause button remains showing pause even when the file has ended. It seems XnView does not "stop" the file at the end and therefore you cannot replay it. (With other movies, or with these ones but using the external player, when the clip ends, the play/pause button changes to play as expected).
  • CPU usage remains identical.

(Going to bed... no more time for re-testing more bugs in 0.85).

arspr
Posts: 56
Joined: Sat Mar 25, 2017 12:25 pm

Re: 0.85b2: Manually set video position ignored

Postby arspr » Sun Apr 23, 2017 1:44 pm

New info based on the substitution of 0.85 QtAV1.dll by 0.83 QtAV.dll explained in this thread:

  • The bug remains present.
  • But, at least, my H.265 files behave in the very same way as H.264 ones do.

User avatar
xnview
Author of XnView
Posts: 27690
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85b2: Manually set video position ignored

Postby xnview » Sat Jun 17, 2017 6:29 pm

O.k., thank you, I can also reproduce the problem. Issue 1209 is fixed in next version.
Pierre.

User avatar
xnview
Author of XnView
Posts: 27690
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85b2: Manually set video position ignored

Postby xnview » Sat Jul 08, 2017 12:46 pm

This problem is supposed to be fixed in XnView MP 0.87. Please check and confirm the bug fix here.
Pierre.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: 0.85b2: Manually set video position ignored

Postby Dreamer » Sun Jul 09, 2017 3:08 pm

Original bug fixed in beta 1, but...

If the video ends again, press Play button again and the video is started from the middle, always.

Moreover, if you press the rewind button [|<<], video still starts from the middle position.
Dreamer

User avatar
xnview
Author of XnView
Posts: 27690
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85b2: Manually set video position ignored

Postby xnview » Mon Jul 10, 2017 12:56 pm

Dreamer wrote:If the video ends again, press Play button again and the video is started from the middle, always.
Moreover, if you press the rewind button [|<<], video still starts from the middle position.

You select a video, play it, and at the ends press play again, right?
Pierre.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: 0.85b2: Manually set video position ignored

Postby Dreamer » Mon Jul 10, 2017 7:28 pm

1. Make sure that you use the internal video player of XnView which is the default (useInternalVideoPlayer=true)
2. In XnView Browser select a short video
--> The preview shows the video and the video plays.
3. Let the video play till it ended.
4. Move the slider to a position in the middle of the video.
5. Press "Play" button
6. Video plays from the middle (correct).

7. Let the video play till it ended.
8. Press "Play" button.
9. Video plays from the middle (incorrect).

10. Let the video play till it ended.
11. Now press "Rewind" button.
12. Video plays from the middle (incorrect).

Video should start from start, at least if the "Rewind" button is used.
Dreamer

User avatar
xnview
Author of XnView
Posts: 27690
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85b2: Manually set video position ignored

Postby xnview » Thu Jul 13, 2017 11:03 am

Dreamer wrote:1. Make sure that you use the internal video player of XnView which is the default (useInternalVideoPlayer=true)
2. In XnView Browser select a short video
--> The preview shows the video and the video plays.
3. Let the video play till it ended.
4. Move the slider to a position in the middle of the video.
5. Press "Play" button
6. Video plays from the middle (correct).

7. Let the video play till it ended.
8. Press "Play" button.
9. Video plays from the middle (incorrect).

10. Let the video play till it ended.
11. Now press "Rewind" button.
12. Video plays from the middle (incorrect).

Video should start from start, at least if the "Rewind" button is used.

ok, but here it seems to be a bug in QtAV
Pierre.


Return to “0.87 Testing – Fixed/Resolved”

Who is online

Users browsing this forum: No registered users and 1 guest