VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Hi,i'm trying to use VirtualDub's (version:1.10.12 32bit)external encoder to encode my file with mp4 h264/aac codec.But when i start to encode virtualdub freezes and then it says "Write error occured to file "<anonymous pipe>"
    How can i fix it?
    I used in Vitualdub;
    MP4BOX:
    command arguments:-add "%(tempvideofile)" -add "%(tempaudiofile)" "%(outputname)" -fps %(fps)
    x264:
    command arguments:--crf 21 --preset medium --tune film --demuxer raw --input-csp i420 --input-res %(width)x%(height) --fps %(fpsnum)/%(fpsden) -o "%(tempvideofile)" -
    outputfilename:%(outputname).264
    neroaacenc:
    command arguments:-ignorelength -lc -if - -of "%(tempaudiofile)"
    outputfilename:%(outputname).aac
    I also used faac to encode audio but it gave same error
    FAAC:
    command arguments:-b 128 -o "%(tempaudiofile)" -
    outputfilename:%(outputname).aac
    Thanks.
    Last edited by soshipurpleskies; 26th Jul 2012 at 10:12.
    Quote Quote  
  2. No dramas,i've fixed this problem.^^
    Quote Quote  
  3. using encoder ffmpeg for audio and multiplexs
    using for video ffmpeg or x264
    ffmpeg.exe (video x264)
    argument:-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec libx264 -cmp +chroma -partitions p8x8,b8x8,i4x4,i8x8 -me_method hex -crf 26.0 -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -qcomp 0.6 -qmin 0 -qmax 69 -qdiff 4 -bf 3 -refs 8 -direct-pred 3 -trellis 2 -wpredp 2 -rc_lookahead 60 -threads 0 "%(tempvideofile)"
    output:%(outputname).mp4

    ffmpeg.exe (audio m4a)
    argument: -i - "%(tempaudiofile)" -vn -acodec libfaac -ar %(samplingrate) -ab 112k -ac %(channels)
    output:%(outputname).m4a

    multiplexer
    ffmpeg.exe
    argument:-i "%(tempvideofile)" -i "%(tempaudiofile)" -acodec copy -vcodec copy "%(outputname)"

    set in encoder set file description mp4 file extension mp4

    to result file video in x264 audio aac with exstension mp4

    codec video x264
    x264.exe
    argument:--ref 3 --bframes 3 --partitions p8x8,b8x8,i4x4,i8x8 --me umh --trellis 1 --subme 7 --merange 16 --keyint 250 --min-keyint 25 --b-adapt 1 --direct auto --analyse all --weightb --mixed-refs --b-pyramid none --8x8dct --no-fast-pskip --level 3.1 --crf 26.0 --qp 26 --preset veryfast --threads auto --input-res %(width)x%(height) --fps %(fpsnum)/%(fpsden) -o "%(tempvideofile)" -
    output:%(outputname).mp4

    ps:attention with ffmpeg codec varius version ffmpeg with different codec present
    look list codec ffmpeg -codecs
    if not present codec lidfaac (encoder aac) download another version ffmpeg
    usin version ffmpeg in this pack
    http://205.196.123.15/l7ir253ysgag/5hbk2xx3b6qma8i/libpack_libav_ffms_x264_l-smash_2011-07-22.7z
    Last edited by odar733-3; 13th Aug 2012 at 05:13.
    Quote Quote  



Similar Threads

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