VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Feb 2009
    Location
    Finland
    Search Comp PM
    Hi! I have a problem encoding WAV and M2V together to AVI with high quality video.

    I have been trying to do this with FFMPEG in Terminal
    Code:
    ffmpeg -i file.wav -i file.m2v file.avi
    when it starts encoding there comes text:
    Code:
    FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
      libavutil version: 1d.49.3.0
      libavcodec version: 1d.51.38.0
      libavformat version: 1d.51.10.0
      built on Jul 23 2008 22:38:24, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
    Input #0, wav, from 'file.wav':
      Duration: 00:03:23.9, start: 0.000000, bitrate: 1535 kb/s
      Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
    Input #1, yuv4mpegpipe, from 'file.m2v':
      Duration: N/A, bitrate: N/A
      Stream #1.0: Video: rawvideo, yuv420p, 500x500, 29.97 fps(r)
    Output #0, avi, to 'file.avi':
      Stream #0.0: Video: mpeg4, yuv420p, 500x500, q=2-31, 200 kb/s, 29.97 fps(c)
      Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
    Stream mapping:
      Stream #1.0 -> #0.0
      Stream #0.0 -> #0.1
    Press [q] to stop encoding
    frame=  467 q=31.0 Lsize=     871kB time=15.6 bitrate= 458.6kbits/s
    (the frames, q, size, time and bitrate are changing of course while it encodes)

    The ready project will come up to my home folder successfully. The new AVI works well but the video is blurry, so the video has lost quality.
    It's maybe because while encoding, there reads in lowest line
    Code:
    frame=  467 q=31.0 Lsize=     871kB time=15.6 bitrate= 458.6kbits/s
    "q=31.0" propably means that the quality is 30% .. not sure...

    When I tried to fix this thing by searching different kind of resolutions I found following command line:
    Code:
    ffmpeg -i file.wav -i file.m2v file.avi -flags +ilme+ildct+alt -top 0/1 -o
    I tried encode with that but the result was same: AVI file was blurry so the video still lost some quality.

    If you could get me some code for FFMPEG which will encode WAV and M2V to AVI with high quality,
    it would be great!

    And if the code is not for FFMPEG, it's okay. I can try downloading and installing other coders too.

    All resolutions welcome!

    You can reply here at forums or straight to my e-mail: amppu94@hotmail.com

    Thank you for your time!
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    I would download a gui/frontend like winff and check what ffmpeg settings it uses. More guis: https://www.videohelp.com/tools/ffmpeg#download . Then just copy and try those settings.
    Quote Quote  
  3. Member
    Join Date
    Feb 2009
    Location
    Finland
    Search Comp PM
    okay ty very much for your reply.. i first tried to just convert it with winff and the blurriness didn't go off..
    then i went back to my video editor, cinelerra and rendered the original clip from 500x500 pixels to 1000x1000 pixels.
    after that i converted again and the blurriness was gone!

    i found winff very useful tool and i think i will solve my other video making problems with that too.

    thank you very much!
    Quote Quote  



Similar Threads

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