Hi,
I've filmed a lot with a Sony HDV camera from circa 2005 till 2010. The best resolution the camera offered was 1080i - that is 1440x1080 interlaced.
I want to be able to upscale this with Topaz Video AI but that software does not handle interlaced video at all, which is why I need to convert the video first to 1080P - that is 1920x1080.
I've read a number of post here but from what I've found none of those solve this on Mac. I did try Hybrid on Mac but the software used is either full of bug on Mac or just not fully adapted for Mac. I also tried Handbrake but do not seem to be able to solve this on Mac at least. I think I'd prefer a standalone software, and not need to use Premiere or similar with plugins, and I know there's a number of different ways to handle the interlacing (Bob, Yadif etc).
Have anyone here a suggestion/recommendation on software for Mac you've used for deinterlacing 1080i and converting it to 1080P with optimal result?
Thanks!
+ Reply to Thread
Results 1 to 6 of 6
-
-
Maybe ffmpeg -i "infile" -vf "yadif=mode=1, scale=1920:1080" -c:v libx264 "outfile"?
For same frame rate, it's mode=0, for double frame rate (bobbing) it's mode=1.
Yeah, I just tried Handbrake and maybe this is also possible but that program is just stupid with assumptions what the user wants to do regarding resolution, resizing and aspect ratio.
No wonder why you gave up on it. -
Thanks a lot @Badyu17
Trying that out now!
However I get this message now and then during the process... is this something indicating the output will have issues or can it be ignored?
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=234076 size=318200
[mpeg @ 0x7f87b0009400] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=234076 size=318200
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=236105 size=318200
[mpeg @ 0x7f87b0009400] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=236105 size=318200
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=238146 size=318200
[mpeg @ 0x7f87b0009400] packet too large, ignoring buffer limits to mux it
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=238146 size=318200
[mpeg @ 0x7f87b0009400] buffer underflow st=0 bufi=240187 size=318200 -
Hi,
Being a new to this kind of video conversion without GUI and to FFMPEG I hope I can ask how I should interpret this. Did all go well or do I need to adjust something and run again?
--------------------------------------
s/s dup=38 drop=0 speed=0.435x
video:2991858kB audio:175671kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.501423%
[libx264 @ 0x7f87b000a600] frame I:2155 Avg QP:23.34 size: 81996
[libx264 @ 0x7f87b000a600] frame P:51498 Avg QP:25.77 size: 30552
[libx264 @ 0x7f87b000a600] frame B:133793 Avg QP:27.95 size: 9818
[libx264 @ 0x7f87b000a600] consecutive B-frames: 4.5% 0.7% 1.0% 93.8%
[libx264 @ 0x7f87b000a600] mb I I16..4: 6.4% 86.4% 7.2%
[libx264 @ 0x7f87b000a600] mb P I16..4: 2.0% 4.7% 0.2% P16..4: 51.6% 8.9% 6.6% 0.0% 0.0% skip:25.9%
[libx264 @ 0x7f87b000a600] mb B I16..4: 0.1% 0.3% 0.0% B16..8: 39.8% 1.6% 0.2% direct: 3.9% skip:54.0% L0:51.2% L1:46.7% BI: 2.1%
[libx264 @ 0x7f87b000a600] 8x8 transform intra:74.6% inter:86.8%
[libx264 @ 0x7f87b000a600] coded y,uvDC,uvAC intra: 54.4% 71.7% 35.0% inter: 13.8% 22.6% 1.5%
[libx264 @ 0x7f87b000a600] i16 v,h,dc,p: 29% 23% 17% 31%
[libx264 @ 0x7f87b000a600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 17% 26% 5% 7% 6% 8% 6% 7%
[libx264 @ 0x7f87b000a600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 25% 10% 6% 8% 7% 10% 5% 7%
[libx264 @ 0x7f87b000a600] i8c dc,h,v,p: 59% 25% 11% 4%
[libx264 @ 0x7f87b000a600] Weighted P-Frames: Y:6.1% UV:2.7%
[libx264 @ 0x7f87b000a600] ref P L0: 50.3% 13.2% 25.5% 10.5% 0.5%
[libx264 @ 0x7f87b000a600] ref B L0: 85.9% 10.9% 3.1%
[libx264 @ 0x7f87b000a600] ref B L1: 93.8% 6.2%
[libx264 @ 0x7f87b000a600] kb/s:6537.70
--------------------------------------
Considering below output... should I adjust anything else if I want to stay close to original quality?
(Overall bitrate on converted fils is: 6 434 kb/s, on source 26.1 Mb/s, perhaps that is something I should change?)
--------------------------------------
This is the output file:
General
Format : MPEG-PS
File size : 3.04 GiB
Duration : 1h 2 min
Overall bit rate : 6 956 kb/s
Writing library : x264 - core 161 r3033 0d754ec
Video
ID : 226 (0xE2)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Duration : 1h 2 min
Bit rate : 6 434 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Stream size : 2.81 GiB (92%)
Writing library : x264 core 161 r3033 0d754ec
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 1h 2 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Compression mode : Lossy
Delay relative to video : -10 ms
Stream size : 172 MiB (6%)
------------------------------------------------------
The source file used for conversion:
General
Format : MPEG-TS
Commercial name : HDV 1080i
File size : 11.4 GiB
Duration : 1h 2 min
Overall bit rate mode : Variable
Overall bit rate : 26.1 Mb/s
Maximum Overall bit rate : 33.0 Mb/s
Encoded date : UTC 2006-01-01 13:00:20
Video
ID : 2064 (0x810)
Menu ID : 100 (0x64)
Format : MPEG Video
Commercial name : HDV 1080i
Format version : Version 2
Format profile : Main@High 1440
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=12
Format settings, picture structure : Frame
Codec ID : 2
Duration : 1h 2 min
Bit rate : 24.5 Mb/s
Maximum bit rate : 25.0 Mb/s
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.629
Stream size : 10.7 GiB (94%)
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Audio
ID : 2068 (0x814)
Menu ID : 100 (0x64)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Codec ID : 3
Duration : 1h 2 min
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Compression mode : Lossy
Stream size : 172 MiB (1%) -
x264 default is crf 23, that's why your file size is lower. Add this to your command
-c:v libx264 -preset slow -crf 18 (experiment with crf 18-21)
And you'll get higher bitrate and better quality. As for ffmpeg warnings that's probably something how the original footage was encoded in mpeg-2.
If your video plays ok you can ignore it. -
Thanks for your fast and informative reply badyu17, really appreciated a lot!!! Will try your suggestion right away.
Similar Threads
-
video analysis and deinterlacing (1080i)
By trispel in forum Video ConversionReplies: 5Last Post: 22nd Oct 2019, 06:58 -
29.97 1080i to 23.976 1080P
By cyanfire in forum Video ConversionReplies: 6Last Post: 9th Feb 2019, 17:29 -
Looking for a 1080i deinterlacing Capture device with full surround audio
By thghgv in forum Capturing and VCRReplies: 7Last Post: 15th Sep 2018, 16:19 -
Convert 5 individual 1080i m2ts with Dolby AC3 to MP4 1080p 50fps
By bloodhand in forum Video ConversionReplies: 61Last Post: 11th Feb 2017, 13:16 -
Help me with 1080i to 1080p
By cybero75 in forum Video ConversionReplies: 8Last Post: 6th Mar 2016, 08:35