Debian Multimedia :: Avconv - Two Pass Encoding MOV To WEBM Not Working
Jan 11, 2016
I am trying to perform a 2-pass encoding of a video from .mov to .webm, but it looks like that the 2-pass encoding is much worse than doing a single pass encoding. Here are the two commands I use:
Code: Select allavconv -y -i input.mov -r:v 25/1 -c:v libvpx -minrate 400k -maxrate 600k -b:v 400k -s 640x360 -force_fps -b:a 80k -pass 1 output.webm
avconv -y -i input.mov -r:v 25/1 -c:v libvpx -minrate 400k -maxrate 600k -b:v 400k -s 640x360 -force_fps -b:a 80k -pass 2 output.webm
View 10 Replies
ADVERTISEMENT
Feb 5, 2015
I try to record video with my Win TV capture card with avconv. The exact same lines worked fine with Ubuntu 12 and with SUSE, but with Ubuntu 14, the audio is out of sync.
avconv -f video4linux2 -channel 1 -s 640x480 -i /dev/video0 -deinterlace -f alsa -i plughw:1,0 -ar 22050 -ab 64k -acodec ac3_fixed -vcodec mpeg4 -vb 2000k -y test.mp4
View 2 Replies
View Related
Aug 12, 2015
I just converted a movie from mp4 to avi format and was away from the computer during the conversion. When I came back, the file had been properly converted but the computer was at the login prompt. I assume that it rebooted when the conversion was complete. Is this normal behavior? I don't see any avconv 'switches' to prevent that from happening.
View 7 Replies
View Related
Sep 10, 2015
I have a problem with avconv. Most of the use cases work spledidly, but when I need to crop a segment and then splice multiple segments together, I get problems.
The process I use is this:
1. Raw recording of short segments in high-quality AVI, These are produced by avconv, some as screencast and some by combining a PNG file with flac audio from audacity.
2. Conversion segment by segment into mp4 and ogv
Options A: -acodec aac -strict experimental -ab 128k -ac 2 -vcodec libx264 -s 640x480 -pix_fmt yuv420p -movflags +faststart -crf 22
Options B: -acodec libvorbis -ab 128k -ac 2 -vcodec libtheora -s 640x480 -b 500k
3. Splicing of the segments using MP4Box or oggCat.
(I used to do this in ffmpeg, but I have not figured out how to do it in avconv.)
This works.
In some cases I need to crop the segments, using the copy codecs and the -ss and/or =t options.
If I crop the AVI segments (between 1 and 2) the sound is clipping (this also generates a spree of error messages `Non-monotonous DTS'). If I crop mp4/ogv segments, (between 2 and 3) the remaining video, after the cropped segment are out of sync. I get the same problems with both OGV and MP4 playing them in vlc. Playing the mp4 directly in iceweasel works as it should.
View 0 Replies
View Related
Aug 7, 2011
i'm using debian wheezy and whenever i'm playing a webm video, typically on videos, totem and mplayer can't play video. the video just freezes. (i assume because they both use gstreamer.) when i try to use vlc when those 2 aren't working, the video does play but there is no sound.
View 3 Replies
View Related
Dec 3, 2015
I have recently began to use libav and had an issue I was running into.. Not exactly how to word it so I will simply state the symptoms..
Goal: Create a screencast demo on linux, play it back on a windows machine.
I am running this command to record the screen, installed libav:
avconv -f x11grab -r 25 -s 1600x900 -i :0.0 -vcodec libx264 -threads 4 /home/sysadmin/Desktop/output.avi
The issue I am running into is, when I try to play this file in Windows Media Player or even VLC on the linux host, the default size of the video results in the text in the terminal to be unreadable..
When I re-size the video, as in blow it up to full screen, I can see the text clearly..
The playback device is running something like 1280x1020 resolution. Is there a way to make it so that the text will also be readable?
View 6 Replies
View Related
May 13, 2011
What's an easy way to convert a DVD iso to a WebM file?
View 1 Replies
View Related
Dec 8, 2010
I am looking for a method to add new encoding to Gnome Terminal.The encoding i want to add is MIK (Bulgarian DOS cyrillic encoding) and it is not found in Terminal -> Set character encoding -> Add or remove list.Is there a way to add this encoding to the list ? Or is there some other terminal or telnet / ssh client which allows me to add encodings ?
View 3 Replies
View Related
Mar 28, 2011
How to make Chromium to pass RSS feeds to Liferea? There are several browser extensions for RSS feeds but it seems they only work with web-based readers.
View 1 Replies
View Related
Aug 21, 2011
I installed today debian wheezy from OpenSUSE system via bootstrap. I have some strange behaviour with kde. At first kde worked fine and the only problem was that if I tried to logout from kde session, instead of kdm shows up, a black screen appear with mouse cursor working. I first ignore this error(because I had some problems with audio) and just reboot from vt console or sometimes restart kdm service. After I solved the audio problem I've searched to find some solution about kdm black screen problem. I found on kde forums a solution about terminate xserver option on kdmrc file, which didn't work in my case, but create another problem.
The problem is that now when I pass the mouse cursor from windows topbars I have glitches on window decorations. So I disable the above option again, reboot but the graphics problems was still there. I tried to uncheck vsync from desktom effects and the resault was all desktop effects to be disabled. Now I cannot re-enable desktop effects any more. But now I can logout and relogin. 3D works fine(glxgears works) but I cannot enable desktop effects. And I think that some effects work, because I see some smooth movements and fade outs when I pass the mouse cursor on kmenu items. My card is ATI radeon HD 4650, and I have the xorg-video-ati driver installed.
View 3 Replies
View Related
Feb 15, 2010
I have been doing some very basic editing in Pitivi and how to get it to encode to X.264. I'm encoding to 480p and I was wondering how do I change the setting to make make it encode to X.264 and look good at small or ok file sizes. I will be uploading these to ..... and want them to look sexy.
And if X.264 can't encode to X.264 then at lest how do I turn the quality up in the formats that it does support.
View 1 Replies
View Related
Aug 23, 2010
i just want to know what is best to convert in linux ubuntu 10.04LTS to convert videos!?
View 9 Replies
View Related
Aug 8, 2011
I'm copying an animated TV series from DVD to my computer. The DVDs are encoded at 29.970fps, which I find strange because animation usually uses 23.976fps. Anyway, what I have done is de-interlaced and re-encoded it to H.264. Now it is set to 59.970fps, which I think is higher than what I want. I'm seeking advice on whether I should leave it at that or change it to one of the lower frame rates. Another question: Do you think that I should be encoding to H.263 instead? This is just to have copies of the videos on my hard drive.
Note: I used Avidemux with the Yadif filter using the bob method to de-interlace the film. I think the bob method preserves the actual 60 fields and converts them into complete frames. I'm guessing that the temporal spatial check would halve the frames and give me the 29.970fps.
View 4 Replies
View Related
Jan 22, 2011
I am using 11.2, KDE 4.3.5 with Grip and Flac to rip and encode CDs. Two questions:- Have read flac -help and do not understand the -o option which is used in a few example threads. The man page suggests that -o should be used with subsequent parameters such as --output_name=FILENAME for example. In the example posts this general option is used on its own. What for?
The installation when first used, already had a string of options including --best on the command line. I cannot find any documentation for this. I assume it is a preset in the same way as for example --preset extreme in lame.
View 4 Replies
View Related
Jan 3, 2010
I have a load of XViD videos and I want to re-encode them into x264 - when I say a load, I mean over 300, anyone have any programs they reccomend to do it?I want to make them into those "future-sized movies" (700mb --> 300mb, 170mb --> 95mb, 350mb --> 150mb), what settings should I use? I want to keep the quality of the originals intact, along with the video sizes if possible, but if not, I don't really mind, just make them smaller. Here are the settings some people use in windows:oh yeah, one last thing - fast encoders please, I know it'll take a good while, but I want it to take as little time as possible please
View 4 Replies
View Related
May 7, 2010
Handbrake simply will not encode. I've used it for a while now on 32 bit Ubuntu 9.10 and on 64 bit Windows 7 but since I've upgraded to 10.04 64 bit I can add a video as source and the encode button is grayed out. I cannot start encoding. The version of Handbrake I am using is 0.9.4.Does anyone have any idea how to remedy this issue? I am thinking of trying version 0.9.3 again.
View 7 Replies
View Related
Jul 18, 2010
rubyripper is designed to be the EAC for linux and in this thread here mc4man very kindly gave me the other box encode line for mp3HD slightly modified to give a 320kbps on the lossy aspect of the file
Code:
mp3hdEncoder -br 320000 -if "%i" -of "%o".mp3 - -Title "%t" -Artist "%a" -Album "%b" -Track "%n" -Year "%y" -Genre "%g"
ALSO IMPORTANT
MAke sure you have Lame installed on your synaptic the encoding relies on it for the lossy part and make it executable ALSO make sure you go into the terminal enter mp3hdEncoder and ACCEPT the agreement now i am seeking the same information for 3 other formats.
View 9 Replies
View Related
Apr 26, 2011
I've got a rather large collection of videos that I'm going to need to reencode in webm or theora from mp4, flv, etc. How would I do that with little/no quality loss?
View 3 Replies
View Related
Aug 1, 2011
It is well known that mencoder can be used to encode video to be burned on DVD with a tool like dvdauthor. The whole procedure is described here:
7.8. Using MEncoder to create VCD/SVCD/DVD-compliant files
Sound for a DVD is normally encoded with AC3. I encountered some cases where the encoded sound was badly distorted. As it seems, the default for the input changed to float at some point. The fix for this is to use:
Code:
acodec=ac3_fixed
instead of "acodec=ac3".
View 1 Replies
View Related
May 8, 2010
I have been using Avidemux to encode edited video using x264 and the mp4 container for most of my videos. My PCs are not new, using single-core AMD Athlon processors.
In 9.04 and 9.10 (Linux Mint), encoding speeds ranged from 7 to 10 frames per second. In 10.04 these dropped down to less than 2 frames per second.
I booted back into Linux Mint 8 (9.10) and the same video encoded at the previous 7 to 10 fps.
I tried with other videos in different formats (mpeg2 and VOB). The results were the same - 10.04 was extremely slow encoding x264 but Mint 8 was "normal" at 7 to 10 fps.
With a dual-core notebook, however, the encoding speeds ran at 8 to 14 fps in 10.04.
Was 10.04 optimized for dual and multi-core at the expense of single-core? If so, is there a way to restore "single-core optimization"?
View 9 Replies
View Related
Jul 19, 2010
I have a nokia phone with symbian. I installed the divx player and sample videos are ok, but when I try to encode other videos I get no sound.
I tried to recode a working with avidemux and it stoped working.
View 1 Replies
View Related
Jan 27, 2011
I'm trying to encode a video using only one image during a complete audio file, but a can't find the way to do it. What I need to do is to extend the duration of the frame up to the duration of the audio file. How do I do that with mencoder?
View 4 Replies
View Related
Aug 5, 2010
I use the script h264enc (installed from the repos) to encode my dvds into avi and mp4. It was working flawlessly under 9.10, now I get the error that MEncoder doesn't support AAC encoding? I have installed all the restricted drivers and I can play dvds, mp4's, .
View 8 Replies
View Related
Oct 16, 2010
I recently upgraded to Maverick and am loving it. Converting over my various scripts to work on the new box I notice that my video trascoding script, which uses mencoder to re-encode video as h264, now does not work.
Code:
mencoder $inpfile -oac mp3lame -lameopts vbr=3:q=3 -ovc x264 -x264encopts crf=22:threads=auto:subq=4:bframes=2:b_pyramid:weight_b:turbo=1 -ofps 25 -o $outfile
For a long time this has worked just fine but the command basically bombs out every time with
Code:
FATAL: Cannot initialize video driver.
I tried using the medibuntu mplayer/mencoder but still no dice.
Does anyone know how I can get this important functionality back?
View 4 Replies
View Related
Nov 26, 2010
Why is this happening? Code: root@Matilda:/home/ryan# /usr/bin/mkmp4 ~/Desktop/wonderfuldays.mkv ~/Desktop/wonderfuldays.mp4 Analysing input file No streams found, encoding failed
View 1 Replies
View Related
Dec 30, 2010
I try to change the default character encoding in gnome-terminal. I want to use UTF8, but every gnome-terminal i start uses "ANSIX3.4-1968".
In the menu, when i go in Terminal => Set character encoding i have a list with two items:
[x] Current Locale (ANSIX3.4-1968)
[ ] Unicode (UTF-8)
I don't know why the first item appears, i have another debian box and it has only the UTF-8 encoding available. I cannot remove the first item in "add or remove" sub menu !! Probably because it is related to "current locale"
Here is the output of "locale", if it can helps:
boulzor@antec:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
[Code]....
View 2 Replies
View Related
Mar 3, 2011
I am unable to rip from CD to .mp3 using pretty much any tool. Dolphin / Konqueror auidiocd:// KIO slave shows the mp3 folder, but when you move the tracks you get: Could not read some_song.mp3: encoding failed WARNING: libsndfile may ignore -r and perform fseek's on the input. Compile without libsndfile if this is a problem. I'm running 11.3 (KDE 4.4.4) with K3B 2 from Packman (with the k3b 2 codec package) and K3B fails as does the KIO slave method above. Lame version is: lame-3.98.4-2.pm.4.1.x86_64 Restricted multimedia formats packages are installed from Restricted formats/11.3 - openSUSE Community Wiki Alsa works great otherwise, I have no sound issue, etc. - just can't rip anything to mp3 Seems like I'm not the only one who has had this problem, there are a few posts here on the Suse Forum, and others elsewhere, but the resolution seems to be nebulous at best. Sometimes lame 3.98 from packman works for some guys, other times not, etc. Unable to rip an audio cd into mp3's using 11.2 - opensuse.opensuse.org - ArchiveOrange
View 9 Replies
View Related
Jan 31, 2016
Background :
Debian Mate Live 8.2 + Iceweasel 38.6 = no problem
Debian Mate Live 8.3 + Iceweasel 38.6 = problems as explained below
Details :
I have used Debian Live versions for a while now without any major problem. After switching from Mate Live 8.2 to Mate Live 8.3, I am almost unable to use Iceweasel due to the following problems :
- much slower browsing overall with regular timeouts (the page's layout or some ads often fail to load)
- random content encoding errors (the grey page similar to SSL related errors)
- random non-latin characters or strange strings (like ""q5"&2>html34") appearing along a page's content
Reloading the same page may (or not) fix the issue : it is random, sometimes it displays correctly (but still very slow) other times it gets worse.
Even when many encoding errors are displayed, if I check the page's source code then it appears to be clean.
I have not changed my usual settings and both the OS and Iceweasel are in vanilla state without any 3rd party add-on or package installed.
I doubt it is hardware related since switching back to 8.2 immediatly solves the issue. The 8.3 support seems ok too because I verified the md5 of all files with success.
Screenshots :
[URL] ....
[URL] ....
View 0 Replies
View Related
Jun 23, 2011
I finally installed Squeeze on my laptop and found out that the XF86Audio multimedia keys do not work.
When I press them, they're correctly identified by xev but they do not produce the desired effect (raise/lower/mute volume, play/pause/stop/prev/next song in media players like Sonata).
Funnily enough though, they do work in Audacious, which has its own plugin to manage XF86Audio media keys.
So it's like the action of pressing these keys is not intercepted by the system and no event is triggered.
I think this might be due to a missing package or configuration but I have no idea where to look...
View 1 Replies
View Related
Mar 27, 2010
I'm trying to get AC3/DTS passthrough working with my HTPC in which I'm using the onboard sound from an nForce 4-based motherboard. I've tested it in Win7 to check that all the connections etc are set up correctly and it works perfectly there. However under Kubuntu I can only get 2ch PCM sound to work through the SPDIF connection. Any DTS/DD sources just result in silence.If I go into Multimedia settings in the System Settings panel, the SPDIF device that shows up there (once I enable advanced devices) produces no sound with the Test button. I can hear a click as the device is activated but no sound is produced. I can also see that a digital signal is making it to my receiver as it has an icon which lights up when it locks onto a signal.Has anyone had success with SPDIF passthrough in 9.10? I've tried twiddling all the settings in Kmix relate to IEC and also tried following the Alsa wiki on digital passthrough without any success.
View 2 Replies
View Related