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 October 2010, 20:59   #521  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
And now the question is; where exactly to ask this? Just after the deinterlace stuff or when one reaches scaling, which is multiple steps below?
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 6th October 2010, 22:17   #522  |  Link
ganymede
Registered User
 
Join Date: Aug 2010
Location: Paris
Posts: 52
Quote:
Originally Posted by froggy1 View Post
And now the question is; where exactly to ask this? Just after the deinterlace stuff or when one reaches scaling, which is multiple steps below?
Why not at the scaling step, and only if the user has requested deinterlacing ?
ganymede is offline   Reply With Quote
Old 6th October 2010, 23:17   #523  |  Link
Redsandro
Unregistered User
 
Redsandro's Avatar
 
Join Date: Jul 2008
Location: Netherlands
Posts: 133
Quote:
Originally Posted by ganymede View Post
There's a little trick to speed up deinterlacing and reduce picture size at the same time (a very common task).
Doesn't this leave interpolated less precise data (YUV warning) for the deinterlace?
__________________
avi + m2t -> Vdub + DGIndex -> AE CS3 -> x264 -> Hell On Earth
Woop, woop! That's the sound of the police!
Redsandro is offline   Reply With Quote
Old 7th October 2010, 12:55   #524  |  Link
ganymede
Registered User
 
Join Date: Aug 2010
Location: Paris
Posts: 52
Quote:
Originally Posted by Redsandro View Post
Doesn't this leave interpolated less precise data (YUV warning) for the deinterlace?
I guess you're right. The deinterlacing filter has to work with less precise data since the horizontal resolution is reduced.
Nevertheless, this precision loss is probably not too severe as long as :
  • you resize only horizontally
  • you don't resize too much (eg. 1920x1080 -> 1280x720 or 1024x576 should be OK, 1920x1080 -> 640x360 I don't know)
Anyway, you'll have to resize at the end, right ? So I doubt there is a significant reduction in picture quality at the end. At least, I didn't notice any when I deinterlaced this way.
ganymede is offline   Reply With Quote
Old 10th October 2010, 15:26   #525  |  Link
contador
Registered User
 
Join Date: Jul 2010
Posts: 11
I would also like to ask if there are any plans to introduce other mp3 audio enchancement options to Xvidenc? I have a great picture on my encodes, but the source audio is very 'tinny'. Being able to boost the bass would improve the audio alot.

Last edited by contador; 10th October 2010 at 15:29.
contador is offline   Reply With Quote
Old 10th October 2010, 15:32   #526  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
Can probably add the audio equalizer...

About the deinterlace stuff, don't think I'll add it
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 29th October 2010, 10:14   #527  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.2.9
Code:
* Fix typo in the backup_file_func(): exisiting -> existing
* Workaround multichan FAAC encoding. FAAC somehow does not like multichan PCM from MPlayer
but it does if one treats it as raw using -P in FAAC. Nero/FLAC/Vorbis have no issues, though. Go figure
* Added support for setting subtitle codepage during hardcoding of external subs
* Added support for the audio equalizer filter. This updates the config file version to 18
* Removed 'time' requirement
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 26th November 2010, 09:54   #528  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.3.0
Code:
* Remove double $HOME variable in the -scan option
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 5th December 2010, 22:10   #529  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.3.1
Code:
* Fix for the custom preset (cp) option
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 7th December 2010, 16:49   #530  |  Link
cord-factor
Registered User
 
Join Date: Jan 2008
Location: Kharkov, UA
Posts: 105
Hi froggy1, can you answer?
Why usage of 'B-frames' is disabled by default (in mencoder options of x264 codec)? It's because of default 'AVI' container features or something else?
Thx.
__________________
Gentoo linux
cord-factor is offline   Reply With Quote
Old 7th December 2010, 16:54   #531  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
Quote:
Originally Posted by cord-factor View Post
Hi froggy1, can you answer?
Why usage of 'B-frames' is disabled by default (in mencoder options of x264 codec)? It's because of default 'AVI' container features or something else?
Thx.
I have no idea where you get that from. If you don't touch b-frames options, mencoder picks whatever is the default in libx264
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 8th December 2010, 16:30   #532  |  Link
cord-factor
Registered User
 
