LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2015, 08:00 PM   #16
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 264

Rep: Reputation: 58

I'll say it again: try vp8
https://en.wikipedia.org/wiki/WebM
 
Old 03-31-2015, 10:06 PM   #17
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by seasons View Post
I'll say it again: try vp8
https://en.wikipedia.org/wiki/WebM
Code:
avconv -i input.mp4 -s hd720 -acodec libvorbis -q:a 3 -vcodec -q:v 10 libtheora -f ogv output.ogv
That sounds great. How I would modify this command to use vp8, should I also be using that OPUS audio codec? I just want decent looking video that streams well and is widely supported and minimal storage requirements.
 
Old 04-01-2015, 06:50 AM   #18
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
If you're aiming for a certian file size, I've heard of the "-fs" option which sets the target output size.

http://www.linuxquestions.org/questi...1/#post5338529

As for encoding using VP8/Webm, try
Code:
avconv -i input.mp4 -s hd720  output.webm
 
1 members found this post helpful.
Old 04-01-2015, 09:12 PM   #19
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by maples View Post
If you're aiming for a certian file size, I've heard of the "-fs" option which sets the target output size.

http://www.linuxquestions.org/questi...1/#post5338529

As for encoding using VP8/Webm, try
Code:
avconv -i input.mp4 -s hd720  output.webm
I did that, it made a 4mb file for 17 seconds of video which looked terrible. I'll try again with q:v - 10 to see if that ups the quality. In the mean time I have another issue.

While transcoding one specific video I get this:

Code:
missing picture in access unit=       3kB time=0.62 bitrate=  44.2kbits/s
[h264 @ 0x23dba00] missing picture in access unit
    Last message repeated 2 times
I'm assuming it means that the computer producing the video had some cpu lag or something. At any rate, is there a way to suppress this error message as it breaks a PHP script I wrote to run the command.
 
  


Reply



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
LXer: FFmpeg & Libav Add H.265 Encoder Via x265 LXer Syndicated Linux News 0 02-13-2014 09:51 PM
A FFmpeg/Libav, Mencoder GUI front Open Souce Project MobileMate need your help littlebat Linux - Software 0 09-16-2013 09:44 AM
LXer: The FFmpeg/Libav situation LXer Syndicated Linux News 1 07-02-2012 06:34 PM
[Questions] AVCodec/AVFormat - FFMPEG - Linux vs. Windows 7.e.Q Linux - Software 0 02-09-2006 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 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