VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    I want to try and play the 352x576 clip on my LG bluray player connected to 32" LED TV just to see if everything looks ok, (quality and aspect ratio wise) im using avs and vd (h264 codec, MP4 container)
    The clip works on my PC using WMP and VLC using 'MPEG Layer 3, Lame mp3, and AAC-ACM codec,

    but


    ive put the clip onto a usb pen drive connected it to my LG player (player supports mp4 playback), I dont know what sound option to use as ive tryed 'MPEG Layer 3, Lame mp3, and AAC-ACM codec, but keep getting 'audio not supported'

    i'm using the the x264vfw default option for video

    sound options i have are
    .


    .
    Last edited by bob52; 9th Feb 2014 at 11:34.
    Quote Quote  
  2. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    deja vu!

    I replied in the other forum; try resampling the audio to 44.1Khz or 48Khz

    http://forum.doom9.org/showthread.php?p=1667104#post1667104
    Quote Quote  
  3. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    Hi

    Thanks for the reply, it seems that the orignal Raw WinDV has captured Audio as 32000hz, if i use lame mp3 to change audio settings to 44000hz or 48000Hz keep getting this error
    .



    .

    Vdub file info
    .



    .

    I'm really puzzled as the LG bluray player says in the manual supports 16-48 kHz mp3 so why wont it play mp4 h264 32000 kHz instead of me having to use 44000 or 48000

    .

    .

    .
    Quote Quote  
  4. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    You have to use the audio resampling filter, applied before lame (lame can't do the resampling) .

    Since you were using avisynth earlier , you could do it there too
    AVISource("video.avi")
    SSRC(48000)

    But if the manual says it supports 16-48Khz MP3, it's probably not going to help

    Try remuxing the exported to a different container like MP4 or MKV (e.g. mymp4boxgui, yamb, mkvtoolnix)
    Quote Quote  
  5. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    Many thanks for trying to help

    I added that to my avs script loaded it into Vdub (used X264vfw) outputted 3 different files (bbbbb.avi (720 x576) bbbbb2 (640x480) bbbbb3 (352x576) just to check what quality looks best

    Still the same problem

    my full script for bbbbb3.avi

    AviSource("c:\gg.avi")
    Blur(1.58, 0.0).Sharpen(1.0, 0.0)
    SSRC(48000)
    spline36resize(352,576)

    Loaded it onto my portable HD connected to LG Bluray player

    The files show up
    .


    .

    But when i try to load them up
    .


    .

    What Audio option is AAC as one of my files which is mp4 h264 uses AAC , would that option work for my files
    .

    .

    My MediInfo for bbbbb3.avi
    .
    Code:
    General
    Complete name                            : C:\bbbbb3.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 7.55 MiB
    Duration                                 : 20s 440ms
    Overall bit rate                         : 3 100 Kbps
    Writing library                          : VirtualDub build 35491/release
    
    Video
    ID                                       : 0
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L2.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 3 frames
    Codec ID                                 : H264
    Duration                                 : 20s 440ms
    Bit rate                                 : 1 551 Kbps
    Width                                    : 352 pixels
    Height                                   : 576 pixels
    Display aspect ratio                     : 0.611
    Frame rate                               : 25.000 fps
    Standard                                 : PAL
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.306
    Stream size                              : 3.78 MiB (50%)
    Writing library                          : x264 core 130 r2273kMod b3065e6
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x13 / me=umh / subme=7 / psy=1 / fade_compensate=0.00 / 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=2 / lookahead_threads=2 / sliced_threads=1 / slices=2 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=23.0000 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    
    Audio
    ID                                       : 1
    Format                                   : PCM
    Format settings, Endianness              : Little
    Format settings, Sign                    : Signed
    Codec ID                                 : 1
    Duration                                 : 20s 440ms
    Bit rate mode                            : Constant
    Bit rate                                 : 1 536 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 KHz
    Bit depth                                : 16 bits
    Stream size                              : 3.74 MiB (50%)
    Interleave, duration                     : 41 ms (1.02 video frame)
    Interleave, preload duration             : 500 ms
    Last edited by bob52; 12th Feb 2014 at 14:24.
    Quote Quote  
  6. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    bbbbb3.avi has uncompressed audio according to mediainfo , not MP3 . Maybe you forgot to select it. Try again with lamemp3 with the SSRC(48000) script

    Or you can remux to MP4 and convert the audio to AAC in once step with avidemux

    Video=> copy
    Audio=> AAC
    Format=> MP4

    If h.264/aac/mp4 is the preferred format for your setup, you should learn how to use the vdub external encoder feature. This way you can export that out of vdub
    Quote Quote  
  7. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    sorry my stupidity, re-tryed audio compression using 48000Khz 16 bit stereo 16kps and 48000Khz 320kps CBR Stereo 40kps

    The Video Plays (looks awful, wavey lines, compression prob too high)

    The Sound plays for the first 2 secs and then stops

    MediaInfo

    Code:
    General
    Complete name                            : C:\pppppp.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 10.4 MiB
    Duration                                 : 20s 440ms
    Overall bit rate                         : 4 249 Kbps
    Writing library                          : VirtualDub build 35491/release
    
    Video
    ID                                       : 0
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L3.0
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 3 frames
    Codec ID                                 : H264
    Duration                                 : 20s 440ms
    Bit rate                                 : 3 916 Kbps
    Width                                    : 720 pixels
    Height                                   : 576 pixels
    Display aspect ratio                     : 5:4
    Frame rate                               : 25.000 fps
    Standard                                 : PAL
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.378
    Stream size                              : 9.54 MiB (92%)
    Writing library                          : x264 core 130 r2273kMod b3065e6
    Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x13 / me=umh / subme=7 / psy=1 / fade_compensate=0.00 / 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=2 / lookahead_threads=2 / sliced_threads=1 / slices=2 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=23.0000 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    
    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 3
    Mode                                     : Joint stereo
    Mode extension                           : MS Stereo
    Codec ID                                 : 55
    Codec ID/Hint                            : MP3
    Duration                                 : 20s 413ms
    Bit rate mode                            : Constant
    Bit rate                                 : 320 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 48.0 KHz
    Compression mode                         : Lossy
    Stream size                              : 797 KiB (8%)
    Alignment                                : Split accross interleaves
    Interleave, duration                     : 41 ms (1.02 video frame)
    Interleave, preload duration             : 500 ms
    Quote Quote  
  8. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    The Video Plays (looks awful, wavey lines, compression prob too high)

    Your source was interlaced PAL DV, correct?

    Wavy lines - But you didn't encode interlaced , and you didn't deinterlace in the script

    Your aspect ratio is also wrong . For 720x576 4:3 PAL add --sar 12:11 to the commandline box in x264 VFW

    Width : 720 pixels
    Height : 576 pixels
    Display aspect ratio : 5:4
    Scan type : Progressive


    The Sound plays for the first 2 secs and then stops
    Does that happen to the 320kbps audio version ? Try encoding at 128kbps, or 192kbps - those are more common
    Last edited by poisondeathray; 12th Feb 2014 at 15:13.
    Quote Quote  
  9. Member
    Join Date: Feb 2012
    Location: Derby UK
    Search PM
    Many Thanks again for helping

    I spent most of the day yesterday trying different audio formats and video settings, I have attached 2 sample clips


    352x576.avi and 640x480.avi

    Couple of problems

    Audio works on both clips on bluray player but is out of synth by about a second even in WMP (see clips)

    640x480 is 4:3 in mediaInfo but 352x576 is 0.611 (even when adding SAR 12.11 in use command line)


    Since true VHS res is 352x576 i would like to use this option if 4:3 is possible, or im i asking for the impossible (when a VCR used to be connected to your CRT TV via RGB in the 1990s what res were the tapes playing at , was is 352x576 4:3)
    .

    .


    .

    .

    .


    .
    .

    Could the sound problem be that x264vfw is producing a Prog Scan ouput from a Interlace source (i want the output to stay interlace)

    i cant seem to switch Prog scan option off, are these the options


    .

    .
    Attached Files
    Quote Quote  
  10. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    1) RE : Aspect Ratio

    352x576 requires --sar 24:11

    DAR = FAR x SAR
    Display Aspect Ratio = Frame Aspect Ratio x Sample Aspect Ratio
    4/3 = 352/576 x 24/11


    2) RE: Sound delay

    If it's out of sync in WMP (try VLC, MPCHC as well), the the issue isn't your hardware

    AVI is a poor container for h.264 with b-frames. Try remuxing as suggested earlier to MP4 (e.g. YAMB, MyMP4BoxGUI)




    3) RE: interlaced encoding

    Try adding -bff to the extra commandline box. It might not work in the VFW version (not sure, maybe VFW can't encode interlaced; I'll check it out later if I have time)
    Quote Quote  
  11. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    Sync is fine when remuxed mp4 container with ffmpeg ; at least in a software player. I set the DAR flag to 4:3 as well (so it's a container flag, not a bitstream flag . Some hardware players might prefer one over the other)

    Code:
    ffmpeg -i "352x576.avi" -vcodec copy -acodec copy -aspect 4:3 -movflags faststart remux.mp4
    I'll test if x264vfw is capable of interlaced encoding in a sec

    remux.mp4
    http://forum.videohelp.com/attachment.php?attachmentid=23606&stc=1&d=1392407977
    Quote Quote  
  12. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    x264vfw interlaced encoding is working ok here when bff is selected in the GUI checkbox

    I'm using komisar's version
    http://komisar.gin.by/

    Another thing you can try for sync is "Virtualdub Hack" on the 1st tab . But AVI container is terrible for h264, especially if you have b-frames. Nothing but problems
    Quote Quote  
  13. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    Update: remux.mp4 is only in perfect sync in kmplayer. MPCHC is a bit out of sync, as is VLC

    Are you sure those screenshots are the settings you used ? Because you have "0" max b-frames set, but your encode most certainly has b-frames . Did you forget to push "ok" in the configuration screen
    Quote Quote  



Similar Threads