Join Date: Jan 2008
Location: Kharkov, UA
Posts: 105
Oh, sorry, yes it is fine right now.
But year ago, when I've used stable version of mplayer/mencoder (at that time; I don't remember exact number) it was there.
With the command below the x264 video stream became without b-frames (only I and P).
Code:
mencoder input.avi -nosound -ovc x264 -x264encopts crf=20 -of lavf -lavfopts format=rawvideo -o output.x264
Also there was the warning
Code:
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
and I had to use the "i_certify_that_my_video_stream_does_not_use_b_frames" option to make lavf formats.
__________________
Gentoo linux
cord-factor is offline   Reply With Quote
Old 8th December 2010, 18:40   #533  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
Quote:
Originally Posted by cord-factor View Post
Oh, sorry, yes it is fine right now.
But year ago, when I've used stable version of mplayer/mencoder (at that time; I don't remember exact number) it was there.
With the command below the x264 video stream became without b-frames (only I and P).
Code:
mencoder input.avi -nosound -ovc x264 -x264encopts crf=20 -of lavf -lavfopts format=rawvideo -o output.x264
Also there was the warning
Code:
** MUXER_LAVF *****************************************************************
REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
and I had to use the "i_certify_that_my_video_stream_does_not_use_b_frames" option to make lavf formats.
The problem in here is different. It's because mencoder is broken when used with the lavf muxer so it will produce incorrect files and most likely nothing but mplayer will play them. So, in short: lavf muxer + mencoder + b-frames= no go

However, the above option has been removed for quite some time now. This is not to say that now mencoder produces correct files when b-frames and the lavf muxer are used. It still doesn't. Don't ask me why they removed that option 'cause I don't recall

Anyways, if you don't use the lavf muxer, mencoder has little issues encoding to H.264 with b-frames. Also in the past b-frames in libx264 weren't enforced like these days, so obviously you'd only get I and P ones. Not so with recent libx264 versions which has sane defaults that include b-frames even if you don't explicitly tell mencoder to use them
__________________
ffx264 || ffhevc || ffxvid || microenc

Last edited by microchip8; 8th December 2010 at 18:43.
microchip8 is offline   Reply With Quote
Old 8th December 2010, 21:27   #534  |  Link
cord-factor
Registered User
 
Join Date: Jan 2008
Location: Kharkov, UA
Posts: 105
Oh, Thanks. Now, I see
__________________
Gentoo linux
cord-factor is offline   Reply With Quote
Old 30th December 2010, 02:45   #535  |  Link
nbi
Registered User
 
nbi's Avatar
 
Join Date: Oct 2007
Posts: 5
Ok, I just took a stab at it and it appears badly broken. What's particularly aggravating is that the preview gave no hint of anything being wrong. So what are all the things that went wrong?

1. It created an AVI that had video and audio totally out of sync.
2. It did encode the source WMV video into a H264 file that plays video, but is missing the audio track.
3. I was expecting to get an end result ".mp4" file but MP4Box ran for nearly a day (!) without ever finishing!

This transpired on a x86_64 Debian Lenny system. I have no idea how it got tripped up, but I did save the executed shell script in case anyone knows what to look for.
Thanks.
nbi is offline   Reply With Quote
Old 30th December 2010, 08:47   #536  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
@nbi

already replied to you by mail
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 8th January 2011, 16:36   #537  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.3.2
Code:
* Use -demuxer lavf when trying to get the video length for bitrate calculation for a target file size. Should be more reliable on M2TS/TS files
* Add support for the delogo filter. Patch by Haiko Michelfeit <haiko AT zsyndikat DOT org>. Config file version is bumped to 19
* Updated copyright dates
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 21st February 2011, 19:07   #538  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.3.3
Code:
* Fixed a bug in directory batch mode were wrong conditional was used to check for the DEFOUTPUT variable
* Display which file is currently being processed in batch mode
* Check only for files while in batch mode
* Do not exit if user types an incorrect answer to y/n questions. Instead, ask the question again. Patch by Jan-Hendrik Peters and friends
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 9th March 2011, 15:16   #539  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.3.4
Code:
* Fix option 4 and 5 of the video_deblock_func() function. Wrong vars used
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 29th March 2011, 09:29   #540  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,841
ChangeLog for version 9.3.5
Code:
* Added support for setting the crop rounding value
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 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 22:59.


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