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 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th February 2011, 18:03   #161  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Im struggling to work out the parms required to force SAR 1:1 in --Video-Filter;

--video-filter crop:2,2,2,2/resize:1280,720,method=lanczos/? (source 4:3 anamorphic, want 16:9 1:1 ouput)

Edit: Coffee's kicked in, worked it out;

--video-filter crop:2,2,2,2/resize:1280,720,1:1,method=lanczos


Still struggling with correct fps output, source is 29.970 after deinterlace and its spitting out 59.940.

ffms [info]: 1440x1080i 0:1 @ 60030/1001 fps (vfr)
.

Last edited by dansus; 26th February 2011 at 18:52.
dansus is offline   Reply With Quote
Old 26th February 2011, 21:39   #162  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
--no-interlaced --fps 30000/1001
sneaker_ger is offline   Reply With Quote
Old 26th February 2011, 21:47   #163  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
btw.:
Why isn't "--no-interlaced" documented in fullhelp?
And why is everything from "--no-i" to "--no-interlaced" accepted?
sneaker_ger is offline   Reply With Quote
Old 26th February 2011, 21:57   #164  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by sneaker_ger View Post
And why is everything from "--no-i" to "--no-interlaced" accepted?
getopt
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 26th February 2011, 22:23   #165  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I see.
sneaker_ger is offline   Reply With Quote
Old 26th February 2011, 22:25   #166  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
--no-interlaced --fps 30000/1001
That seems to have worked, except playback is in slow motion now..
dansus is offline   Reply With Quote
Old 26th February 2011, 22:40   #167  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Then your source is not 29.970.
sneaker_ger is offline   Reply With Quote
Old 26th February 2011, 22:48   #168  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
Then your source is not 29.970.
Media Info says;

Quote:
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Format settings, GOP : M=1, N=56
Codec ID : 27
Duration : 1mn 11s
Bit rate mode : Variable
Bit rate : 8 593 Kbps
Maximum bit rate : 20.0 Mbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
dansus is offline   Reply With Quote
Old 26th February 2011, 22:52   #169  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Did you perhaps use bobbing (e.g. yadif mode 1) or mistyped "30000/1001"?
Upload a sample otherwise.
sneaker_ger is offline   Reply With Quote
Old 26th February 2011, 23:08   #170  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
Did you perhaps use bobbing (e.g. yadif mode 1) or mistyped "30000/1001"?
Upload a sample otherwise.
Seems ok, using ffms in x264.exe

Quote:
x264.exe --preset slow --crf 21.5 --level 4.1 --video-filter crop:2,2,2,2/resize:1280,720,1:1,method=lanczos --no-interlaced --fps 30000/1001 --output "C:\Output.mkv" --demuxer ffms --index "C:\x264-index" "C:\testhd.ts"
Sample - http://www.mediafire.com/?5j9x0az19sx00eq

Last edited by dansus; 6th March 2011 at 05:31.
dansus is offline   Reply With Quote
Old 26th February 2011, 23:45   #171  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Doesnt like PAL MBAFF either (BBCHD)


ffms [info]: 1440x1080i 4:3 @ 27679/1001 fps (vfr) ??

Theres some weird effect playback too.

http://www.mediafire.com/imgbnc.php/...0fb0eedf6g.jpg
dansus is offline   Reply With Quote
Old 26th February 2011, 23:55   #172  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Yes, I also had some troubles on your sample.
This command line seems to result in acceptable output:
Code:
x264 testhd.ts -o output.mkv --vf yadif:0,bff/select_every:2,0 --fps 60000/1001
I didn't manage to bob and I don't know what I'm doing wrong.

Last edited by sneaker_ger; 26th February 2011 at 23:57.
sneaker_ger is offline   Reply With Quote
Old 27th February 2011, 00:06   #173  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
Yes, I also had some troubles on your sample.
This command line seems to result in acceptable output:
Code:
x264 testhd.ts -o output.mkv --vf yadif:0,bff/select_every:2,0 --fps 60000/1001
I didn't manage to bob and I don't know what I'm doing wrong.
So your saying you couldnt get the right output with ffms?
.

Last edited by dansus; 6th March 2011 at 05:33.
dansus is offline   Reply With Quote
Old 27th February 2011, 00:08   #174  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Test my command line, it looks fine, but I did not manage to bob.
sneaker_ger is offline   Reply With Quote
Old 27th February 2011, 00:18   #175  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
Test my command line, it looks fine, but I did not manage to bob.
Cant seem to get that code to run, crashes after index. Im sure its just me being a noob..
dansus is offline   Reply With Quote
Old 27th February 2011, 00:20   #176  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I'm using this build.
sneaker_ger is offline   Reply With Quote
Old 27th February 2011, 00:31   #177  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
I'm using this build.
Is that a x64 build? Yep, rename link to 1913_32 if you need x86 version.

Last edited by dansus; 27th February 2011 at 01:59.
dansus is offline   Reply With Quote
Old 27th February 2011, 00:41   #178  |  Link
dansus
Registered User
 
Join Date: Mar 2005
Location: london
Posts: 104
Quote:
Originally Posted by sneaker_ger View Post
This command line seems to result in acceptable output:
Code:
x264 testhd.ts -o output.mkv --vf yadif:0,bff/select_every:2,0 --fps 60000/1001
That did the trick. Thanks.

What would be the best parms for PAL i50 content, --vf yadif:0,tff --fps 25/1 ?

Wasnt aware Yadif had been built in to x264, need to look into this more, see what other goodies lie within.

http://www.mediafire.com/?kehnkpejkcmluk9

Last edited by dansus; 27th February 2011 at 02:29.
dansus is offline   Reply With Quote
Old 27th February 2011, 02:22   #179  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Good question, theoretically "--vf yadif --fps 25" should work, but since it screws up on your sample it either means the capture is corrupted or ffms is too buggy to handle it. Search around the forum for BBC and you might find some tips as you are not the only one that has problem with it.
sneaker_ger is offline   Reply With Quote
Reply

Tags
beta, ffmpegsource, libavformat, test, x264

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 20:14.


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