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 > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th May 2011, 10:34   #461  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
it's probably hqdn3d,.. (but I'm not 100% sure since I frankly never tested which filters in mencoder interact with multi-threading in a "bad" way)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 9th May 2011, 10:44   #462  |  Link
meshaun
Registered User
 
Join Date: Jul 2010
Posts: 167
Hello Selur,
is that problem with the encoding finished?
meshaun is offline   Reply With Quote
Old 9th May 2011, 11:31   #463  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
Quote:
Originally Posted by Selur View Post
it's probably hqdn3d,.. (but I'm not 100% sure since I frankly never tested which filters in mencoder interact with multi-threading in a "bad" way)
no its sharpen. when i use only hqdn3d, it is better (50%)
__________________
NVIDIA CUDA(5.0 RC) on 460M
devaster is offline   Reply With Quote
Old 9th May 2011, 13:41   #464  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
@meshaun:should be fixed in latest public release,...

@devaster: good to know,.. damn, switching to chroma&luma sharpen instead of (un)sharpen doesn't help either,.. :/

Found a way use mencoder_mt (and rename it to mencoder) from i.e. http://ps3mediaserver.googlecode.com...aserver/win32/ (or http://sourceforge.net/projects/mpla...ision%2032848/) and the speed is a lot better

=> does anyone have any experience with mencoder_mt ? (if it doesn't have any known problems I'll switch to mencoder and mplayer MT for hybrid)
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 9th May 2011 at 15:07.
Selur is offline   Reply With Quote
Old 9th May 2011, 19:39   #465  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
mt mencoder seems doesnt help, will try better tomorrow
__________________
NVIDIA CUDA(5.0 RC) on 460M
devaster is offline   Reply With Quote
Old 9th May 2011, 19:59   #466  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
strange, more than doubled the encoding speed for me when sharpening and encoding with the cuda encoder,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 10th May 2011, 06:25   #467  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
i had it tested on another system and yes there is double speedup (and double GPU usage - 50%)
__________________
NVIDIA CUDA(5.0 RC) on 460M

Last edited by devaster; 10th May 2011 at 06:28.
devaster is offline   Reply With Quote
Old 10th May 2011, 12:03   #468  |  Link
devaster
Duke is my hero
 
devaster's Avatar
 
Join Date: Jan 2006
Posts: 79
i was looking on nvidia docs about decoder. It will be easier to incorporate the decoding and maybe filtering part into your encoder - maybe lower overhead with frame transferring ...
__________________
NVIDIA CUDA(5.0 RC) on 460M
devaster is offline   Reply With Quote
Old 11th May 2011, 10:46   #469  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Did some extensive testing on why I used the normal mencoder and not the mencoder_mt build and I found out why.
-> sometimes mencoder_mt doesn't start up properly, i.e. when calling
Code:
mencoder.exe "G:\Hybrid\test - clips\test.avi" -ovc raw -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 -lavdopts threads=8 -ofps 25 -aspect 1.81818:1 -of rawvideo -o - | x264.exe --crf 42 --f
ps 25 --input-res 640x352 --output NUL -
over and over again, around each third or forth time mencoder just doesn't send any frames,..
which will cause Hybrid to abort current since no output (and or stats file for 2pass 1st pass) will be created.
so not using mplayer_mt/mencoder_mt was a stability choice.
(will keep on testing new mt versions in the case that I find updated binaries )

Cu Selur

Ps.: @devaster: please also add an option to use the decoder without the encoding part, this would allow to use the decoder part and pipe the output to x264/xvid/mencoder/.. instead of using the nvidia encoder.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 11th May 2011 at 11:04.
Selur is offline   Reply With Quote
Old 11th May 2011, 13:39   #470  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Hybrid rev 2011.05.11.1

*fixed*
- mkvextract: removed '--raw' from extraction cl
- problem when importing chapters

*changed*
- frameCounter: limit buffer to 20MB + better frame detection

*added*
- win7/vista: show progress in taskbar
- hibernate as an additional option on queue finished

