VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Source file is 6.24GB TS which I used which was created from Hauppauge and its included Total Media Extreme 2 capture software which I have been using for years.

    In the past I have used these captured files and converted to MP4 with a smaller size using Handbrake with no issues. Done that several times.

    The attempt was to save to MP4 using 9000mbs bitrate to get the file to about 4gb. Set the Audio to AC3 using ffmeg. I'm not an expert on these issues so thanks for any advice.

    Media Info on the source file

    General
    ID : 1 (0x1)
    Complete name : C:\Desktop\source.ts
    Format : MPEG-TS
    File size : 6.24 GiB
    Duration : 1h 2mn
    Overall bit rate mode : Variable
    Overall bit rate : 14.3 Mbps

    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=3, N=24
    Codec ID : 27
    Duration : 1h 2mn
    Bit rate mode : Variable
    Bit rate : 13.2 Mbps
    Maximum bit rate : 20.0 Mbps
    Width : 1 280 pixels
    Height : 720 pixels
    Display aspect ratio : 16:9
    Frame rate : 59.940 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.239
    Stream size : 5.76 GiB (92%)
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Audio
    ID : 4352 (0x1100)
    Menu ID : 1 (0x1)
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Codec ID : 129
    Duration : 1h 2mn
    Bit rate mode : Constant
    Bit rate : 384 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 172 MiB (3%)
    Language : English


    Output target does not even have a Video or Audio section and does not play with VLC or anything else

    General
    Complete name : C:\Desktop\Output.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42
    File size : 4.02 GiB


    I also tried AVCHDCoder but received the error "an error occurred while encoding video". I also had another source file (MPEG2 raw TS) which also received the same error. Maybe I'm not using AVCHDCoder correctly ? (but that's another topic).

    Maybe a key piece is missing in Handbrake? I am using the version 0.9.9 i686.

    thanks for your help.
    Quote Quote  
  2. '
    Clarifying your steps here:
    You’re using Hauppauge and hence WinTV 7 to capture and then using ArcSoft TotalMedia Extreme 3 to edit? Then using Handbrake in order to downsize the edited file?
    Quote Quote  
  3. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Hauppauge comes with included software "Total Media Extreme2" which does the capture. It's a good program that caps in AVCHD and can be set to 13.5mbs constant at maximum which I use all the time. I use VideoRedo to edit. I don't think the capture or edit is the problem since I have used Handbrake with that source file many times.

    I uninstalled and reinstalled Handbrake yesterday and now all conversions are failing. The output target file is indeed produced but MediaInfo doesn't show the Video or Audio section and VLC can't even play it. Very strange.

    i even tried AVCHDCoder to encode but even that is failing - not just Hauppage capture but a raw TS MPEG2 I had from another source. Maybe I don't know how to use AVCHDCoder (not as intuitive as it should be).

    maybe something is wrong with the laptop.

    However, I've seen that MediaInfo situation before (no Video & Audio information)..just don't remember what was the fix.
    Quote Quote  
  4. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    ok, i think the problem was that I was using Variable bitrate while setting to 6000 Average bitrate (instead of Constant Quality); I should have used Constant bitrate while setting to 6000 Average bitrate. Leave the Audio portion to AAC for the output (instead of AC3).
    Quote Quote  
  5. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    Originally Posted by texas1 View Post
    ok, i think the problem was that I was using Variable bitrate while setting to 6000 Average bitrate (instead of Constant Quality); I should have used Constant bitrate while setting to 6000 Average bitrate. Leave the Audio portion to AAC for the output (instead of AC3).
    well i'm no expert so the above was probably not correct regarding Variable vs. Constant bitrate which I now think is irrelevant. Leaving the Audio portion to AAC does seem to make a difference. Howver this was tried on a raw MPEG2.

    my problem on the source video in question may have originated with the fact that it was a Join of 3 separate files done in VideoRedo. So Handbrake encodes but leaves no trace of Video or Audio in MediaInfo nor does VLC play.

    TSMuxer can remux in TS or M2TS but when set manually to Mux in CBR (to reduce size at 8000kps) gets the message

    vbv buffer overflow at position xxxx, repeatedly.


    googling this error I can't find a solution
    Quote Quote  
  6. The problem was that your first MP4 encode didn't complete for some reason. The MP4 header information is written at the very end of the process. If MediaInfo shows no information that header wasn't written. There's probably something wrong with your source file. Try remuxing it into an MKV container with MMG -- it's much more resilient than most muxers. Then reencode that with Handbrake to reduce the size.
    Quote Quote  
  7. Member
    Join Date
    Apr 2007
    Location
    United States
    Search Comp PM
    thanks very much jagabo, your solution worked!

    - original source file 6.24GB was demuxed by TSMuser
    - muxed the video/audio pieces in MkvmergeGui as advised, this created a 6.05GB file
    - took this 6.05GB file and re-encode with Handbrake at about 9000kb, producing a 3.97GB MP4 file with perfect audio sync



    ================================================== =========================

    General
    Complete name : C:\Desktop\output.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42
    File size : 3.97 GiB
    Duration : 1h 2mn
    Overall bit rate mode : Variable
    Overall bit rate : 9 095 Kbps
    Encoded date : UTC 2014-06-29 18:50:20
    Tagged date : UTC 2014-06-29 20:22:54
    Writing application : HandBrake 0.9.9 2013051800

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L4.0
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1h 2mn
    Bit rate mode : Variable
    Bit rate : 8 888 Kbps
    Width : 1 280 pixels
    Height : 716 pixels
    Display aspect ratio : 16:9
    Original display aspect ratio : 16:9
    Frame rate mode : Variable
    Frame rate : 59.940 fps
    Minimum frame rate : 58.824 fps
    Maximum frame rate : 62.500 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.162
    Stream size : 3.90 GiB (98%)
    Writing library : x264 core 130 r2273 b3065e6
    Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=6 / 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=1 / keyint=600 / keyint_min=60 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=abr / mbtree=1 / bitrate=8888 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
    Encoded date : UTC 2014-06-29 18:50:20
    Tagged date : UTC 2014-06-29 20:22:54
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1h 2mn
    Bit rate mode : Variable
    Bit rate : 160 Kbps
    Maximum bit rate : 201 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Delay relative to video : 33ms
    Stream size : 71.6 MiB (2%)
    Encoded date : UTC 2014-06-29 18:50:20
    Tagged date : UTC 2014-06-29 20:22:54
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!