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

Thread: VLC doesn't play V_AV1 codec video

  1. #1
    Join Date
    Aug 2012
    Beans
    74
    Distro
    Ubuntu

    VLC doesn't play V_AV1 codec video

    I'm running ubuntu 18.04.1 with 4.18.0-25 kernel (because it's the latest one that doesn't freeze my ubuntu graphics) and I'm running VLC 3.0.8. I've got some MKV files and every time I open them with VLC I can only hear audio but video doesn't play. I tried to watch them with vlc in win10 and they play perfectly.
    That's the error message I get
    Codec not supported
    VLC could not decode the format "av01" (AOMedia's AV1 Video)
    These are some MKV file details:
    Code:
    Format                                   : Matroska
    Format version                           : Version 4 / Version 2
    File size                                : 162 MiB
    Duration                                 : 1 h 0 min
    Overall bit rate                         : 377 kb/s
    Writing application                      : Lavf58.12.100
    Writing library                          : Lavf58.12.100
    ErrorDetectionType                       : Per level 1
    
    Video
    ID                                       : 1
    Format                                   : V_AV1
    Codec ID                                 : V_AV1
    Duration                                 : 1 h 0 min
    Width                                    : 848 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Title                                    : ISO Media file produced by Google Inc.
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    How to solve?
    Last edited by DuckHook; 5 Days Ago at 07:03 PM. Reason: Change Title at OP's request

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    1,535
    Distro
    Ubuntu

    Re: VLC doesn't play V_AV1 codec video

    The situation probably is the same since this Q&A: https://askubuntu.com/questions/1061...c-beaver-18-04
    Last edited by DuckHook; 5 Days Ago at 07:05 PM.

  3. #3
    Join Date
    Aug 2012
    Beans
    74
    Distro
    Ubuntu

    Re: VLC doesn't play V_AV1 codec video

    Well, I'm very newbie anyway I guess there's a hope with vlc:
    vlc: Downloaded from the Bionic Beaver Repository does not support AV1 files. This support could be compiled in from vlc version 3.0 and greater. See screenshot below...
    it seems to work but how to compile and especially... what does "compile" mean? Could you please tell me what to do step-by-step?

    Another question about that:
    Going to Firefox's about:config page and setting media.av1.enabled to true. Firefox 63.0 and newer have built-in AV1 support but it's currently disabled by default.
    My problem deals with vlc and mkv BUT I wander if it could be possible to play a local mkv file within firefox 75.0, I mean using FF as a player.
    Last edited by DuckHook; 5 Days Ago at 07:05 PM.

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    1,535
    Distro
    Ubuntu

    Re: VLC doesn't play V_AV1 codec video

    If - and it's a big if - the support was added to versions 3.x you don't need to compile from source and you already have that version. Ubuntu 20.04 has by default 3.0.10. Version 4.0 (dev branch) also available as snap.

    According to one of the answers (in 2018) the beta (snap) version has support already. So, you may uninstall the VLC you have now which is probably the standard software in the Ubuntu repositories for 18.04 and then install the beta snap:

    Code:
    sudo snap install vlc --beta
    (or replace --beta with --edge if you're brave enough to install the bleeding edge 4.0.x version).


    Finally, this thread title is wrong and misleading. The problem has nothing to do with MKV. MKV is just a container. The problem is the proprietary codec used withing the AV streams inside the container.
    Last edited by DuckHook; 5 Days Ago at 07:04 PM.

  5. #5
    Join Date
    Aug 2012
    Beans
    74
    Distro
    Ubuntu

    Re: VLC doesn't play V_AV1 codec video

    Ok, so let's try that "IF". Before that, I mean before removing my standard apt-vlc and installing snap-vlc, I want to ask something. I've just read something about the differences between apt installing and snap installing and these are my questions:
    1) will snap installation be as easy as the apt one?
    2) (if I've understood all) can I install newer vlc versions release by release via apt to test if they'll play "av01" properly and, if yes, remove snap-installed-vlc and keep the ubuntu standard-apt-vlc?

    Quote Originally Posted by CelticWarrior View Post
    The problem is the proprietary codec used withing the AV streams inside the container.
    Now I see. Unfortunately I can't edit the title itself, sorry.
    Last edited by DuckHook; 5 Days Ago at 07:05 PM.

  6. #6
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: VLC doesn't play V_AV1 codec video

    Quote Originally Posted by gipsyshadow View Post
    …Unfortunately I can't edit the title itself, sorry.
    The owner of a thread (you) can edit the thread title, but you must go into "advanced reply" where title can be edited above the comment window. I have already done this for you for this whole thread.

  7. #7
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,919
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: VLC doesn't play V_AV1 codec video

    Try this. Install mpv and smplayer:

    Code:
    sudo apt install mpv smplayer
    In my experience mpv plays everything I throw at it. I don't know why it's not the primary video player (with SMPlayer as the GUI front-end) on Ubuntu.
    Last edited by SeijiSensei; 5 Days Ago at 07:23 PM.
    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

  8. #8
    Join Date
    Aug 2013
    Beans
    4,192

    Re: VLC doesn't play V_AV1 codec video

    Quote Originally Posted by SeijiSensei View Post
    Try this. Install mpv and smplayer:

    Code:
    sudo apt install mpv smplayer
    See if they play with that software. It appears that mpv now has support for AV1, but that may be in newer builds.

    In my experience mpv plays everything I throw at it. I don't know why it's not the primary video player (with SMPlayer as the GUI front-end) on Ubuntu.
    The stock build is probably too old or crippled. I recommend mc3man's ppa.

  9. #9
    Join Date
    Aug 2012
    Beans
    74
    Distro
    Ubuntu

    Re: VLC doesn't play V_AV1 codec video

    I've just tried with smplayer and I've got the following error:
    Code:
    /usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=60817446 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-codepage=ISO-8859-1 --sub-pos=100 --volume=55 --cache=auto --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/master/Immagini/smplayer_screenshots --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
    INFO_VIDEO_WIDTH=${=width}
    INFO_VIDEO_HEIGHT=${=height}
    INFO_VIDEO_ASPECT=${=video-aspect}
    INFO_VIDEO_FPS=${=container-fps:${=fps}}
    INFO_VIDEO_FORMAT=${=video-format}
    INFO_VIDEO_CODEC=${=video-codec}
    INFO_AUDIO_FORMAT=${=audio-codec-name}
    INFO_AUDIO_CODEC=${=audio-codec}
    INFO_AUDIO_RATE=${=audio-params/samplerate}
    INFO_AUDIO_NCH=${=audio-params/channel-count}
    INFO_LENGTH=${=duration:${=length}}
    INFO_DEMUXER=${=current-demuxer:${=demuxer}}
    INFO_SEEKABLE=${=seekable}
    INFO_TITLES=${=disc-titles}
    INFO_CHAPTERS=${=chapters}
    INFO_TRACKS_COUNT=${=track-list/count}
    METADATA_TITLE=${metadata/by-key/title:}
    METADATA_ARTIST=${metadata/by-key/artist:}
    METADATA_ALBUM=${metadata/by-key/album:}
    METADATA_GENRE=${metadata/by-key/genre:}
    METADATA_DATE=${metadata/by-key/date:}
    METADATA_TRACK=${metadata/by-key/track:}
    METADATA_COPYRIGHT=${metadata/by-key/copyright:}
    INFO_MEDIA_TITLE=${=media-title:}
    INFO_STREAM_PATH=${stream-path}
     --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /media/master/STORAGE/XYZ.mkv
    
    Playing: XYZ.mkv
    [mkv] Unknown/unsupported CodecID (V_AV1) or missing/bad CodecPrivate data (track 1).
     (+) Video --vid=1 (*) ( 848x480 25.000fps)
     (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
    Failed to initialize a video decoder for codec ''.
    Video: no video
    Exiting... (Errors when loading file)
    in particular "Unknown/unsupported CodecID (V_AV1)".

    Quote Originally Posted by monkeybrain20122 View Post
    The stock build is probably too old or crippled. I recommend mc3man's ppa.
    if I understood well, I've to paste that in my terminal
    Code:
    sudo add-apt-repository ppa:mc3man/mpv-tests
    sudo apt-get update
    have I to do something else or just that?

  10. #10
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    14,919
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: VLC doesn't play V_AV1 codec video

    Yes, after you've installed the repository and updated you need to run
    Code:
    sudo apt install mpv
    It will replace your current version with the one in the repository.
    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

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
  •