Writing library : x264 core 157 r2935 545de2fĮncoding settings : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00įorced : No About the original video I wonder where can we see if it is a Progressive or Interlaced video? Im completely sure its Interlaced because I can see the Scanlines and comb artifacts. Writing library : libebml v1.3.0 + libmatroska v1.4.0įormat profile : settings : CABAC / 4 Ref Frames Writing application : mkvmerge v6.1.0 ('Old Devil') built on 14:32:37 Matrix coefficients : BT.709 An here is the Info of the video I got after converting it to x264 with FFmpeg using libx264 -crf Level 4.0: Sorry for all the misspelling, Im not a english native speaker.Īnyone out there who can help me with this?įormat profile : settings : CustomMatrix / BVOP Or maybe a filter that deinterlaces the video without losing quality or losing just the minimum quality. Maybe using a filter that keeps the video interlaced could be the solution, but what would be the filter to use? I need some filter that keeps the video interlaced while using libx264 -crf. Which filter should I use? I think when you don't use an extra filter when you convert an interlaced video to any other video codec, FFMPEG automatically deinterlaces the video while converting.
Ffmpeg h264 to mpeg2 how to#
So what I need is, can someone tell me, how to get the same conversion quality as I got using the parameters (-c: v libx264 -crf), but without the Scanlines and comb artifacts? I think this is because VLC autocorrect the Scanlines and comb artifacts. That is why I have, or had the need to convert MPEG2 video to x264.Īs I said before, the new video looks perfect playing it in VLC software, but not on my TV.
![ffmpeg h264 to mpeg2 ffmpeg h264 to mpeg2](http://www.ddooo.com/uppic/180607/201806071000388184.jpg)
If I wrap the original video with MPEG2 codec to an MKV container, then it becomes totally unplayable on my Sony TV. Secondary audios and subtitles are always useful to me.
Ffmpeg h264 to mpeg2 tv#
But the problem is that my TV doesn't play secondary audios or subtitles when the video is in a M2TS container. The only way for my TV to play videos with MPEG2 codec, is to wrap it in a. Of course, The main reason of converting MPEG2 video to x264 is precisely to be able to play the video on my Sony TV, since my TV does not play videos with MPEG2 codec. Those Scanlines and comb artifacts make viewing the video awkward and unpleasant. It turns out that playing the new video on my Sony Bravia, I realized that the new video has Scanlines and comb artifacts. The problem occurred when I transferred the new video to a USB storage device, in order to play the new video on my old version of Sony Bravia TV. *I had no problem playing the new viedo with the VLC.
![ffmpeg h264 to mpeg2 ffmpeg h264 to mpeg2](https://1.bp.blogspot.com/-vyCgzML4Xek/WFhJPx237WI/AAAAAAAAAZw/2Mnm89W0nOUR-_OHG4hOHZJIHlzXdXmhwCLcB/s1600/gst-launch_theora_top_iftop.png)
Despite the fact that I did not use CRF0.I used CRF15. At the end of the conversion, I payed the new video with the VLC, and the quality is practically the same as the original video. Hello everyone! I recently had the need to convert an interlaced video in M2TS format (With MPEG2 codec) with FFMPEG, to X264, using libx264 -crf.