October 26, 2020, 01:30:29 pm

News:

--


AV1 support

Started by rolandpisano, January 09, 2019, 09:04:02 pm

Previous topic - Next topic

rolandpisano

Hello,
What about AV1 codec support ? Encoding, decoding, no support at all ?
I have tried to load the demo file at https://github.com/SPBTV/video_av1_samples without success : black screen, only few lines of random colours at the bottom. FourCC code for codec not shown in info dialog box. Also, I have not found an av1 codec option for encoding.
I use Avidemux 2.7.0 (not tested 2.7.1).
Thanks !

eumagga0x2a


Cormy1

Any development on this front?
I figure it isn't yet implemented, do we know if it's being worked on?

eumagga0x2a

Not that I were aware of. Not on my present todo list* either.

*) The todo list:

- evaluate options of fixing HEVC hw accel. decoding on Windows with Intel graphics;
- fix audio in fragmented mp4, currently not supported by the mp4 demuxer.

A luxury wish, probably out of reach: implementing a libvpx-based VP9 encoder.

Cormy1

I feel like VP9 is less of a priority than AV1 since big corps have already started pushing it as a successor to VP9... It is based on it after all.
Just need to be able to remux it in copy mode at the very least. Seems we can demux an MP4 with AV1, but can't use copy mode and remux it back into an MP4 for some reason.

phaolo

Oh, I hope that AV1 will be supported too, since Youtube recently switched to it (and the codec seems better than VP9).

Siana West

Quote from: undefined2020-07-07: 2.7.6: Another nice release, completely done by Euma
* New Video Decoder:Add libaom-based AV1 decoder
I use Avidemux 2.7.6 - Release. However, in the list of options for video encoding, I only see
Quote from: undefinedCopy
(FF)HuFFYUV
DV (ffmpeg)
FLVl(Flash)
HEVC (x265)
Mjpeg Encoder
Mpeg2 (FF)
Mpeg4 ASP (xvid4)
Mpeg4 AVC (x264)
Nvidia H264
Nvidia HEVC
VP9 (libvpx)
VV12 Encoder
null
So, does the application support this open, and royalty-free codec, which is already two and a half years old, or not?

eumagga0x2a

Quote from: Siana West on September 29, 2020, 07:05:22 amo, does the application support this open, and royalty-free codec, which is already two and a half years old, or not?

As the changelog states, AV1 decode support is present = no AV1 encode support yet. Implementing an encoder plugin may become possible after hardware upgrade, already the VP9 encoder is unbearably slow for me, AV1 must be much worse.

phaolo

October 13, 2020, 12:27:28 am #8 Last Edit: October 13, 2020, 12:09:49 pm by phaolo
Quote from: eumagga0x2a on September 29, 2020, 08:30:43 amalready the VP9 encoder is unbearably slow for me, AV1 must be much worse.
Ono..

Btw, even the normal smart-cutting without re-encoding seems to have some problems for AV1 (video from youtube)
Too Short
The saved video is incomplete. The error occurred at 00:00:00 [..] invalid time stamps [..]

eumagga0x2a

Could you please provide the YouTube-ID of the video you are unable to cut in copy mode?

phaolo

Quote from: eumagga0x2a on October 13, 2020, 08:28:18 pmCould you please provide the YouTube-ID of the video you are unable to cut in copy mode?
Ok, but it's a silly one XD
https://www.youtube.com/watch?v=vKDQGcQWt9Q

Btw it happened to other AV1 Youtube videos too, but not always.

eumagga0x2a

Could you please elaborate, which steps are necessary to reproduce the issue? I can cut the 1920x1080 AV1 version of this video in Avidemux in copy mode without any problems whatsoever.

phaolo

October 14, 2020, 07:38:18 pm #12 Last Edit: October 14, 2020, 07:58:44 pm by phaolo
Really?  :o
I'm using AvidemuxVC 0276 btw

The steps:
- I downloaded the video with Youtubedl (it joins the AV1 video + Opus audio files).
- I got the AV1 1080p 60fps format and it plays normally.
- if I try to smart-cut it (for example the first 11 secs), I get the error.

EDIT:
I tried extracting only the video part with mkvtoolnix and Avidemux managed to cut it.
So, it seems that the program doesn't like the joined audio, for some reason.
I wonder if it's Youtubedl's fault or not.

eumagga0x2a

I would recommend to use the latest nightly as a rule.

Quote from: phaolo on October 14, 2020, 07:38:18 pm- I downloaded the video with Youtubedl (it joins the AV1 video + Opus audio files).

In other words, you loaded a MKV file in Avidemux (ffmpeg, used by youtube-dl to mux streams, will refuse to mux Opus in MP4 by default), I tested with MP4.

Now retried with MKV and again no issues.

Quote from: phaolo on October 14, 2020, 07:38:18 pmSo, it seems that the program doesn't like the joined audio, for some reason.

Not the audio but the container.

Please try a nightly.

phaolo

Quote from: eumagga0x2a on October 14, 2020, 08:09:31 pmIn other words, you loaded a MKV file in Avidemux [..]
I would recommend to use the latest nightly as a rule. [..]
Yes, I used a mkv, Youtubedl has an option to fix the container after the download.

Ok, I'll try the nightly.. even if I really dislike dev builds in general.. the few times I tried them I always had problems. -_-