Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Choppy video playback of mobile phone video

  1. #1
    Join Date
    Mar 2007
    Beans
    702

    Choppy video playback of mobile phone video

    I am shooting video with a Google Pixel 2 smartphone. I shot a good bit of footage handheld over the holidays which was buttery smooth. Used Vegas Pro 16 in Windows 10 to edit it, no problems. Then, I decided to get a gimbal to improve my efforts. I am using the Smooth 4 gimbal and have downloaded and installed Filmic Pro ap on my Pixel 2. I was stunned when I the footage appeared very choppy. Slow pans look as though I am moving the smartphone over a saw. This problem was obvious on my screen while shooting, even more obvious when files were transferred to and played back on my PC (via Ubuntu-VLC). I have written Filmic Pro and Google support for advice.

    I have now discovered that setting the Filmic Pro software to record at 60 FPS rather than its default 24 FPS corrects the problem when shooting, and that footage played back on the phone is also free of choppiness. However, that footage, when transferred to and played back using Ubuntu-VLC is very choppy. I booted into Windows 10 and double clicking on those files brings up Windows default video player which also plays the footage smoothly.

    So, what is wrong with my Ubuntu setup that is causing this problem. While I go back a long while with Vegas (version 2 as released by Sonic Foundry), I would much prefer to do my editing in Linux using Blender 2.8. I am missing something here. I would appreciate any advice.

    Thanks.

    Caruso

  2. #2
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,238
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Choppy video playback of mobile phone video

    Quote Originally Posted by carusoswi View Post
    However, that footage, when transferred to and played back using Ubuntu-VLC is very choppy.
    VLC doesn't do hardware-accelerated video decoding, even if it's available. mpv does, as an alternative.
    None but ourselves can free our minds

  3. #3
    Join Date
    Mar 2007
    Beans
    702

    Re: Choppy video playback of mobile phone video

    CatKiller:
    Thank you for the reply. I always though VLC the bee's knees for media playback, but never to late to learn a new trick. Went to software, installed mpv, enabled all sources via snap, but it will not launch, either directly or via the 'open with' file option. What am I doing wrong?
    Caruso

  4. #4
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,238
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Choppy video playback of mobile phone video

    I haven't tried the snap version of mpv (in fact, I remove snapd from my systems so I never have any snaps) but snaps are restricted in where they can read or write to. That might be why mpv can't read your files.

    There are ways to configure snaps to be able to read from more places that you could look up, or you could install the standard apt version of mpv instead.
    None but ourselves can free our minds

  5. #5
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,697
    Distro
    Kubuntu Development Release

    Re: Choppy video playback of mobile phone video

    I'd remove the snap version of mpv then run
    Code:
    sudo apt install mpv smplayer
    SMPlayer is a GUI front-end to programs like mpv and the older mplayer.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  6. #6
    Join Date
    Mar 2007
    Beans
    702

    Re: Choppy video playback of mobile phone video

    I appreciate the replies, but so far, no joy. I made a recording using Codec: H264 - MPEG-4 AVC (part 10) (avc1) (this is what VLC reports) with a resolution of 1280 x 720. It plays, but is still jerky. I downloaded MVP, but it will not open on my system for some reason. I also installed SMPlayer, but it crashes when I try to open a file.

    FWIW, I am running an Asus G74sx with 16 GB RAM, Intel Core i7 with Nvidia GeForce GTX 560m 2GB video, if that information helps.

    Windows 10 runs any file I throw at it smoothly. Even VLC displays smooth video in Windows.

    My long experience with Ubuntu (from version 6.xx) over the years leads me to expect that the opposite would be true. Something is not right, and I will have to keep searching for an answer. BTW, I do use snap aps and am familiar with granting the necessary permissions.

    I appreciate the replies, the advice, and have discovered a number of new video players that I will try out on my system.

    For now, when I want to edit/render current footage, I will look to Windows and Vegas Pro 16 until I get this (or this gets) sorted out.

    Thanks, again.

    Caruso

  7. #7
    Join Date
    May 2013
    Location
    Galiza
    Beans
    224
    Distro
    Ubuntu

    Re: Choppy video playback of mobile phone video

    Quote Originally Posted by carusoswi View Post
    FWIW, I am running an Asus G74sx with 16 GB RAM, Intel Core i7 with Nvidia GeForce GTX 560m 2GB video, if that information helps.
    Have you installed the Nvidia proprietary drivers? Which version?
    This information is crucial and should have been in the first post. Your issues seems to be related with the use of the default open-source driver instead of the Nvidia one.

    The problems with MPV/SMPlayer are likely to be related with the aforementioned drivers situation but may also be a symptom of other problems.

  8. #8
    Join Date
    Mar 2007
    Beans
    702

    Re: Choppy video playback of mobile phone video

    I included what I knew to include and was hoping that any additional information needed to trace my problem would be requested, so, thanks for the request. Here is what I get in terminal:
    Code:
    caruso2@caruso2-G74Sx:~$ sudo lshw -numeric -C display
    [sudo] password for caruso2: 
      *-display                 
           description: VGA compatible controller
           product: GF116M [GeForce GT 560M] [10DE:1251]
           vendor: NVIDIA Corporation [10DE]
           physical id: 0
           bus info: pci@0000:01:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
           configuration: driver=nouveau latency=0
           resources: irq:32 memory:f2000000-f3ffffff memory:e0000000-e7ffffff memory:e8000000-ebffffff ioport:d000(size=128) memory:c0000-dffff
    That output seems to confirm that the proprietary drivers are installed and working on my system, but, by all means, if you need additional info, don't hesitate to ask. I am a consumer of Ubuntu, and, while I have learned a lot over the years, am still no expert.
    Thanks for your help.

    Caruso
    Last edited by coffeecat; 6 Days Ago at 05:23 PM. Reason: Added code tags

  9. #9
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Choppy video playback of mobile phone video

    Quote Originally Posted by carusoswi View Post
    That output seems to confirm that the proprietary drivers are installed and working on my system
    Not so. See this from your lshw output:

    Quote Originally Posted by carusoswi View Post
    Code:
           configuration: driver=nouveau latency=0
    The nouveau driver is the default open source one, not the proprietary driver.

    By the way, I have added BBCode code tags to your terminal output in order to restore formatting and make it readable. Please use code tags when posting output. There is a link for using code tags in my sig if you need it.
    Ubuntu 16.04 Desktop Guide - Ubuntu 18.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags - IRC #ubuntuforums

    Member: Not Canonical Team

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Choppy video playback of mobile phone video

    Code:
    driver=nouveau
    says the system is NOT using nvidia proprietary drivers.
    https://wiki.videolan.org/VLC_GPU_Decoding/

    IMHO, any driver issue complains need to be directed, in writing, to the specific vendors involved. They spend 99% of their driver effort on Windows.

    Snaps run in a constrained environment. Sometimes that limits access to important libraries and device capabilities. I don't know if this impacts vlc specifically or not.

    I don't use snaps. If I want a program constrained, then I'll do it using one of the many tools available for that purpose. IMHO, snaps over constrain.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •