Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th December 2008, 11:47   #201  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
Do you have two mencoder versions on your system? One with and one without x264 support? if so, either remove the one without x264 support, or modify the config file of h264enc and set the correct path to the mencoder version with x264 support. The config is in /home/username/.h264enc/config

also have a look at the -r option.
froggy1 is offline   Reply With Quote
Old 6th December 2008, 12:07   #202  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
ChangeLog for version 8.6.5
Code:
* Huge bugfix to the audio part of the portable device presets. Variable audiocodec2 was
missing resulting in the second audio track being ignored. Everyone who uses these presets
and wants a second audio track should upgrade ASAP
* Offer nosound audio option for the portable device presets
* Don't exit if the user has not added the .avi extension for the output file. Instead automatically add the extension to it
froggy1 is offline   Reply With Quote
Old 6th December 2008, 17:15   #203  |  Link
Rasi
Registered User
 
Join Date: Nov 2001
Posts: 121
Quote:
Originally Posted by froggy1 View Post
Do you have two mencoder versions on your system? One with and one without x264 support? if so, either remove the one without x264 support, or modify the config file of h264enc and set the correct path to the mencoder version with x264 support. The config is in /home/username/.h264enc/config

also have a look at the -r option.
No.. only one mplayer installed... freshly from svn with x264 from svn too...

Resetting the config file didnt help
Rasi is offline   Reply With Quote
Old 6th December 2008, 17:18   #204  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
what does mencoder -ovc help say? do you see x264 in there? I'm surprised that it doesn't find it since this code in h264enc hasn't been touched in a year and works without a problem here
froggy1 is offline   Reply With Quote
Old 12th December 2008, 12:38   #205  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
ChangeLog for version 8.6.6
Code:
* Added support for the software equalizer video filter (eq2)
* Removed signal SIGTSTP from the trap list. The user can now suspend the encoding process
with CTRL+Z and continue later on by typing fg in the terminal
* Small loop modifications in the video_subtitles_func() function
* Set default AAC profile when using neroAacEnc to LC instead of HE
* Added support for VCD/SVCD encodings. Yeah, yeah (S)VCD is crap and old but nevertheless
I'll support it. It's a small change to the codebase of h264enc anyways
* Add option -ipod to the MP4Box muxing parameters. This removes the need of running MP4Box
again after muxing just to rewrite the file for the iPod/iPhone
* Added a condition to check if MP4Box is compiled with the PSP patch and if so, the -psp option will
be added to the parameters when using the Sony PSP presets. The PSP patch along with install instructions
can be downloaded from h264enc's site at http://h264enc.sourceforge.net/download.html
* Small loop modifications to the get_dvd_devices_func() function
* Small modifications to the install script
* Updated the man page
froggy1 is offline   Reply With Quote
Old 15th December 2008, 15:14   #206  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,561
Just tested some of the deinterlacer methods used in h264enc, namely the onces with yadif and mcdeint.
Problem is they all crash for me when mcdeint is not set to 0 (fast) can anyone confirm this, or is this just a problem with the mplayer/mencoder builds I use? (happens for me on windows&linux)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th December 2008, 15:17   #207  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
Quote:
Originally Posted by Selur View Post
Just tested some of the deinterlacer methods used in h264enc, namely the onces with yadif and mcdeint.
Problem is they all crash for me when mcdeint is not set to 0 (fast) can anyone confirm this, or is this just a problem with the mplayer/mencoder builds I use?
Yes, I can confirm that. Problem is with MEncoder. mcdeint uses some of the Snow codec code to do iterative searches and as we all know, Snow is not finished yet so you get a high chance of mcdeint crashing when you use with values > 0

EDIT: just tested mcdeint=0, mcdeint=1, mcdeint=2 and mcdeint=3 they all work here. I had crashes with values > 0 some time ago though

Last edited by froggy1; 15th December 2008 at 15:23.
froggy1 is offline   Reply With Quote
Old 1st January 2009, 20:04   #208  |  Link
kozaki
Registered User
 
kozaki's Avatar
 
Join Date: Apr 2008
Posts: 5
@ froggy1, am so glad to discover h264enc Finally I find a powerfull script that promise much more fun than copy/paste and mencoder profiles (using mplayer/mencoder since 2001)

But am still frustrated as my configuration looks incomplete yet.
Would someone be able to help me check this pliz ?

Dependancies look OK : h264enc -sc shows everything's OK/YES but aacplusenc.

Launched h264enc to transcode a DVD ISO chapter with "-2p -p anihq" and then going on without any fancy (no crop, no subtitles, ..)

There I hit the same error than WalterK 3 pages up with
Code:
Option x264encopts: Unknown suboption psy_rd
Might be due to old software versions or to a uncleaned system before.
Installed latest x264-snapshot-20081231-2245, but that did not help.
I might as well have forgotten to clean the system before installing it.

system is a Mandriva 2009 x86_64 with "contrib" and "backports" repos
softwares :
- mencoder/mplayer-1.0-1.rc2.18.1plf2009.0
- x264-snapshot-20081231-2245 (sources)
- rpm -qa | grep 264
Code:
lib64x264_65-0.65.2245-1plf2009.1
lib64x264_59-0.59.2245-1plf2009.0
- updatedb && locate x264 | grep /usr
Code:
/usr/lib64/libx264.so.59
/usr/lib64/libx264.so.65
/usr/lib64/vlc/codec/libx264_plugin.so
/usr/local/bin/x264
/usr/local/include/x264.h
/usr/local/lib/libx264.a
/usr/local/lib/libx264.so
/usr/local/lib/libx264.so.65
/usr/local/lib/pkgconfig/x264.pc
- gpac-0.4.4-0.rc2.1plf2009.0
- tsMuxeR_1.7.3 (sources)
kozaki is offline   Reply With Quote
Old 1st January 2009, 20:11   #209  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
@ kozaki

I think your mencoder is still linked to the older libx264 library, even though you have the new one installed. What you do in this case is remove any instances of the old x264 packages, compile/install the new x264 and recompile mplayer to pick it up. Also your mencoder is pretty old (1.0rc2 - 2 years old), grab SVN if you can

Further check the output of ldd $(which mencoder) | grep libx264* and you can see to which library it is linked. If it is to libx264.so.59 then do the steps above
froggy1 is offline   Reply With Quote
Old 1st January 2009, 23:49   #210  |  Link
kozaki
Registered User
 
kozaki's Avatar
 
Join Date: Apr 2008
Posts: 5
It's libx264.so.59, yes you guessed it right froggy1. Thank you v much
I think I'll reinstall Arch linux on my desktop rather playing with rpm --nodeps, sources & subversion on Mandriva.
Would be nice to get a poweruser friendly station where i can test & use bleeding edge stuff like h264enc, and Arch is just great on that. But last time i tried to install it, it did not like my raid+lvm. And since Mandy let me do my work without too much of hassle even if with less fun...
kozaki is offline   Reply With Quote
Old 2nd January 2009, 04:24   #211  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
@ kozaki

Well, I'm on an rpm based Linux too (openSUSE 11.0) and I don't have any problems with it. I never use mplayer and x264 from the repo's and always compile them myself. I don't have any problems with that on my system and can always use the latest of these programs. I don't know how Mandriva does it since the last time I used it, they were called Mandrake and I used version 8.1 which is many years old.
froggy1 is offline   Reply With Quote
Old 4th January 2009, 16:35   #212  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
ChangeLog for version 8.6.7
Code:
* Added two AVCHD presets (avchd and avchdhq)
* Removed tsMuxeR options insertSEI, contSPS and --vbv-len when using the
Blu-ray and AVCDHD presets
* Use 'source' instead of '.' for importing files into the script. Makes it easier for
me to read when my eyes are tired
* Moved the CONFIGDIR variable to the configuration file. This allows the user to set
a custom temporary directory for storing temp files for encoding/remuxing. If the variable is
unset in the config file, h264enc defaults to $HOME/.h264enc/h264enc_<PID>. This change
updates the config file to version 3. Requested by Matyas Sustik
* Improvements to the audio_resample_func() function. Automatically detect the audio sample
rate of the content and display it. Also, moved the resample filters into a function called
audio_resample_filters_func(). This change allows for comparing the detected with the selected
sample rate and if both are the same, resampling will be skipped
* For directory encodings, offer an option to automatically delete the AVI file after remuxing to the
other containers. This can considerably reduce disk space usage, especially when encoding a
directory with a lot of files in it.
* Replaced all 'tail -1' commands with 'tail -n 1' since 'tail -1' is made obsolete as stated by the info page of tail
* Lowered psy trellis by 0.1 for all presets that use it. Seems 0.3 can cause weak mosquito noise
on some content, even at such low values
* Use a weak AQ strength of 0.5 for the anime presets to reduce blocking in dark areas
* Added -channels option when scanning a video file for its audio properties
* Updated the man page
froggy1 is offline   Reply With Quote
Old 6th January 2009, 14:20   #213  |  Link
kozaki
Registered User
 
kozaki's Avatar
 
Join Date: Apr 2008
Posts: 5
yeah nice

froggy1, which mplayer (mencoder) version do you use on OpenSuse?
Actualy, i used to compil it back in 2001-2003 (mplayer was commonly uninstallable as a package back then). After what i got used to the install-package-and-it-simply-works, and didn't went further than lookin for the most up-to-date rpm/.tar.gz version for my distro. Especialy as a bunch of other packages rely on mplayer.
But both on Arch and Mandriva the latest i've seen is 1.0rc2.xx (svn's available on Arch but i have yet to bypass an issue with init 5 on this distro before i can try it)
kozaki is offline   Reply With Quote
Old 6th January 2009, 16:02   #214  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
I use self-compiled SVN versions of mplayer. I usually grab once a month from SVN and compile it.
froggy1 is offline   Reply With Quote
Old 13th January 2009, 05:54   #215  |  Link
ggking7
Registered User
 
Join Date: Sep 2006
Posts: 249
Has anyone used this to encode a video that can be played back with audio on a Nokia N82 (or similar) cell phone? I'm having trouble finding something in Linux that works reliably.
ggking7 is offline   Reply With Quote
Old 13th January 2009, 06:00   #216  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
not sure, it does have a Nokia S60 preset, you can try it but I don't know if it'll work for the N82
froggy1 is offline   Reply With Quote
Old 13th January 2009, 17:54   #217  |  Link
ggking7
Registered User
 
Join Date: Sep 2006
Posts: 249
Thanks froggy1, I'd like to give it a try but there doesn't seem to be an ebuild for Gentoo available anywhere.
ggking7 is offline   Reply With Quote
Old 13th January 2009, 18:20   #218  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
why do you need ebuild? h264enc is just a shell script, copy it to any location and use it
froggy1 is offline   Reply With Quote
Old 14th January 2009, 08:10   #219  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,435
ChangeLog for version 8.6.8
Code:
* Calculate and display the amount of frames when scanning a video file. Also display seconds in
addition to minutes for the runtime
* Replaced MB and GB with MiB and GiB
* Updates to the hq, vhq, ehq, ihq, ani and anihq presets: lower b-frames from 16 to 5 for the hq, ani and
anihq, from 16 to 6 for the vhq, from 16 to 7 for the ehq and from 16 to 8 for the ihq presets and use b_adapt=2
instead of b_adapt=1. These changes increase encoding time a bit but are worth it quality-wise
* Updated QP range, add 0 for lossless mode
froggy1 is offline   Reply With Quote
Old 14th January 2009, 19:09   #220  |  Link
ggking7
Registered User
 
Join Date: Sep 2006
Posts: 249
Thank you, I did that, but a sanity check (-sc) tells me:

-> Checking for 'neroAacEnc'.................. FAILED! [no support for AAC+ audio]
-> Checking for 'aacplusenc'.................. FAILED! [no support for AAC+ audio]
-> Checking for 'MP4Box' (from gpac).......... FAILED! [no support for the MP4 container]

The audio needs to be in AAC format to work in S60, but I get the following:

$ tar -xzf aacplusenc_0.17.1.tar.gz
gzip: stdin: not in gzip format

The container needs to be MP4 to work in S60 and I do have gpac installed, but I get the MP4 error.

Do you know how to fix these problems?
ggking7 is offline   Reply With Quote
Reply

Tags
h264enc, ipod, mencoder, ps3, xbox360

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.