*updated*
- windows packages: frameCounter


-> downloads: http://www.selur.de/downloads
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 12th May 2011, 01:01   #471  |  Link
flebber
Practising Schemer
 
Join Date: Feb 2008
Location: Newcastle, Australia
Posts: 791
Will you be updating hybrid for the new x264 presets sharktooth is discussing here. http://forum.doom9.org/showthread.ph...52#post1499552
flebber is offline   Reply With Quote
Old 12th May 2011, 06:30   #472  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Judging from:
1. a x264 download from x264.nl
and
2. the git summary (http://git.videolan.org/?p=x264.git;a=summary)
these device presets are not preset in x264 atm.

When they are included, and there are working binaries with them, I will adjust Hybrid accordingly to support them.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 19th May 2011, 08:34   #473  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Hybrid rev 2011.05.19.1:

*fixed*
  • aspectRatio in cropView
  • Blu-ray autoCrop
  • Blu-ray chapter list import
  • cropView WASD
  • small memory leak
*changed*
  • autoCrop
*added*
  • x264: 2pass crf support again
  • autocrop: option to set how many frames are analysed
-> downloads: http://www.selur.de/downloads
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 19th May 2011, 20:55   #474  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Hybrid 2011.05.19.3

*fixed*
  • x264: broke 1pass modes when I added 2pass crf again

Cu Selur
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 19th May 2011 at 21:45.
Selur is offline   Reply With Quote
Old 19th May 2011, 21:51   #475  |  Link
Brazil2
Registered User
 
Join Date: Jul 2008
Posts: 532
Quote:
Originally Posted by Selur View Post
Hybrid 2011.05.19.3
Typo in the Win32 file name:
Hybrid_1105191_3.zip should be Hybrid_110519_3.zip
Brazil2 is offline   Reply With Quote
Old 19th May 2011, 21:53   #476  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Thanks, fixed the link.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th June 2011, 10:18   #477  |  Link
hifi25nl
Registered User
 
Join Date: May 2011
Posts: 12
I am using last version 2011.05.19.3 in archlinux with last git version of x264. The other apps are from arch official repository.

All is apparently working fine but If I try to encode for blu ray the resulting video has colors wrong: skins are almost blue...like in some sf movies...

The original file has been taken from a Sanyo Xacti video camera:
AVC, Progressive, Bitrate 12166, Resolution 1920x1080, PAR 1, 29,97, aac.

The options changed in Hybrid are:
1) Structure: Blu ray on Main tab
2) Audio handling auto add first on Main tab
3) Hardware blu ray on x264 tab
4) Constant rate factor (2 pass) on the x264 tab
5) Scale output frame rate to 23,976 or 24 in filtering tab (is this right?)
6) Encoding to ac3 in audio tab.

The same movie demuxed with tsmuxer, changed aac to ac3 and authored with easyBD is playing fine with right colors in my panasonic BD60 blu ray player (no re-encoding!)
hifi25nl is offline   Reply With Quote
Old 16th June 2011, 10:32   #478  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
the resulting video has colors wrong: skins are almost blue..
it's probably a problem with the decoding part.
How do the complete encoding calls look like ?
(disable 'Minimize job command lines' and post the complete lines of the encoding calls)

Quote:
5) Scale output frame rate to 23,976 or 24 in filtering tab (is this right?)
Since the input is progressive 29.97fps I would say: Yes.

Quote:
The same movie demuxed with tsmuxer, changed aac to ac3 and authored with easyBD is playing fine with right colors in my panasonic BD60 blu ray player (no re-encoding!)
which doesn't help at all, since you want to reencode the clip

Quote:
4) Constant rate factor (2 pass) on the x264 tab
dump that, it's an old relict from when vbv didn't work with crf encoding (-> will fix description)

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th June 2011, 11:02   #479  |  Link
hifi25nl
Registered User
 
