Go Back    Forum > Digital Video > Video Project Help > Encode, Convert for discs

Reply
 
LinkBack Thread Tools
  #1  
11-11-2012, 09:18 PM
metaleonid metaleonid is offline
Free Member
 
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 502
Thanked 19 Times in 17 Posts
Hello,

I hope someone has used this tool here. I just downloaded ffmpeg so I am pretty new to this tool. I will eventually need to convert uncompressed MOV to lossless Huffyuv AVI preserving interlaced video, frame rate and resolution.

Yesterday for the test purposes I tried to convert from the existing Huffyuv AVI files to the same format (Huffyuv) using ffmpeg just to compare quality of conversion.

The following command line was used:

Code:
/cygdrive/C/Program\ Files/ffmpeg/bin/ffmpeg.exe -i source.avi -vcodec huffyuv -acodec pcm_s16le destination.avi
The source files were 24 bit Huffyuv. However, the output files turned out to be 16 bit Huffyuv. Is there any flag I should specify in command line to tell that I want to convert to 24 bit? Another thing is that the size of the resulting files were 1.5 times bigger than the size of the original file even though they were 16 bit. How come? And the last thing is that the resulting file has 2 extra stub frames in the beginning. I can live with that for sure, but if there is any way not to have them during the conversion, that would be great. Thanks for the help in advance. This is my output:

Code:
    ffmpeg version N-46469-gc995644 Copyright (c) 2000-2012 the FFmpeg developers
      built on Nov  5 2012 17:54:28 with gcc 4.7.2 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
    ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
    -enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
    le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
    pus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheo
    ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
    bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
    ble-zlib
      libavutil      52.  5.100 / 52.  5.100
      libavcodec     54. 71.100 / 54. 71.100
      libavformat    54. 36.100 / 54. 36.100
      libavdevice    54.  3.100 / 54.  3.100
      libavfilter     3. 21.106 /  3. 21.106
      libswscale      2.  1.102 /  2.  1.102
      libswresample   0. 16.100 /  0. 16.100
      libpostproc    52.  1.100 / 52.  1.100
    [avi @ 023cc8e0] non-interleaved AVI
    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, avi, from 'source.avi':
      Duration: 00:00:55.39, start: 0.000000, bitrate: 49793 kb/s
        Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 704x480, 29.97 tbr, 29.97 tbn, 29.97 tbc
        Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    using huffyuv 2.2.0 or newer interlacing flag
    Output #0, avi, to 'destination.avi':
      Metadata:
        ISFT            : Lavf54.36.100
        Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 704x480, q=2-31, 2
    00 kb/s, 29.97 tbn, 29.97 tbc
        Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16
    , 1536 kb/s
    Stream mapping:
      Stream #0:0 -> #0:0 (huffyuv -> huffyuv)
      Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
    Press [q] to stop, [?] for help
    frame=   61 fps=0.0 q=0.0 size=   19342kB time=00:00:02.17 bitrate=72863.8kbits/
    frame=   94 fps= 93 q=0.0 size=   29710kB time=00:00:03.26 bitrate=74599.9kbits/
    frame=  104 fps= 63 q=0.0 size=   32865kB time=00:00:03.59 bitrate=74928.1kbits/
    frame=  106 fps= 46 q=0.0 size=   33494kB time=00:00:03.67 bitrate=74591.1kbits/
    frame=  168 fps= 60 q=0.0 size=   53015kB time=00:00:05.74 bitrate=75560.9kbits/
    ...
    frame= 1598 fps= 20 q=0.0 size=  496305kB time=00:00:53.45 bitrate=76058.0kbits/
    frame= 1660 fps= 20 q=0.0 Lsize=  513561kB time=00:00:55.45 bitrate=75864.4kbits
    /s
    video:503206kB audio:10245kB subtitle:0 global headers:0kB muxing overhead 0.021
    412%
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-14-2012, 02:30 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
While you can certainly use ffmpeg from the command line, there's usually no reason to do so. There's quite a few GUIs out there.
Have you considered using ffmpegX? Freeware download at http://www.ffmpegx.com

________

Note: Always use the [code][/code] bbcode tags when copy/pasting output from DOS or other CLIs. Or any kind of scripting, like Avisynth.
I fixed the above post for you.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
The following users thank kpmedia for this useful post: metaleonid (11-19-2012)
  #3  
11-14-2012, 07:20 AM
metaleonid metaleonid is offline
Free Member
 
Join Date: Aug 2011
Location: Fort Lee, New Jersey
Posts: 502
Thanked 19 Times in 17 Posts
Hi,

No, I haven't heard about it. I will try. Thanks.
Reply With Quote
  #4  
11-19-2012, 07:28 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Datura is another ffmpeg GUI for Mac: http://datura.sourceforge.net
I like the interface a little better.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
The following users thank kpmedia for this useful post: metaleonid (11-19-2012)
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Huffyuv or Matrox Free Uncompressed codec? naripeddi Capture, Record, Transfer 2 12-22-2011 10:25 PM
Problem about installation of Huffyuv on 64 bits jQzz Encode, Convert for discs 1 06-15-2011 04:54 PM
Gspot Codec Analysis Tool - AVI codec info [DOWNLOAD] admin Encode, Convert for discs 1 03-19-2011 10:49 PM
DVD capture with Vegas, which codec ? Tafflad Capture, Record, Transfer 1 02-04-2010 05:41 PM




 
All times are GMT -5. The time now is 06:14 PM