VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Old 80's TV show - music video re-aired and captured/recorded in 16x9 with black bars on the sides....need to get back to 720 x 576:

    Format : MPEG-TS
    File size : 102 MiB
    Duration : 4mn 53s
    Overall bit rate : 2 923 Kbps
    Maximum Overall bit rate : 35.5 Mbps

    Video
    ID : 4113 (0x1011)
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Format settings, GOP : M=2, N=50
    Codec ID : 27
    Duration : 4mn 53s
    Bit rate mode : Constant
    Nominal bit rate : 2 700 Kbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.117

    Audio
    ID : 4352 (0x1100)
    Menu ID : 1 (0x1)
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : Yes
    Format settings, PS : No
    Muxing mode : ADTS
    Codec ID : 15
    Duration : 4mn 53s
    Bit rate mode : Variable
    Channel(s) : 2 channels
    Sampling rate : 48.0 KHz
    Video delay : -39ms
    I need a good program to get to something lossless or something like HuffyUV so I can start cropping and resizing.
    I did another exactly like this(same artist, same show, same source) with AviDemux and VirtualDub and it
    turned out perfect....but this one is giving me problems.
    I'm replacing the audio anyway so two separate "streams" is no big deal.
    Quote Quote  
  2. Member DB83's Avatar
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    I do not see why you can not use avidemux to do this.

    First get back to 4:3 (forget about 720*576 for the moment) by cropping 160 pixels left and 160 pixels right to leave 960**720.

    The only logic I see for 720*576 is for dvd so why not simply export that cropped video from avidemux >> video & audio copy and load the clip in to avstodvd. If you do not want to go straight to dvd then just export from there as mpeg2 4:3.
    Quote Quote  
  3. Originally Posted by hech54 View Post
    I need a good program to get to something lossless or something like HuffyUV so I can start cropping and resizing.
    A simple AviSynth script (with the cropping and resizing already in it), opened in VDub and reencoded to some lossless codec.
    Quote Quote  
  4. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    Originally Posted by manono View Post
    Originally Posted by hech54 View Post
    I need a good program to get to something lossless or something like HuffyUV so I can start cropping and resizing.
    A simple AviSynth script (with the cropping and resizing already in it), opened in VDub and reencoded to some lossless codec.
    Could even directly encode to MPEG2(DVD Compatible) with HCenc and an avisnyth script, skipping the entire lossless intermediary.
    Quote Quote  
  5. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    The problem with this file is that about 3/4 of the way through the song, something happens that throws the sync off, and it's in a perfect place, and the sync difference in so small.... where I can simply add a few duplicate frames or cut a few frames(haven't figured out which way the sync is going yet) to fix the problem.
    I was hoping that the sync problem was caused by a bad initial decompression by AviDemux, so I'm looking/hoping for a slower, more accurate decompression(if that is even possible).

    OR....if someone knows of a way to get VirtualDub to allow me to add or take away a few frames without it effecting the CD audio that I am replacing the original audio with.
    I do certain things very well and very often in AviDemux and VirtualDub....but I've never been able to add or remove frames without VDub trying to change the audio along with the video changes I have made.
    For instance, when I need to remove a few seconds from the beginning of a video, I cannot add the new audio because the audio still starts at the beginning of the clip, NOT where I made my cut.....leaving me with 3 or 4 versions in my working folder (original, cut1, cut2). I don't mind doing that but....while adding dupes or cutting some frames I obviously need to see and hear and verify that my changes are correct....I need to see the lip sync after my changes.
    Quote Quote  
  6. Once again, AviSynth to the rescue. Using the Loop command, or Trim, or DeleteFrame, you can adjust the video framecount however you like.

    We all know of your dislike for AviSynth, but some things it simply does better and more easily than using other methods. You can add the audio into the script and check the synch after doing the adding and/or removing of frames. Or you can encode the video and play it with the audio afterwards, make any needed adjustments and then test it out again. I do this sort of thing all the time.
    Quote Quote  
  7. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Yes but I may need to duplicate frame number 5230 several times....or remove a few somewhere around #5230. Adjusting the entire length of the clip is not going to help me.
    Quote Quote  
  8. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    I record quite a bit of broadcast news along with other shows from over the air, which I encode and store for later. So naturally sometimes the signal is not the greatest and has errors. To deal with this I like to decode with DSS2. It just seems to deal with errors in the stream much better than other source filters by maintaining sync with the audio. And I just have to extract the audio from the source and don't sync it later on when muxing with the encoded video. While it is frame accurate, it only works well if you start from the first frame of your source. If you trim() off the first 200 frames for example, then it tends to repeat the nearest I frame a couple of times until sync is regained.

    I cut my sources with Videoredo before it's handled by DSS2, so this may differ from you. And not sure if and how much this affects sync in my workflow.

    http://avisynth.nl/index.php/External_filters#Source_Filters

    Example
    Code:
    LoadPlugin("C:\Program Files (x86)\Haali\MatroskaSplitter\avss.dll")
    dss2("P:\Example.ts", fps=29.970, pixel_type="yv12").AssumeFPS(30000,1001)
    Quote Quote  
  9. Originally Posted by hech54 View Post
    Yes but I may need to duplicate frame number 5230 several times....or remove a few somewhere around #5230.
    That's exactly what what he told you how to do:

    Code:
    Loop(5, 5230, 5230) # add 4 duplicates of frame 5230
    or:

    Code:
    DeleteFrame(5320, 5321) # remove frames 5320 and 5321
    And of course you can do the same thing in VirtualDub with cuts, copies, and pastes.

    In both cases you can just mux the audio with the video later.
    Last edited by jagabo; 30th Jul 2016 at 06:55.
    Quote Quote  
  10. Member hech54's Avatar
    Join Date
    Jul 2001
    Location
    Yank in Europe
    Search PM
    Hold the phone here. AviDemux (after adding my new CD audio into Avidemux) allowed me to delete 13 frames(from the middle) and the audio remained untouched. Perfect for this scenario.

    BUT....other times I added a clip, took a bit off of either the beginning or the end(or both), added my CD audio
    and the audio started as if nothing was cut. WTF?
    Quote Quote  



Similar Threads

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