VideoHelp Forum
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 39 of 39
Thread
  1. Removing profile, level => becomes "0", but high @ L3.2
    Removing level, keeping --profile main => becomes "1"
    Removing profile, keeping L4.0 => becomes "1", but high@L4.0

    After some googling - I think it has something do to specifically with an x264 patch that sets it to behave that way
    Quote Quote  
  2. Might be, also I too suspect that it is not really needed for stream compatibility.
    Quote Quote  
  3. Originally Posted by poisondeathray View Post
    Looking closer, I missed disabling weightp and deblocking . I attached "muxed3.mp4" below

    You can read about x264 settings by using x264 --fullhelp or reading about some of the settings here. Perhaps I missed some other settings
    http://mewiki.project357.com/wiki/X264_Settings

    This is the commandline so far,

    Code:
     
    
    x264 --profile main --level 4.0 --preset faster --bitrate 4000 --weightp 0 --deblock 0 --bframes 0 --keyint 15 --ref 1 -o output.264 input.avs
    To mux with "MSNV" profile, I used mp4box, specifying -brand "MSNV" , and alternate brand mp42

    Code:
    mp4box -add "output.264:fps=29.970" -add "audio.m4a#1" -brand "MSNV" -ab "mp42" -new "muxed3.mp4"
    Do I have to convert my files to AVS format to use x264 ?

    I tried to find an answer but I had no luck!
    Quote Quote  
  4. Originally Posted by eenghooda View Post


    Do I have to convert my files to AVS format to use x264 ?

    I tried to find an answer but I had no luck!
    No you don't

    If your x264 is compiled with lavf, you can load the videos directly . Just use --demuxer lavf . The binaries here have lavf
    http://komisar.gin.by/

    I only used avisynth to stack the test videos, side by side
    Quote Quote  
  5. Just Ran X264 with a combination of you options
    PS D:\3D Cam\test\x264> .\x264.2377.x86_64.exe --profile main --level 4.0 --preset faster --vbv-maxrate 20000 --vbv-bufsize 25000 --bitrate 3888 --weightp 0 --deblock 0 --bframes 0 --keyint 15 --ref 1 --demuxer lavf -o TS3hist.264 .\TS3.mp4

    lavf [info]: 368x208p 1:1 @ 24000/1001 fps (vfr)
    x264 [info]: using SAR=1/1
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    x264 [info]: profile Main, level 4.0
    x264 [info]: frame I:529 Avg QP: 0.65 size: 41667
    x264 [info]: frame P:5476 Avg QP: 0.57 size: 8861
    x264 [info]: mb I I16..4: 6.2% 0.0% 93.8%
    x264 [info]: mb P I16..4: 1.5% 0.0% 11.3% P16..4: 48.6% 7.6% 5.8% 0.0% 0.0% skip:25.2%
    x264 [info]: final ratefactor: -9.90
    x264 [info]: coded y,uvDC,uvAC intra: 86.7% 81.2% 64.3% inter: 34.2% 30.1% 17.2%
    x264 [info]: i16 v,h,dc,p: 28% 13% 13% 47%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 19% 17% 4% 3% 5% 3% 5% 4%
    x264 [info]: i8c dc,h,v,p: 45% 14% 30% 10%
    x264 [info]: kb/s:2257.26

    encoded 6005 frames, 312.52 fps, 2257.26 kb/s
    When I tried to run MP4Box

    .\MP4Box.exe -add "TS3hist.264":fps=29.970" -add "audio.m4a#1" -brand "MSNV" -ab "mp42"
    -new "TS3hist.mp4"
    >>
    >>
    >>
    It is waiting for another missing option I wonder what it is ?
    Quote Quote  
  6. Do you have "audio.m4a" somewhere ? Did you already encode the audio stream? x264 is a video encoder , not audio encoder (although there are private builds that can do audio)

    I would add --force-cfr to the x264 commandline, because most devices don't like VFR . (avisynth frameserves CFR only, hence it's not necessary to add that)
    Quote Quote  
  7. Code:
    -add "TS3hist.264":fps=29.970"
    -> remove the "-symbol at the end,...
    Quote Quote  
  8. Thank you for you input
    Last trail for the day
    PS D:\3D Cam\test\x264> .\x264.2377.x86_64.exe --profile main --level 4.0 --preset faster --vbv-maxrate 20000 --vbv-bufsize 25000 --bitrate 3888 --weightp 0 --deblock 0 --bframes 0 --keyint 15 --ref 1 --force-cfr --demuxer lavf -o TS3hist.264 .\TS3.mp4
    lavf [info]: 368x208p 1:1 @ 24000/1001 fps (cfr)
    x264 [info]: using SAR=1/1
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    x264 [info]: profile Main, level 4.0
    x264 [info]: frame I:529 Avg QP: 0.58 size: 41673
    x264 [info]: frame P:5476 Avg QP: 0.53 size: 8865
    x264 [info]: mb I I16..4: 6.1% 0.0% 93.9%
    x264 [info]: mb P I16..4: 1.5% 0.0% 11.3% P16..4: 48.6% 7.6% 5.8% 0.0% 0.0% skip:25.2%
    x264 [info]: final ratefactor: -9.94
    x264 [info]: coded y,uvDC,uvAC intra: 86.7% 81.2% 64.4% inter: 34.2% 30.1% 17.2%
    x264 [info]: i16 v,h,dc,p: 27% 12% 13% 48%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 41% 19% 17% 4% 3% 5% 3% 5% 4%
    x264 [info]: i8c dc,h,v,p: 45% 14% 30% 10%
    x264 [info]: kb/s:2254.68

    encoded 6005 frames, 381.75 fps, 2254.68 kb/s
    @Selur
    MP4box command was my mistake I used power shell auto complete and it generated that extra double quotes

    PS > MP4Box.exe -add "TS3hist.264:fps=29.970" -add "audio.m4a#1" -brand "MSNV" -ab "mp42" -new "TS3hist.mp4"
    AVC-H264 import - frame size 368 x 208 at 29.970 FPS
    AVC Import results: 6005 samples - Slices: 529 I 5476 P 0 B - 1 SEI - 529 IDR
    Unknown input file type
    Error importing audio.m4a#1: Requested URL is not valid or cannot be found
    PS > MP4Box.exe -add "TS3hist.264:fps=29.970" -brand "MSNV" -ab "mp42" -new "TS3hist.mp4"
    AVC-H264 import - frame size 368 x 208 at 29.970 FPS
    AVC Import results: 6005 samples - Slices: 529 I 5476 P 0 B - 1 SEI - 529 IDR
    Saving TS3hist.mp4: 0.500 secs Interleaving
    @poisondeathray
    You were right about the audio it didn't work until I removed the audio part (I just copied your command).

    unfortunately , It faced the same destiny of your muxed files .

    I had came closer with one the conversion software I tried and I got the device to browse the output file without hanging althogh it failed at playing it.

    I will have another trails later with knowledge accumulated from today's errors.

    Thank you for your help today
    Quote Quote  
  9. Just got it done

    The camera came with "Arcsoft TotalMedia HDCam for 3D"

    So I used Arcsoft media converter , selected the default MP4 conversion profile , And it worked !!!

    Thank you all for you help.
    Quote Quote  



Similar Threads

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