olivierfriard / BORIS

Behavioral Observation Research Interactive Software
http://www.boris.unito.it
GNU General Public License v3.0
170 stars 34 forks source link

Video Won't Play #65

Closed katrinabrock closed 7 years ago

katrinabrock commented 7 years ago

Hello, I have created an mp4 video with matplolib.animation.FuncAnimation() with ffmpeg writer. I can load it into BORIS, but will not play. It is one frame per second, would that potentially cause BORIS to choke? Is there a log somewhere where an error message might appear to give me some hints? Appreciative of any help.

Video plays properly on QuickTime on Mac OS X and on Videos on Ubuntu.

BORIS Symptoms on Mac OS X Video loads advances one frame (one second) and does not advance any further. Progress bar advances. BORIS Mac OS X Install info BORIS v. 3.49 - 2017-03-08 Copyright © 2012-2017 Olivier Friard - Marco Gamba Department of Life Sciences and Systems Biology University of Torino - Italy

BORIS is released under the GNU General Public License

The authors would like to acknowledge Sergio Castellano, Valentina Matteucci and Laura Ozella for their precious help.

See www.boris.unito.it for more details.

Python 3.5.2 (64-bit) - Qt 5.7.0 - PyQt5.7 on Darwin CPU type: x86_64

VLC media player v. 2.2.1 Terry Pratchett (Weatherwax) VLC libraries path: /Applications/BORIS.app/Contents/MacOS/VLC/plugins FFmpeg path: /Applications/BORIS.app/Contents/MacOS/ffmpeg

BORIS Symptoms on Ubuntu Video loads and initial frame is visible but does not advance at all. Progress bar advances. BORIS Ubuntu Install info BORIS v. 3.60 - 2017-03-24 Copyright © 2012-2017 Olivier Friard - Marco Gamba Department of Life Sciences and Systems Biology University of Torino - Italy

BORIS is released under the GNU General Public License

The authors would like to acknowledge Sergio Castellano, Valentina Matteucci and Laura Ozella for their precious help.

See www.boris.unito.it for more details.

Python 3.5.2 (64-bit) - Qt 5.5.1 - PyQt5.5.1 on Linux CPU type: x86_64

VLC media player v. 2.2.2 Weatherwax VLC libraries path: None FFmpeg path: /opt/boris/ffmpeg

olivierfriard commented 7 years ago

Hello,

Did you try to play your video with VLC? BORIS is using embedded VLC libraries for internal player.

May you send me a sample of your video?

You can obtain a log launching BORIS from sources (on Linux) with the "-d" (debug) command line parameter:

python3 boris.py -d

See the download page for details.

Olivier

On Wed, Apr 5, 2017 at 5:11 AM, katrinabrock notifications@github.com wrote:

Hello, I have created an mp4 video with matplolib.animation.FuncAnimation() with ffmpeg writer. I can load it into BORIS, but will not play. It is one frame per second, would that potentially cause BORIS to choke? Is there a log somewhere where an error message might appear to give me some hints? Appreciative of any help.

Video plays properly on QuickTime on Mac OS X and on Videos on Ubuntu.

BORIS Symptoms on Mac OS X Video loads advances one frame (one second) and does not advance any further. Progress bar advances. BORIS Mac OS X Install info BORIS v. 3.49 - 2017-03-08 Copyright © 2012-2017 Olivier Friard - Marco Gamba Department of Life Sciences and Systems Biology University of Torino - Italy

BORIS is released under the GNU General Public License

The authors would like to acknowledge Sergio Castellano, Valentina Matteucci and Laura Ozella for their precious help.

See www.boris.unito.it for more details.

Python 3.5.2 (64-bit) - Qt 5.7.0 - PyQt5.7 on Darwin CPU type: x86_64

VLC media player v. 2.2.1 Terry Pratchett (Weatherwax) VLC libraries path: /Applications/BORIS.app/Contents/MacOS/VLC/plugins FFmpeg path: /Applications/BORIS.app/Contents/MacOS/ffmpeg

BORIS Symptoms on Ubuntu Video loads and initial frame is visible but does not advance at all. Progress bar advances. BORIS Ubuntu Install info BORIS v. 3.60 - 2017-03-24 Copyright © 2012-2017 Olivier Friard - Marco Gamba Department of Life Sciences and Systems Biology University of Torino - Italy

BORIS is released under the GNU General Public License

The authors would like to acknowledge Sergio Castellano, Valentina Matteucci and Laura Ozella for their precious help.

See www.boris.unito.it for more details.

Python 3.5.2 (64-bit) - Qt 5.5.1 - PyQt5.5.1 on Linux CPU type: x86_64

VLC media player v. 2.2.2 Weatherwax VLC libraries path: None FFmpeg path: /opt/boris/ffmpeg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/65, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOgYliIOtHUlZ9CaLEJVseBP6kG4TQrks5rswZOgaJpZM4Mzshr .

-- University of Torino Life Sciences and Systems Biology department Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://www.di.unito.it/~friard/ http://orcid.org/0000-0002-0374-9872

katrinabrock commented 7 years ago

Thanks for the prompt response!

Just tried using VLC and same symptoms as BORIS so seems like it is an issue with VLC + our video not a BORIS issue. I will drill down a bit more, look at VLC/matplotlib docs and issues etc.

Feel free to close this thread. I will report back if I discover the root cause.

Thanks for creating this very useful software.

Katrina

olivierfriard commented 7 years ago

Hi,

let me know if you find some solution.

Did you try to re-encode your video (with ffmpeg or BORIS)?

On Thu, Apr 6, 2017 at 6:20 AM, katrinabrock notifications@github.com wrote:

Thanks for the prompt response!

Just tried using VLC and same symptoms as BORIS so seems like it is an issue with VLC + our video not a BORIS issue. I will drill down a bit more, look at VLC/matplotlib docs and issues etc.

Feel free to close this thread. I will report back if I discover the root cause.

Thanks for creating this very useful software.

Katrina

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/olivierfriard/BORIS/issues/65#issuecomment-292064954, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOgYnn9a4KLE9bX1k5LmlPus38-Tn5bks5rtGgAgaJpZM4Mzshr .

-- University of Torino Life Sciences and Systems Biology department Via dell'Accademia Albertina, 13 10123 TORINO (Italy) tel: +39 011 6704542 http://www.di.unito.it/~friard/ http://orcid.org/0000-0002-0374-9872

katrinabrock commented 7 years ago

Apparently this is a long known bug in VLC:

https://trac.videolan.org/vlc/ticket/214 http://stackoverflow.com/questions/19267443/playback-issues-in-vlc-with-low-fps-video-from-images-using-ffmpeg

I plan to implement a workaround of increasing the frame rate on my video.