Join Date: May 2011
Posts: 12
Under x264 tab:
Quote:
x264 --pass 1 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --mvrange 511 --sync-lookahead 15 --weightp 1 --aq-mode 0 --stats "/tmp/SANY0169.stats" --fps 24000/1001 --input-res 1920x1080 --output NUL -

x264 --pass 2 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --partitions i4x4,p8x8,b8x8 --mvrange 511 --subme 5 --sync-lookahead 15 --trellis 0 --no-fast-pskip --weightp 1 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --stats "/tmp/SANY0169.stats" --fps 24000/1001 --input-res 1920x1080 --output "/tmp/SANY0169.264" -
Under Jobs:
Quote:
MP4Box -raw 2 "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169.MP4" -out "/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac"

m2ts;false;100_:_/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac

mencoder "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169.MP4" -ovc raw -vf filmdint=io=29.97:23.976,softskip -forcedsubsonly -nosub -nosound -mc 0 -lavdopts threads=2 -really-quiet -ofps 24000/1001 -aspect 1.77778:1 -of rawvideo -o - | x264 --pass 1 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --mvrange 511 --sync-lookahead 15 --weightp 1 --aq-mode 0 --stats "/tmp/SANY0169_11_53_09_131_03.stats" --fps 24000/1001 --input-res 1920x1080 --output /dev/null -

mencoder "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169.MP4" -ovc raw -vf filmdint=io=29.97:23.976,softskip -forcedsubsonly -nosub -nosound -mc 0 -lavdopts threads=2 -really-quiet -ofps 24000/1001 -aspect 1.77778:1 -of rawvideo -o - | x264 --pass 2 --bitrate 16781 --profile high --level 4.1 --bluray-compat --keyint 60 --b-pyramid strict --direct auto --slices 4 --partitions i4x4,p8x8,b8x8 --mvrange 511 --subme 5 --sync-lookahead 15 --trellis 0 --no-fast-pskip --weightp 1 --aq-mode 0 --vbv-maxrate 40000 --vbv-bufsize 30000 --colorprim bt709 --transfer bt709 --colormatrix bt709 --stats "/tmp/SANY0169_11_53_09_131_03.stats" --fps 24000/1001 --input-res 1920x1080 --output "/tmp/SANY0169_11_53_09_131_04.264" -

"/tmp/SANY0169_11_53_09_131_03.stats"

"/tmp/SANY0169_11_53_09_131_03.stats.mbtree"

/tmp/SANY0169_11_53_09_131_07.meta ### MUXOPT --no-pcr-on-video-pid --new-audio-pes --blu-ray --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "/tmp/SANY0169_11_53_09_131_04.264", fps=23.976, insertSEI, contSPS
A_AAC, "/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac"

tsMuxeR "/tmp/SANY0169_11_53_09_131_07.meta" "/media/linux/home/olmeda/Downloads/BluRay/test/SANY0169"

"/tmp/SANY0169_11_53_09_131_04.264"

"/tmp/SANY0169_eng_aid_0__11_53_09_131_01.aac"

"/tmp/SANY0169_11_53_09_131_07.meta"
hifi25nl is offline   Reply With Quote
Old 16th June 2011, 11:06   #480  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
"-vf filmdint=io=29.97:23.976,softskip" is probably wrong for your input -> try disabling Filtering->Deinterlace/Telecine Settings->Auto deinterlacing
Strange thing is, Hybrid shouldn't insert this unless the source is detected as interlaced,.. -> would be cool if you could upload a small sample to MultiUpload (or similar site) so I can do some tests.

DOOHHH,.. it's not added by the deinterlacer but by the frame rate changer
-> think I know where the problem is.
("-vf filmdint=io=29.97:23.976,softskip" needs to be a "-vf scale,format=i420,filmdint=io=29.97:23.976,softskip")
What version 32/64bit of linux do you use, so I can send you a test version of a hopefully fixed Hybrid.


Cu Selur
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 16th June 2011 at 11:23.
Selur is offline   Reply With Quote
Reply

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 12:48.


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