VideoHelp Forum
+ Reply to Thread
Results 1 to 24 of 24
Thread
  1. I have a bunch of 1080i video's. It is 'shaking' when played.
    I wonder whether I can convert them to 1080p using Video Mastering version 6

    Thanks!
    Quote Quote  
  2. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    Probably yes, but it's better to use AviSynth and ffmpeg.
    Quote Quote  
  3. Member The_Doman's Avatar
    Join Date
    Feb 2004
    Location
    Netherlands
    Search PM
    Originally Posted by vhwul62 View Post
    I have a bunch of 1080i video's. It is 'shaking' when played.
    "shaking", you mean not properly de-interlaced when played?

    Possible using another/better player can solve the problem too so you can keep the original video quality?
    Good mediaplayers should de-interlace automatically with correctly encoded video files.
    But you can force it too.

    Image
    [Attachment 80402 - Click to enlarge]
    Quote Quote  
  4. Originally Posted by rgr View Post
    Probably yes, but it's better to use AviSynth and ffmpeg.
    Thanks. Problem is: I am not familiar with these programs
    Usually such programs require some knowledge/skills about settings, blah blah
    Not saying that I know how to do it in TMPGEnc Video Mastering, but I have that program (licensed)

    Just a simple search like: AviSynth convert1080i to 1080p
    hits on I-don't-know how many hits.

    Hence, I start of being puzzled...
    Quote Quote  
  5. Originally Posted by The_Doman View Post
    Originally Posted by vhwul62 View Post
    I have a bunch of 1080i video's. It is 'shaking' when played.
    "shaking", you mean not properly de-interlaced when played?

    Possible using another/better player can solve the problem too so you can keep the original video quality?
    Good mediaplayers should de-interlace automatically with correctly encoded video files.
    But you can force it too.

    Image
    [Attachment 80402 - Click to enlarge]
    No videoplayer in between, just straight from the USB HDD to TV.
    All the 1080p go well, just the 1080i is a kind of 'shaky'.
    Quote Quote  
  6. Member
    Join Date
    Oct 2018
    Location
    Gillette Stadium, United States
    Search Comp PM
    I immediately go to Selur’s Hybrid, I couldn’t code my way off a toilet.
    Quote Quote  
  7. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    Originally Posted by vhwul62 View Post
    No videoplayer in between, just straight from the USB HDD to TV.
    All the 1080p go well, just the 1080i is a kind of 'shaky'.
    Can you add an sample?
    Quote Quote  
  8. Member The_Doman's Avatar
    Join Date
    Feb 2004
    Location
    Netherlands
    Search PM
    Originally Posted by vhwul62 View Post
    No videoplayer in between, just straight from the USB HDD to TV.
    All the 1080p go well, just the 1080i is a kind of 'shaky'.
    It's the same for a TV, it should handle "correctly" encoded/interlaced video's well too.
    The video's are TV or Camcorder recordings?

    But of course there could be another problem you are facing/seeing.
    Quote Quote  
  9. Member
    Join Date
    Aug 2018
    Location
    Wrocław
    Search PM
    Originally Posted by vhwul62 View Post
    Originally Posted by rgr View Post
    Probably yes, but it's better to use AviSynth and ffmpeg.
    Thanks. Problem is: I am not familiar with these programs
    Usually such programs require some knowledge/skills about settings, blah blah
    Not saying that I know how to do it in TMPGEnc Video Mastering, but I have that program (licensed)

    Just a simple search like: AviSynth convert1080i to 1080p
    hits on I-don't-know how many hits.

    Hence, I start of being puzzled...
    Use Hybrid
    Quote Quote  
  10. Originally Posted by The_Doman View Post
    Originally Posted by vhwul62 View Post
    No videoplayer in between, just straight from the USB HDD to TV.
    All the 1080p go well, just the 1080i is a kind of 'shaky'.
    It's the same for a TV, it should handle "correctly" encoded/interlaced video's well too.
    The video's are TV or Camcorder recordings?

    But of course there could be another problem you are facing/seeing.
    They are downloaded TV programs. Just the 1080p version of those TV programs are fine, the 1080i are not ('shaky'/'vibration' in case of movements, for instance walking people). That seems to be a common problem and one is recommended to use 1080p.

    Reason for my question.
    I'll check out AviSynth.
    Quote Quote  
  11. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Cut a small sample of a problem video and post it here for analysis
    Quote Quote  
  12. Below are the details of the source 1080i file.

    when using ffmpeg (please bear in mind... I have never used that tool), what would the instruction to get a 1080p with the same quality and about the same size?
    I'll need to download the .exe in the first place...
    Found out this isn't quite simple, to say the least: one ends up going back and forth on sites probably meant for developers.

    Have given up. Any suggestion is welcome.

    Thanks!
    -

    General
    Unique ID : 180224953110897017935994172891880854274 (0x34D4D581485B71136445D23B89BD9302)
    Complete name : E:\FILENAMEABCXYZ.mkv
    Format : Matroska
    Format version : Version 4
    File size : 4.22 GiB
    Duration : 49 min 45 s
    Overall bit rate : 12.1 Mb/s
    Frame rate : 50.000 FPS
    Encoded date : 2022-09-13 18:03:00 UTC
    Writing application : mkvmerge v65.0.0 ('Too Much') 64-bit
    Writing library : libebml v1.4.2 + libmatroska v1.6.3

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 49 min 45 s
    Bit rate : 11.7 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Active Format Description : Full frame 16:9 image
    Frame rate mode : Variable
    Frame rate : 50.000 FPS
    Original frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan type, store method : Separated fields
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.113
    Stream size : 4.07 GiB (96%)
    Language : Dutch
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Audio
    ID : 2
    Format : AC-3
    Format/Info : Audio Coding 3
    Commercial name : Dolby Digital
    Codec ID : A_AC3
    Duration : 49 min 45 s
    Bit rate mode : Constant
    Bit rate : 448 kb/s
    Channel(s) : 6 channels
    Channel layout : L R C LFE Ls Rs
    Sampling rate : 48.0 kHz
    Frame rate : 31.250 FPS (1536 SPF)
    Compression mode : Lossy
    Stream size : 159 MiB (4%)
    Language : Dutch
    Service kind : Complete Main
    Default : Yes
    Forced : No
    Dialog Normalization : -23 dB
    compr : -0.28 dB
    cmixlev : -3.0 dB
    surmixlev : -3 dB
    mixlevel : 284 dB
    roomtyp : 3
    ltrtcmixlev : -3.0 dB
    ltrtsurmixlev : -3.0 dB
    lorocmixlev : -3.0 dB
    lorosurmixlev : -3.0 dB
    dialnorm_Average : -23 dB
    dialnorm_Minimum : -23 dB
    dialnorm_Maximum : -23 dB

    Text #1
    ID : 3
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Duration : 49 min 44 s
    Bit rate : 64 b/s
    Frame rate : 0.202 FPS
    Count of elements : 603
    Stream size : 23.4 KiB (0%)
    Language : Dutch
    Default : Yes
    Forced : No

    Text #2
    ID : 4
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Duration : 49 min 44 s
    Bit rate : 117 b/s
    Frame rate : 0.220 FPS
    Count of elements : 656
    Stream size : 42.7 KiB (0%)
    Title : Coloured
    Language : Dutch
    Default : No
    Forced : No

    --
    Quote Quote  
  13. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    For the third time, smart-cut a 30 second sample and attach it here.
    Quote Quote  
  14. Originally Posted by Alwyn View Post
    For the third time, smart-cut a 30 second sample and attach it here.
    Sorry, I don't do that for specific reasons. If the above info is not sufficient, then let it rest.
    Quote Quote  
  15. Member The_Doman's Avatar
    Join Date
    Feb 2004
    Location
    Netherlands
    Search PM
    Originally Posted by vhwul62 View Post
    Below are the details of the source 1080i file.
    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 49 min 45 s
    Bit rate : 11.7 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Active Format Description : Full frame 16:9 image
    Frame rate mode : Variable
    Frame rate : 50.000 FPS
    Original frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan type, store method : Separated fields
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.113
    Stream size : 4.07 GiB (96%)
    Language : Dutch
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709
    This looks like the typical Dutch (cable) TV broadcasts i receive/record (or sometimes download too) here.
    It should play perfectly fine on any HDTV, unless they trans-coded/re-encoded it wrong?

    But without a short example we keep guessing what/where it goes wrong.

    You can cut a short lossless/sample easily with Avidemux (use copy).
    AviDemux latest Nightly builds
    Quote Quote  
  16. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    You have different framerates (50 vs 25) for mkv container and elementary video stream in that video - it's wrong. Some applications (and maybe your TV importing tools) ignore the elementary stream data and use the value from container, they would just consider the video progressive and it results in double playback speed. Applications like DGIndexNV (for importing video into Avisynth) would see the error and ask you to manually choose the correct framerate.
    You can try repacking the video with a newer MKVToolnix version (like 86.0) to provide correct values in mkv metadata (use 25 fps in program's settings).
    'Variable framerate' (specifically mkv feature) is also a strange thing for a video from TV. Hopefully, it's just written automatically because of 2 values of framerate present in the video's data.
    Quote Quote  
  17. Member
    Join Date
    May 2005
    Location
    Australia-PAL Land
    Search Comp PM
    Sorry, I don't do that for specific reasons.
    Arr, OK, sorry for being pushy.
    Quote Quote  
  18. something like:

    Code:
    ffmpeg -i numbers.m2v -vf bwdif=mode=1:parity=0:deint=0 -c:v libx264 -acodec copy bwdif.mkv
    Quote Quote  
  19. Originally Posted by The_Doman View Post
    Originally Posted by vhwul62 View Post
    Below are the details of the source 1080i file.
    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 49 min 45 s
    Bit rate : 11.7 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Active Format Description : Full frame 16:9 image
    Frame rate mode : Variable
    Frame rate : 50.000 FPS
    Original frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan type, store method : Separated fields
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 0.113
    Stream size : 4.07 GiB (96%)
    Language : Dutch
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709
    This looks like the typical Dutch (cable) TV broadcasts i receive/record (or sometimes download too) here.
    It should play perfectly fine on any HDTV, unless they trans-coded/re-encoded it wrong?

    But without a short example we keep guessing what/where it goes wrong.

    You can cut a short lossless/sample easily with Avidemux (use copy).
    AviDemux latest Nightly builds
    You are right.

    However, above is the source and plays well.
    The only thing I am trying to do is have it converted to 1080p (the 1080i has quite some 'combing' - i.e. shaky/vibrating)

    At this very moment I am -trying- the following:
    converting to 1080p (using TMPGEnc Video Mastering Works).
    However, I know, the the subs will be gone in the resulting (.mp4)
    I think Video Mastering Works does not support re-encoding embedded subs)

    Extracted the sub using VideoEdit (.srt)
    The re-encoding by Video Mastering Works takes a ...lot... of time.
    Right now I can't tell whether it will work (.mp4 + .srt)
    Maybe, because of some magical reason, the sub is out of sync .. or whatever.

    It is just a try.

    As for the frame rates and so on, well, frankly I can't help, it is the source, not mine, and it's all I have

    I had 1 video re-encoded by Video Mastering Works. It looks okay, but as said, no subs. So I deleted it (regretfully, as I need to do it again)
    This re-encoding takes some 2,5 hours, just have to wait 1,5 hr
    Quote Quote  
  20. Originally Posted by jagabo View Post
    something like:

    Code:
    ffmpeg -i numbers.m2v -vf bwdif=mode=1:parity=0:deint=0 -c:v libx264 -acodec copy bwdif.mkv
    Thank you very much.
    Obviously all this does not say anything to me...

    Now I need to find the ffmpeg.exe
    Quote Quote  
  21. Member hydra3333's Avatar
    Join Date
    Oct 2009
    Location
    Australia
    Search Comp PM
    Frame rate mode : Variable
    ?

    I wonder, does that make a diff ?
    Quote Quote  
  22. Oops, I was using an m2v file to test the command line and forgot to modify the command line I posted here. This might help:

    Code:
    ffmpeg -i input.mkv -vf bwdif=mode=1:parity=0:deint=0 -c:v libx264 -acodec copy output.mkv
    Download a full build of 64 bit ffmpeg. Put ffmpeg.exe in C:\Windows\System32 so you don't have to specify the full path whenever you want to use ffmpeg.

    ffmpeg -- the program you're going to run
    -i input.mkv -- specify the input file
    -vf bwdif=mode=1:parity=0:deint=0 -- use video filtering, bwdif deinterlacer, double rate, top field first, deinteralace all frames
    -c:v libx264 -- specify the codec used to compress the video, libx264 is an AVC encoder
    -acodec copy -- copy the audio from the source video to the output video
    output.mkv -- the name of the output video
    Quote Quote  
  23. Just to advise that it worked out fine. Create a 1080p using TMPGEnc Video Mastering v6, extract subs using Subtitle Ediit.
    All went fine.
    Drawback, it takes quite a while.
    Anyway, one can leave it running in the background, put the jobs in queue and let it run overnight.

    I think I will stick to this procedure, as I know it works and I know how to handle it.

    Would like to thank you all for advices/suggestions!

    much appreciated.
    Quote Quote  
  24. Originally Posted by jagabo View Post
    Oops, I was using an m2v file to test the command line and forgot to modify the command line I posted here. This might help:

    Code:
    ffmpeg -i input.mkv -vf bwdif=mode=1:parity=0:deint=0 -c:v libx264 -acodec copy output.mkv
    Download a full build of 64 bit ffmpeg. Put ffmpeg.exe in C:\Windows\System32 so you don't have to specify the full path whenever you want to use ffmpeg.

    ffmpeg -- the program you're going to run
    -i input.mkv -- specify the input file
    -vf bwdif=mode=1arity=0:deint=0 -- use video filtering, bwdif deinterlacer, double rate, top field first, deinteralace all frames
    -c:v libx264 -- specify the codec used to compress the video, libx264 is an AVC encoder
    -acodec copy -- copy the audio from the source video to the output video
    output.mkv -- the name of the output video
    Thanks a lot!!

    I'll write this down and keep it in mind for maybe I need it the next time.

    Please accept my apologies for having put you to work and explain all stuff. I really appreciate it...

    As said in my earlier post, I know my way now in Video Mastering Works.

    Again, thanks!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!