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 2nd January 2013, 18:05   #1241  |  Link
DJ-1
Registered User
 
Join Date: May 2009
Posts: 328
now that i have started looking at de-interlacing methods....
i have a small sample PAL 720X576 (interlaced) top field first 25fps., before i had the avisynth working i tried 'bob' mode.... it produces the best output so far in terms of getting rid of comb effects. however i would prefer to keep original frame-rates.
it outputs @ 50fps, plays fine... 1min source clip = normal speed.
After doing a quick test of QTGMC (slower preset) even, + bob....
outputs @ 50fps, mediainfo reports it as 1min duration, = plays back at double speed.?...puzzled. (is this normal?, or am i missing a setting, anothet step?)

im not even sure of the best ways of doing this stuff just yet....

many thanks.

p. s:
pls forgive me if i as noob stuff on that topic, ive always previosly let auto-de-interlacing occur.


Sent from my Galaxy S II using tapatalk

Last edited by DJ-1; 2nd January 2013 at 18:07.
DJ-1 is offline   Reply With Quote
Old 4th January 2013, 09:38   #1242  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
There's a small display bug in the current version, it shows the QTGMC configuration even if QTGMC is not selected -> make sure you select QTGMC as Deinterlacer if you want to use it.
Other than that using QTGMC + bob should double the fps and the frame count, so the length should stay the same. (that's what a bobber is supposed to do)
-> just tested, if QTGMC is selected as Deinterlacer the output is sync here
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 4th January 2013 at 09:46.
Selur is offline   Reply With Quote
Old 4th January 2013, 20:02   #1243  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Hybrid rev. 2013.01.04.1

*fixed*
  • extract: when extracting MPEG-4 ASP with mkvextract now .m4v extension instead of .avi
  • avisynth: dgindex created an unwanted audio file during .d2v creation
  • cosmetics: gui didn't show 'At crash play'-path
*changed*
  • avisynth: changed QTGMC@Fast to be the default deinterlacer when using avisynth
  • x264: Hybrids default qcomp value is now 0.5 instead of the normal 0.6
  • analyze: boosting tsprobe while analyzing transport streams
  • tags: extended tagging support (tags can also be imported and passed through from non-mkv files)
*added*
  • jobs: play buttons to play sound select to play on job finished/crashed and queue finished

-> downloads: http://www.selur.de/downloads

side note: updated a bunch of files in the Windows and Mac bundle

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 4th January 2013, 23:54   #1244  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
Congratulation selur for a new improved Hybrid version.

I have a problem with subtitles colour.
The original subtitle letters are white with black border.
But after encoding with Hybrid they are grey with white border, and it does make them more difficult to be read.

Is there any adjustment in Hybrid to tweak subtitle colour?. I looked for it but didn't find any.
If there's no way to tweak subs colour, any advice on how to modify them to look like the original?.

digitall.h is offline   Reply With Quote
Old 5th January 2013, 00:08   #1245  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
What are you doing exactly? converting srt->ttxt? converting ass -> ttxt? passing through srt/ass/idx/... subtitles? hardcoding subtitles?
If you are passing through subtitles -> Hybrid shouldn't change anything.
If you are converting to ttxt -> If your input are srt subtitles: Hybrid doesn't have an option to specify the color of the subtitles. .srt subtitles do not have color infos, the color they are displayed in depends on the subtitle decoder. (I can probably write some code for it tomorrow or on Sunday) If your input subtitles are ass formated, the color should be transfered to ttxt. (if not I can look into it)
If you are embedding/hardcoding subtitles there is a bunch of options to overwrite/set colors.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th January 2013, 00:14   #1246  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
They are the original subtitles, just passed through.
And they are played in the same player, VLC, the original DVD (the files in the HDD) and the Hybrid encoded file.

I thought that just passing through shouldn't change anything, but colours are different.
digitall.h is offline   Reply With Quote
Old 5th January 2013, 00:19   #1247  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
If your are not hardcoding the subtitles Hybrid will, extract the subtitles using MPlayer (and create a idx/sub files) and than mux these subtitles with mp4box/mkvmerge depending on the output format you choose.
This should not change any information regarding the subtitles, especially since these are picture based subtitles,...
-> I really doubt that this is a bug in Hybrid, sounds more like this is due to some setting in VLC.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th January 2013, 00:34   #1248  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
You're probably right.
It may be a problem in MPlayer (when extracting the subs), or VLC when playing them.
I don't think it's a setting in VLC, since I don't change anything, and some subs are shown correctly and others wrong, with same settings.
I don't have another h264 player.
I played it in Hybrid-preview subtitles, and they are shown as grey/light white with black border (better than in VLC)
digitall.h is offline   Reply With Quote
Old 5th January 2013, 00:40   #1249  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
My bet is on VLC.
I doubt that mplayer is even able to change the color or picture subtitles.
(not using VLC here; I use MPC-HC+Lav Filters+madVR or Windows and (S)MPlayer on Linux&Mac)
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th January 2013, 05:31   #1250  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 49
Is it ok that Hybrid uses mencoder to decode videos even though I chose ffmpeg as preferred decoder? I was trying to convert a lossless utvideo (hd 720p) to x264 and the result was a complete mess. While ffmpeg is able to decode utvideo properly (build it myself ), I can't say anything about good old buggy mencoder, but I doubt it.

I'm using the latest Hybrid on Linux Debian 32bit
pintcat is offline   Reply With Quote
Old 5th January 2013, 09:44   #1251  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Roughly the decoder decision works like this:
  1. check if content needs ffmpeg (this is just true for some content mencoder can't handle) -> if yes, use ffmpeg
  2. check if content needs mencoder (e.g. avisynth input, DVD input) -> if yes, use mencoder
  3. check if ffmpeg is prefered -> if yes, use ffmpeg
  4. check if x264 is used and if x264s internal decoder can handle the content -> if yes, use x264
  5. if none of the above was true use mencoder.
-> you probably activated something which constitutes 'needsMencoder'.

Here is the stuff that constitutes 'needsMencoder':
  • denoiser 'hqdn3D - slow' (last time I checked ffmpeg didn't support it)
  • any deinterlacer other than Yadif, bob, Yadif (custom), FFmpeg Deinterlacer
  • enabling postprocessing
  • ProRes or VC-3 content
  • if Hybrid assumed the content needs to be first converted to YUY2 during decoding
  • 'Color adjustments' is enabled
  • DVD input
  • on Windows: Avisynth input (unless 32bit ffmpeg with avisynth support is used)
=> you can either, deactivate which triggers the 'needsMencoder' decision or you can also build mencoder with utvideo support.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 5th January 2013, 16:48   #1252  |  Link
pintcat
Registered User
 
Join Date: Jul 2010
Location: Berlin, Germany
Posts: 49
Oh yes - one postprocessing option was active. After disabling it, ffmpeg came into play. Thanx for clarifying. Apparently, my mencoder does support utvideo, but screws up parts of the picture with strange colour noises. Maybe they used an outdated ut version for building mplayer/mencoder which is incompatible with the latest ut release (got the mplayer package from the Debian backports).
One general question regarding mplayer/mencoder: Is there a way (maybe a command line option) to figure out which options were used for compiling? I'm curious if it supports ass & fontconfig.

Last edited by pintcat; 5th January 2013 at 16:56.
pintcat is offline   Reply With Quote
Old 6th January 2013, 12:47   #1253  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
One general question regarding mplayer/mencoder: Is there a way (maybe a command line option) to figure out which options were used for compiling? I'm curious if it supports ass & fontconfig.
probably,...

calling
Code:
mencoder -vf help
and/or
Code:
mplayer -vf help
will show the video filters mencoder/mplayer supports.

if it lists:
Code:
ass            : Render ASS/SSA subtitles
it should support ass and fontconfig, since iirc. ass requires fontconfig
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 8th January 2013, 18:43   #1254  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
Hi all,
running Hybrid in Linux Mint 13 KDE.
One question, is de-interlacing working OK in Linux with you?.
I'm asking because I tried 2 encoding of DVD rips, detected as interlaced by Hybrid, and if I selected Yadif custom or mcdeint custom (no native avisynth in Linux) the encoding crashed (I suppose it's mencoder that crashes).
I don't recall which were the DVDs so I cannot reproduce the error, when I come across another one I will report.
Just posting to know if either yadif or mcdeint works for you in Linux.
digitall.h is offline   Reply With Quote
Old 8th January 2013, 19:33   #1255  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Tried on Lubuntu 64bit and had no problem deinterlacing a mpeg2 file,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 11th January 2013, 10:53   #1256  |  Link
active1
Registered User
 
Join Date: Nov 2011
Location: spain
Posts: 45
Nice app!
It would be very nice if hybrid could use vapoursynth and it's plugins
active1 is offline   Reply With Quote
Old 11th January 2013, 11:17   #1257  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Things that I like about VapourSynth:
  • might be the future of Avisynth (it shows a possible development branch)
  • has huge possibilities since it's basically writing Python
  • Cross-Platform usage
Things I don't like about VapourSynth:
  • it's even more complicated than Avisynth
  • it requires Python SDK to be installed

Main problems that hinder the integration into Hybrid
  1. I have no clue how such an Integration should look like
  2. I have no clue how to use VapourSynth (-> no clue how to write valid VapourSynthScripts)
  3. I don't know what filters&co are available and usable (kind of stable)
  4. I don't know how usable/stable VapourSynth itself is
  5. I don't know if it's possible to use some sort of portable VapourSynth (like the avisynthExtension for Hybrid)
  6. I don't know how to check if Python is properly installed on a system
  7. ....
-> conclusion: It's mainly my lack of knowledge about VapourSynth that prevents it's integration into Hybrid.
So don't expect it to come any time soon. (Like AvxSynth it's something that might find it's way into Hybrid.)

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 13th January 2013, 16:16   #1258  |  Link
digitall.h
Registered User
 
Join Date: May 2012
Location: Here
Posts: 257
Thank you for your feed back on these developing alternatives for avisynth in Linux.
I guess that once they're more developed and general use in Linux, you will easily have answers to your questions a to z, and further.
You could also contact developers and join efforts to include them in Hybrid, but I don't really know how this inter-developers relationship goes

I'm on Linux Mint KDE 64bit. I found that in Hybrid 2013.01.04.1, when I add a Title name to Audiostream or Subtitlestream in the Tags tab, it isn't added later to the mp4.
I looked at the command line generated by Hybrid, and when adding streams in MP4Box it adds language but not name.

I also created an mp4 file from BluRay, and Hybrid extracts a sup subtitle file. But it doesn't then accept it as a valid subtitle file.
I managed to convert it to idx/sub with BDSub2Sup, but I wonder if Hybrid can do this conversion. If not, it would be great to include this functionality.


The deinterlace question is not forgotten. It's just I did not come across with another interlaced source.

Last edited by digitall.h; 13th January 2013 at 16:17. Reason: Append some info
digitall.h is offline   Reply With Quote
Old 13th January 2013, 16:44   #1259  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Quote:
I also created an mp4 file from BluRay, and Hybrid extracts a sup subtitle file. But it doesn't then accept it as a valid subtitle file.
Yes, that's because mp4box doesn't support sup subtitles.

Quote:
I managed to convert it to idx/sub with BDSub2Sup, but I wonder if Hybrid can do this conversion. If not, it would be great to include this functionality.
Can BDSub2Sup/BDSub2Sup++ called via command line and do the conversion without user interaction?

Quote:
I'm on Linux Mint KDE 64bit. I found that in Hybrid 2013.01.04.1, when I add a Title name to Audiostream or Subtitlestream in the Tags tab, it isn't added later to the mp4.
I looked at the command line generated by Hybrid, and when adding streams in MP4Box it adds language but not name.
Did you add the tagging settings to the tag-Queue?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 13th January 2013, 17:02   #1260  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
just checked:
Code:
"/usr/local/bin/MP4Box" -par 1=1:1 -add "/home/selur/Arbeitsfläche/test_Title_1_1-1_16_54_17_0410_03.avi"#video:fps=25 -add "/home/selur/Arbeitsfläche/_iId_1_aid_1_16_54_17_0410_02.mp3"#audio:name="This is a title":lang="ab" -itags tool="Hybrid 2013.01.11.1" -tmp "/home/selur/Arbeitsfläche" -new "/home/selur/Arbeitsfläche/_16_54_17_0410_04.mp4"
->title is included in the mp4box call as it should

analysing the output:
Code:
MP4Box -info ~/Arbeitsfläche/test_Ttle_1_1-1.mp4
I get:
Quote:
* Movie Info *
Timescale 600 - Duration 00:00:17.183
Fragmented File no - 2 track(s)
File suitable for progressive download (moov before mdat)
File Brand isom - version 1
Created: GMT Sun Jan 13 15:54:49 2013

File has root IOD (9 bytes)
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: Advanced Simple Profile @ Level 5 (0xf5)
Audio PL: No audio capability required (0xff)
No streams included in root OD

iTunes Info:
Encoder Software: Hybrid 2013.01.11.1

Track # 1 Info - TrackID 1 - TimeScale 25000 - Duration 00:00:17.160
Media Info: Language "Undetermined" - Type "vide:mp4v" - 429 samples
Visual Track layout: x=0 y=0 width=640 height=352
MPEG-4 Config: Visual Stream - ObjectTypeIndication 0x20
MPEG-4 Visual Size 640 x 352 - Advanced Simple Profile @ Level 5
Pixel Aspect Ratio 1:1 - Indicated track size 640 x 352
Self-synchronized

Track # 2 Info - TrackID 2 - TimeScale 48000 - Duration 00:00:17.184
Media Info: Language "Abkhazian" - Type "soun:mp4a" - 716 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x6b
MPEG-1 Audio - 2 Channel(s) - SampleRate 48000 - Layer 3
Synchronized on stream 1
-> no title

comparing the syntax of:
Code:
-add "/home/selur/Arbeitsfläche/_iId_1_aid_1_16_54_17_0410_02.mp3"#audio:name="This is a title":lang="ab"
against: http://gpac.wp.mines-telecom.fr/mp4box/mp4box-documentation/
I do not see an error, do you?

Cu Selur
__________________
Hybrid here in the forum, homepage
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 14:29.


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