Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sfeMovie project [v1.0 RC1 available]  (Read 136847 times)

0 Members and 2 Guests are viewing this topic.

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #150 on: June 18, 2012, 11:20:05 am »
Hi

There was an sfeMove demo of Big Buck Bunny running on the Windows version (i.e. all compiled and ready to run) - where is that file located now? I just need to test it on some hardware to make sure it works!

Thanks
Ed
SFML 2.1

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #151 on: June 18, 2012, 01:26:59 pm »
No, the bug is this: https://bugs.freedesktop.org/show_bug.cgi?id=49817.
From what I understood, it's related to SFML, not to sfeMovie. Thus I guess I can't do much about it, or did I miss something?

Actually, I also got a segfault using the same movie but encoded with a different quality.
I think is the same error but just in case, here is the backtrace: [...]
Yes it's the same error.

If by "disable assembler optimizations" do you mean to build ffmpeg with the "--disable-asm" flag, then I also got a segfault with this backtrace: [...]
That's indeed what I mean, and you're right, it stills crashes :-\. I guess I'll have to search deeper for what's wrong there.

There was an sfeMove demo of Big Buck Bunny running on the Windows version (i.e. all compiled and ready to run) - where is that file located now? I just need to test it on some hardware to make sure it works!
Sure, here it is: http://tinyurl.com/sfeMovieDemo (166 MB)
Want to play movies in your SFML application? Check out sfeMovie!

Rogof

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #152 on: June 19, 2012, 01:29:53 am »
Quote from: Ceylo
From what I understood, it's related to SFML, not to sfeMovie. Thus I guess I can't do much about it, or did I miss something?

Yes, the problem is either something in SFML or in the radeon driver. I will try using the catalyst driver to see if the same thing happens, but my guess is that it only affects the open source driver.

EDIT: The catalyst driver does not have this issue.

I've compiled the ffplay that comes with the ffmpeg in the deps directory to see if the problem is swscale, but it plays (almost) without problems with it.

note: I compiled ffmpeg with the flags used by the build script + the --disable-avfilter flag since ffplay uses it instead of swscale if compiled.
« Last Edit: June 19, 2012, 05:36:21 am by Rogof »

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #153 on: June 19, 2012, 09:35:46 am »
EDIT: The catalyst driver does not have this issue.
Good to know :) .

I've compiled the ffplay that comes with the ffmpeg in the deps directory to see if the problem is swscale, but it plays (almost) without problems with it.
Yeah I don't expect sws_scale() to be buggy, I must have done something wrong earlier. I've already checked the parameters given to sws_scale() in 32 bits and 64 bits and they're the same (I suspected wrong computations due to the sizes of types), so it should be because of a mistake somewhere else.
Want to play movies in your SFML application? Check out sfeMovie!

waxx

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #154 on: June 22, 2012, 09:45:49 pm »
Is there any option to use this in SFML 1.6?

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #155 on: June 22, 2012, 11:34:15 pm »
Uh... I gave up on SFML 1.6 a... very long time ago. Even in the first (buggy) beta I was already using SFML 2.0. Thus no, sfeMovie isn't usable with SFML 1.6.


Edit: but thank you, thanks to you I found out very old projects I had written, and I'm kinda nostalgic now :D .
« Last Edit: June 22, 2012, 11:36:46 pm by Ceylo »
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #156 on: July 01, 2012, 05:57:29 pm »
Yeah I don't expect sws_scale() to be buggy, I must have done something wrong earlier. I've already checked the parameters given to sws_scale() in 32 bits and 64 bits and they're the same (I suspected wrong computations due to the sizes of types), so it should be because of a mistake somewhere else.
The crash with sws_scale() has been fixed :) . I could successfully play movies with Linux 64 bits and OS X with GuardMalloc enabled (the later was actually reporting the same sws_scale() error).

Tell me if everything works fine for you! (use the latest sources from the Git repository)
Want to play movies in your SFML application? Check out sfeMovie!

Rogof

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #157 on: July 01, 2012, 09:05:57 pm »
Yes, the video plays without crashing, even those encoded with ffmpeg2theora. The only problem is that the audio still lags.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #158 on: July 01, 2012, 09:07:41 pm »
Yes, the video plays without crashing, even those encoded with ffmpeg2theora. The only problem is that the audio still lags.
You mean that audio is late ? Yeah I still didn't look at this issue yet. Everything in its own time :) .
« Last Edit: July 01, 2012, 09:39:47 pm by Ceylo »
Want to play movies in your SFML application? Check out sfeMovie!

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #159 on: July 01, 2012, 10:52:32 pm »
As for audio, it's late only when I do a stop (S) or restart (R) command with the sample player. Is it the same for you or does it also occur when launching the program ?
Want to play movies in your SFML application? Check out sfeMovie!

Rogof

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #160 on: July 01, 2012, 10:57:15 pm »
When starting the sample program.
« Last Edit: July 01, 2012, 11:04:12 pm by Rogof »

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #161 on: July 01, 2012, 11:36:54 pm »
I couldn't get audio to be late at launch. Even if I've an idea to fix this if it's what I think of. Does it resync when you do pause/play (Space) ?
Want to play movies in your SFML application? Check out sfeMovie!

Rogof

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #162 on: July 01, 2012, 11:54:49 pm »
Quote from: Ceylo
I couldn't get audio to be late at launch. Even if I've an idea to fix this if it's what I think of. Does it resync when you do pause/play (Space) ?

Yes, it does.

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
Re: sfeMovie project [v1.0 RC1 available]
« Reply #163 on: July 02, 2012, 01:20:53 am »
I did another push. Can you tell me whether audio is still desynchronized when launching the sample program ?
Want to play movies in your SFML application? Check out sfeMovie!

Rogof

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: sfeMovie project [v1.0 RC1 available]
« Reply #164 on: July 02, 2012, 02:02:07 am »
I did another push. Can you tell me whether audio is still desynchronized when launching the sample program ?

Unfortunately, it is.

 

anything