OpenSUSE Multimedia :: X264 Codec Segfaults Or Incorrect Parameters With Ffmpeg?
Apr 28, 2010
I've probably exhausted all possible ffmpeg argument combinations for encoding with a libx264 codec - none worked, the codec always either segfaults or tells me incorrect parameters. I've installed, uninstalled and re-installed all available versions of the codec - no difference. Did anyone have any luck with it? Are there any tricks or conflicts in different arguments? Does the input file have to be in any particular container/format/codec for the x264 to work on?
My examples: >ffmpeg -i video.mpg -vcodec libx264 video.mkv >... Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height >ffmpeg -i video.mpg -vcodec libx264 -b 4000 -s hd1080 -f h264 video.mkv Same error If I use any other codec, they all work fine. give a working ffmpeg arguments example,
View 9 Replies
ADVERTISEMENT
Mar 23, 2010
I'm writing a wrapper for FFMPEG and need help of a multimedia guru. The more I read about containers, formats and codecs the more confused I become, it all seems to be a pretty big mess. To convert a video file with ffmpeg you need to specify a few arguments for ffmpeg:
- input file
- some video/audio options (bit rates, sizes and so on)
- format (to force format)
- codec (to force codec)
- output file
My confusion is all about the format and output file extension. If I want to encode my file in MPEG-4, I'll use either 'libx264' or 'libxvid' codec. Then the encoded stream needs to be stored in a file. If I use '.mp4' as the output file, it'll be stored in that file. If I use '.mkv', the video will still be MPEG-4 but stored in a Matroska container. But what do I do with the format option? When I force the format to 'mp4', does it mean I don't have to enter output file, it'll be stored as '.mp4' anyway? Or if I use '-matroska' will I still have to put it into a container '.mkv'? Can I use a '-matroska' format but '.mp4' output file for example?
What's the difference between the format and output file in this context? Or what does forcing the format really do?
View 3 Replies
View Related
Jan 12, 2015
I use ffmpeg to covert video files for the net.
Code: Select allffmpeg -i infile -vcodec libx264 -vpre ipod640 -b 250k -bt 50k -acodec libfaac -ab 56k -ac 2 -s res.mp4
which works good. I was wondering if I could use larger resolution presets, but
find /usr -iname '*.ffpreset' only gives
#/usr/share/ffmpeg/libvpx-360p.ffpreset
#/usr/share/ffmpeg/libvpx-1080p.ffpreset
#/usr/share/ffmpeg/libx264-ipod320.ffpreset
#/usr/share/ffmpeg/libvpx-1080p50_60.ffpreset
#/usr/share/ffmpeg/libx264-ipod640.ffpreset
#/usr/share/ffmpeg/libvpx-720p50_60.ffpreset
#/usr/share/ffmpeg/libvpx-720p.ffpreset
with only 2 presets for libx264.
I installed ffmpeg from deb-multimedia. Is there a package which provides further preset files? There should be e.g. hq, max etc..
View 2 Replies
View Related
May 29, 2011
I am trying to compile OpenCV 2.0 with ffmpeg (with x264) support on my Ubuntu 11.04 64-bit machine. (Since I want to use the binaries provided by other developers, I have to use opencv 2.0 version)
I followed the guide from: [URL] to compile x264 and ffmpeg manually, and succeeded.
Then I followed the guide in the INSTALL file provided by the OpenCV 2.0 package. I use CMake to configure and generate them, and use "make" command to try compiling. However, I got the following error report, which haunted me for almost half a week.
Code:
Linking CXX static library ../../lib/libhighgui_pch_dephelp.a
[ 71%] Built target highgui_pch_dephelp
Scanning dependencies of target pch_Generate_highgui
[ 71%] Generating _highgui.h
[ 71%] [COLOR="rgb(65, 105, 225)"]Generating
[Code].....
View 7 Replies
View Related
Jul 3, 2011
The version of mencoder I currently have installed segfaults (immediately) when you ask it to convert x264-encoded MKVs to another format. One sample command-line would be:
Code:
mencoder -nosound -ovc libdv Puella_Magi_Madoka_Magica_720p_GG_-_06.mkv -o a.avi
This produces the following output:
Code:
MEncoder 20110702-4.5.2 (C) 2000-2011 MPlayer Team
success: format: 0 data: 0x0 - 0x1c43987e
libavformat file format detected.
[Code]...
Incidentally, I'm wondering if the version of FFMpeg that the MPlayer configure script downloads might be at fault. The slightly outdated FFMpeg I installed from SBo (6.1) does not crash when converting the same file. And no, I can't use either Alien Bob's Mplayer build or the MPlayer binaries included with Slackware. Neither is built against either libdv or x264. I need libdv as an output codec.
View 3 Replies
View Related
Feb 26, 2010
So I've been trying to convert .avi files to .mov using FFmpeg. I input something like this:
Code:
ffmpeg -i in.avi -b 1000 out.mov
And it says:
Code:
Unsupported codec for output stream #0.1
So I tried adding -acodec mp3 OR -acodec libmp3lame and it says unknown codec.
I went to install libmp3lame-dev using
Code:
sudo apt-get install libmp3lame-dev
And it comes up with this:
Code:
The following NEW packages will be installed:
libmp3lame-dev
The following packages will be REMOVED:
libdc1394-22{u} libfaac0{u} libxvidcore4{u} linux-headers-2.6.28-11{u}
linux-headers-2.6.28-11-generic{u}
I'm fairly sure I don't want those packages removed? Should mention I'm on Ubuntu 9.04 64-Bit.
View 9 Replies
View Related
Mar 1, 2011
As I understand (and remember) debian does not package x264 with its ffmpeg. [I say remember because I have a debian-multimedia line in my sources.list that I believe I added when I wanted a x264 enabled ffmpeg]
Is this status still the same? Do we still need to compile ffmpeg by hand if we want x264?
View 6 Replies
View Related
Jun 15, 2010
I have been working on vlc (windows) and now i want to use the same in linux...so ma trying to compile it in linux..... i need ffmpeg functionality and others as such...so please provide me with the complete link and order so as where to fetch the source code and to compile....i have done googling and found lots of tutorials and most of the are confusing and not clear......and i tried doing them and am now confused(whether they are compiled or not) cos when i try to instll them it says already exists and when i try to use the functionality it says canot transcode ffmpeg doesnt exitst.....I am badly need of vlc transcoding options. Am using ubuntu 10.
View 9 Replies
View Related
Jun 30, 2010
I've been trying to re-mux some mkv files into mp4 files recently and ran into this issue. The mkv files contain an h.264 video stream, two aac audio streams (english and japanese) and one subtitle stream. All I'm trying to do is move all four streams into a mp4 container using the following command:
Code:
ffmpeg -i input.mkv -vcodec copy -acodec copy -acodec copy -scodec copy output.m4v -newaudio
Code:
Input #0, matroska, from 'input.mkv':
Duration: 00:24:42.64, start: 0.000000, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 640x480, PAR 1:1 DAR 4:3, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(jpn): Audio: aac, 11025 Hz, stereo, s16
[Code]...
Since the first audio stream doesn't seem to be throwing an error I'm a little confused as to why the second (with the same codec) would give this error. I would appreciate any help with this problem, or alternative solutions to accomplishing the mux.
View 2 Replies
View Related
Jan 29, 2010
How users to install the latest svn versions of x264, ffmpeg and mplayer. Primarily, this is important for users who rip movies from dvds.
How do I perform the same tasks using sbopkg? I believe some compilation options must be changed to reflect the svn changes.
Has anyone done this before? Are the steps important when using slackware 13 x86_64?
View 5 Replies
View Related
May 19, 2011
OpenCV doesn't work. I wonder why would anyone create a RPM package and not bother to check whether it actually works? Do they get paid per package at Red Hat? The problem seems to be in cap_ffmpeg.cpp. Somehow, OpenCV cannot resolve the ffmpeg CODEC libraries, but the annoying part is that it compiles and installs error free - it just doesn't work. Without any error messages, it is really hard to figure out what is wrong.
View 8 Replies
View Related
Apr 10, 2010
I'm using openSUSE 11.2 64bit in Dell E6400 with Intel video chipset. I can play x264 720p files without any problems in Windows 7, but in openSUSE, I could play it in Totem, but it is very slow (lots of stopping).
In addition, in songbird, if I use the mediaflow add-on,the scroll becomes really sluggish.
In general, I feel like openSUSE is showing less ram usage but higher CPU usage than Windows 7. Is my video card driver is messed up? I really like openSUSE a lot but so it is disappointing....
View 6 Replies
View Related
Jan 20, 2011
I am trying to convert a file using ffmpeg. I have this following code in a terminal.
ffmpeg -i introvideofinal -vcodec libx264 -acodec libfaac introvideofinalfinal.mp4
It returns an error dealing just with the h264 codec saying that I need to use a vpre parameter? I can't find any documentation on using the vpre parameter.
View 1 Replies
View Related
Jan 22, 2011
i can't install multimedia codec, after installing i restart PC and then linux writes error kde4int i hadn't this error before, it begins after installing new monitor Samsung syncmaster B1940
View 9 Replies
View Related
Apr 11, 2011
To be able to convert MP3<>audio in K3B, i need MAD-MP3-Codec. This codec doesnt exist for OpenSUSE latest version of K3B.
View 4 Replies
View Related
May 1, 2011
I want to run the following in Totem or Audacious. It's a radio stream. Here's the link...LBC 97.3The only trouble is it keeps saying I need the following codec MMSH needs to be installed. Any idea how I go about this? All other multimedia codecs are working fine.
View 7 Replies
View Related
Jan 26, 2010
how I can use in my Kubuntu 9.10, audio codec - <voxware metasound audio codec>? P.S. Sorry for my bad english. I look forward to an answer,
View 7 Replies
View Related
Apr 19, 2010
Is there any Codec Repositories and DivX codecs?
View 3 Replies
View Related
Jul 20, 2010
Since ffmpeg 6 is out for some time, when will Ubuntu Lucid afford such a new ffmpeg package from its repository?
View 2 Replies
View Related
Nov 28, 2009
Running Opensuse KDE 11.2 64bit. Trying to backup DVD, but no sound after playing ripped copy. After looking at the settings in K9copy and DVD95, the sound section says "Unknown AC3" where it normally says "English AC3". I've tried mencoder and ffmpeg.
View 7 Replies
View Related
Feb 15, 2010
I've been having a somewhat disagreeable problem updating ffmpeg and all the other resources that need updating (libavcodec52 et al) for some time now. I'm asked to delete most of the software/libs that are needed for certain software (2man2dvd, etc...). At times it looks like I have some serious contortions to go through in order to update these rpm's. I'm using 11.0.
View 8 Replies
View Related
Apr 2, 2011
I checked for updates today and noticed that the Packman repository have switched to the new forked FFmpeg library: LibAV. This include gstreamer and other dependent libraries.
VLC runs without a problem but i wonder what other applications depending on FFmpeg will not run...
It looks like FFmpeg was removed from the repository.
View 9 Replies
View Related
Dec 3, 2009
The display under vlc is strangely colored in blue, or red missing. Anyway the balance isn't correct. I tried every output module but no one is correct. I am running 11.2/kde.
View 9 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
Jul 24, 2011
I am having problems with ffmpeg. My goal is to capture a video stream from my webcam and feed that into a webcam-capturing program. But to get that to work, I will need ffmpeg to work. I need the following command to work, but I get an error:
Code:
$ ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i $device -b 100K -f image2pipe -vcodec mjpeg - | perl -pi -e 's/\xFF\xD8/KIRSLESEP\xFF\xD8/ig'
ffmpeg: relocation error: /usr/lib/libavfilter.so.2: symbol avformat_find_stream_info, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
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
Jan 25, 2010
So for the last, oh, three or four hours now, I've been trying to get videos to play properly in Ubuntu. I have the default player, I have vlc, I (apparently) installed mplayer, but it won't play anything at all.
I was having horrible screen tearing with standard definition .avi's in vlc, fixed that by setting vsync in catalyst control center to always on or whatever it is.
Now, I have tried to run a 720p x264 video. It PLAYS, but not well. Audio is fine, however video is all jerky in VLC, and in Totem it's just a mess of screen tearing (although the video does no jerk on that player).
I have just spent HOURS trying to get VIDEOS TO PLAY. This makes no sense. Playing a video should be the simplest thing in the world for any OS to do, but with Ubuntu it is like pulling teeth. I have NEVER been so frustrated while using a computer. What is going on here?
BTW, I installed every single thing needed to use mplayer but it still does not work. The player comes up but will not play any type of file.
My system specs:
2.2Ghz dual core (intel)
3gb ram
1GB radeon hd 4650 vid card
asus ipibl-lb mobo
I was really enjoying Ubuntu until I got around to trying to watch some videos. Now I am maybe minutes away from going back to vista. At least on there I can watch full 1080p videos if I want with no problems.
View 9 Replies
View Related
May 9, 2010
My totem crashes after several seconds of playing x264 .mkv files. Plays everything else fine (and my HD content better than .vlc so I'm not interested in switching). In terminal, the only output I get is 'Aborted'.
View 9 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
Oct 28, 2010
I'm trying to record a video with sound through FFmpeg, and while it records the system sounds just fine, it doesn't record the microphone (in fact, it crashes on doing so!). The strange thing is that if I use arecord, it works just perfectly, but through ffmpeg it crashes.This is the command that I use to launch FFmpeg:
Code:
/usr/bin/ffmpeg
-f x11grab
[code]....
View 9 Replies
View Related