LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-16-2020, 10:57 PM   #1
slac
Member
 
Registered: May 2019
Posts: 92

Rep: Reputation: Disabled
Question How to use AV1 with ffmpeg/ssr?


I have seen at: https://slackware.uk/slackware/slack.../ChangeLog.txt that ssr has been added:

Code:
# ...
xap/ssr-0.4.2-x86_64-1.txz:  Added.
... and I think one of the most used settings to use ssr is using MKV, H264 and Vorbis as a video container, codec and audio codec, respectively. Since we do not have h264 available as a codec for encoding video (by default in Slackware's ffmpeg package), only as a decoding codec, I was having on mind to use AV1/AOM: https://aomedia.googlesource.com/aom/ as encoding codec for videos. However, I do not know exactly how to use av1/aom and ssr both together.

I installed aom from SlackBuilds: https://slackbuilds.org/repository/14.2/multimedia/aom/ and then recompiled ffmpeg using the Slackware's template: https://slackware.uk/slackware/slack...peg.SlackBuild Obviously, I made some modifications to that template so I can enable libaom if I pass an argument when executing the SlackBuild.

The program ffmpeg now identifies libaom and ssr as well but just as I said earlier, I do not know how to use both of them together and get good results. It seems like I cannot play videos after recording them, they barely move and mplayer tells me that something is very slow, I can reproduce any other video with no problems, so it must be a problem using libaom and ssr. Any ideas?

Edit 1: There is a message spammed in ssr when recording:

Code:
[matroska @ 0x1e44d80] Starting new cluster due to timestamp

Last edited by slac; 08-16-2020 at 11:04 PM. Reason: Adding a message spammed at ssr output console
 
Old 08-17-2020, 12:30 AM   #2
Lockywolf
Member
 
Registered: Jul 2007
Posts: 395

Rep: Reputation: 109Reputation: 109
I just rebuilt ffmpeg with h264.
 
Old 08-17-2020, 06:23 PM   #3
slac
Member
 
Registered: May 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Yeah, that is what I usually do.

Well, it seems like av1 is going to be a problem to use to encode videos, it is too slow to compress and ultimately it does not even play correctly. So, I guess back to x264.
 
Old 08-17-2020, 07:38 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,141

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Quote:
Originally Posted by slac View Post
Well, it seems like av1 is going to be a problem to use to encode videos, it is too slow to compress and ultimately it does not even play correctly. So, I guess back to x264.
Encoding to AV1 with aom remains a glacial nightmare but you would do well to look at rav1e which is much, much faster. Our Ubuntu colleagues have demonstrated some of the details here...
 
1 members found this post helpful.
Old 08-18-2020, 04:59 AM   #5
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,290

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Just recorded my session here using ssr, selected Other... for Container, selected avi, works fine. I have Alien Bob's restricted ffmpeg installed.
 
Old 09-12-2020, 08:03 PM   #6
slac
Member
 
Registered: May 2019
Posts: 92

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by andrew.46 View Post
Encoding to AV1 with aom remains a glacial nightmare but you would do well to look at rav1e which is much, much faster. Our Ubuntu colleagues have demonstrated some of the details here...
Yeah, I tried a few things more but it is just as you said, seems like it is still nightmare to use AV1 to encode. So maybe in the future, but for now, back to x264.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to tell SimpleScreenRecorder (SSR) where my Codecs are. DruidPeter Slackware 2 04-14-2020 03:35 PM
[SOLVED] Recording sound SSR. GreenFireFly Slackware 2 06-15-2016 10:52 PM
ssr g3mb-202p pin connection query niteen General 2 02-19-2016 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration