+ Reply to Thread
Results 511 to 540 of 1190
-
OK, it took about 6+ mins to convert the original 782mb wmv file to the new 837mb mp4 file, and the quality is very good (but I'm not sure if I've "Over done the quality settings"
.
I got the following message, do I need to correct anything at the source (the original wmv file)?
Best regards. -
You could try the "PS3 / h264 720x480 (extended tweaking)" template (NTSC tab). After loading, you can set the frame size, frame rate and DAR fields to "Source" like in your screenshot. You also can set a higher bitrate for the aac audio.
I would only use mpeg4/xvid if a playback device doesn't support h264.
EDIT:
got the following message, do I need to correct anything at the source (the original wmv file)?Last edited by Chris K; 28th Jun 2011 at 05:21.
-
-
Better to use libfaac...
First go here and download "git-N-30172-g3c20c0e" (not 30656).
http://sourceforge.net/projects/mplayer-win32/files/FFmpeg/
Then go here for the libfaac dll (a bit down on the page).
http://oss.netfarm.it/mplayer-win32.php
Put them both in the avanti/ffmpeg folder. -
Thanks for the links Chris, I now have no errors/warnings for both "-strict experimental" or libfaac
.
With the "PS3 / h264 720x480 (extended tweaking)" template as you suggested and now I've a video file with only 620mb instead of the 837mb using my 1st experimental settings.
When and if you have the time, please help me by providing me with your feedback about the end results of those two conversions. On the 1st conversion, I chosen the Bitrate of 2793 because that's what I saw in the original wmv file and I've a feeling that the quality of bitrate in wmv is not the same as the bitrate in x264/mp4 or avi/Divx/Xvid, is this correct?
Without watching the actual video files from those two conversions and just by reading the info provided by MPC-HC, can you tell which has the better quality and why and also is the 1st one "Over killed"?
Thanks and best regards.
Original wmv video 782mb
Info:
Format : Windows Media
File size : 783 MiB
Duration : 39mn 10s
Overall bit rate mode : Constant
Overall bit rate : 2 794 Kbps
Maximum Overall bit rate : 2 163 Kbps
Encoded date : UTC 1970-01-01 00:00:00.000
WM/EncodingSettings : Lavf52.93.0
MediaFoundationVersion : 2.112
Video
ID : 1
Format : WMV2
Codec ID : WMV2
Codec ID/Info : Windows Media Video 8
Description of the codec : wmv2
Duration : 39mn 10s
Bit rate mode : Constant
Bit rate : 1 968 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.228
Stream size : 551 MiB (70%)
Audio
ID : 2
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio V8
Duration : 39mn 10s
Bit rate mode : Constant
Bit rate : 196 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 54.8 MiB (7%) -
1st conversion, 6+ mins end result 837mb
Info:
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 838 MiB
Duration : 39mn 10s
Overall bit rate : 2 990 Kbps
Writing application : Lavf53.4.0
Video
ID : 1
Format : MPEG-4 Visual
Format profile : Simple@L1
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : 20
Duration : 39mn 10s
Bit rate mode : Constant
Bit rate : 2 793 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.324
Stream size : 783 MiB (93%)
Writing library : Lavc53.7.0
Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Codec ID : 6B
Duration : 39mn 10s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 53.8 MiB (6%)
Writing library : LAME3.98.4 -
2nd conversion with "PS3 / h264 720x480 (extended tweaking)" template, 11+ mins and end result 620mb.
Info:
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 621 MiB
Duration : 39mn 10s
Overall bit rate : 2 216 Kbps
Writing application : Lavf53.2.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 39mn 10s
Bit rate mode : Variable
Bit rate : 2 050 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.238
Stream size : 573 MiB (92%)
Writing library : x264 core 115 r1995 c1e60b9
Encoding settings : cabac=1 / ref=1 / deblock=0:0:0 / analyse=0x1:0 / me=umh / subme=5 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=4 / chroma_me=0 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=300 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=2050 / ratetol=1.0 / qcomp=0.50 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=4000 / vbv_bufsize=4000 / nal_hrd=none / ip_ratio=1.25 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 39mn 10s
Bit rate mode : Variable
Bit rate : 165 Kbps
Maximum bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 46.3 MiB (7%) -
I chosen the Bitrate of 2793 because that's what I saw in the original wmv file and I've a feeling that the quality of bitrate in wmv is not the same as the bitrate in x264/mp4 or avi/Divx/Xvid, is this correct?
Without watching the actual video files from those two conversions and just by reading the info provided by MPC-HC, can you tell which has the better quality and why and also is the 1st one "Over killed"?
2:42:07 - Q-scale: min 1.6, max 7.4, avg 2.5 (mpeg4)
Where mpeg4/xvid use a "q" range of 2-31, x264 uses a different one. I don't know the lo/hi limits exactly but a value of 19 is in general considered as good quality. So your 24.7 result, although not bad could be improved with a higher bitrate.
22:24:46 - Q-scale: min 16.0, max 27.0, avg 24.7 (x264)
You can also watch the "q" value on the status line during processing. If it frequently shows too high values, you better cancel and adapt your settings.
The bitrate you need to use also highly depends on the quality of your source. If it has a lot of digital noise, you need a much higher bitrate, or better use some kind of noise reduction first. -
-
I use constant Q encoding when I want high quality and then it will figure out the bitrate rather than trying to guess it beforehand. Works great and fast one pass.
I only use selected bitrate encoding if I need to fit in an exact space. -
Hi NighthawkGuy, how and where do you select constant Q encoding?
Chris, I'm experiencing a strange behavior with Avanti with my Windows 7 Pro x64....it seems like now whenever I click on Avanti-GUI.exe, nothing happens (but I can see Avanti is running in the Windows Task Manager), but nothing on my screen?
I needed to reboot my PC and even then only 2 out 10 times, I would see the Avanti GUI?
Nothing has changed with my PC since the day I downloaded Avanti. -
I wrote this a few days ago...
https://forum.videohelp.com/threads/282223-AVANTI-FFmpeg-Avisynth-GUI-%28support-thread...=1#post2089253
Also added this at my website...
Avanti is not tested on 64bit OS' and may not function as expected.
I don't know what to do about it. I can't test on 64-bit OS' but there seems to be users without these problems? Only thing I can advice is; try Avanti in a folder at the "Program Files (x86)" directory and try the XP compatibility mode.
Chris -
Bingo, thanks Chris
.
Avanti folder was in my D drive before and once moved to C:\Program Files (x86)\Avanti...everything is OK now (didn't even need to run the XP compatibility mode! (I've tested repeatedly at least 10 times and even after rebooting my PC).
Windows 7 x64 is nice but it also behaves "mysteriously".
Best regards. -
The latest version of Avanti has been working fine for me for weeks in Win7-x64, no issues at all in that time, since that version was released.
I installed it in a subdirectory C:\Program Files (x86)\Video\Avanti, no need for compatability mode setting either.
Be sure to use a 32bit ffmpeg, not a 64bit version with it.
To set up constant Q factor mode, just enter the Q factor desired (like 4) in the "VBR qscale" entry and enter an appropriate value in the "Max rate" field for the compression being used. Clear any entry in the "Bitrate" field. There are several templates already available like for MPEG-2 that say "constant quality" in the title for an example. -
This is the procedure for libavcodec codecs like mpeg2video and mpeg4. Also works for xvid (which is a external lib).
I understood you use another app for x264 encoding which has probably crf option you can check.
For FFmpeg x264 in Avanti, you can empty the bitrate field and add -crf 14 to the existing command line.
You can vary the value, where lower is better and higher is worse results. This should also work with vp8 (webm). -
-
Hi, i picked up a pana gh1 camera a few weeks ago and finally had time to learn to use it. The one thing that has me stuck is when it's time to edit the video. I need to convert the mts files into a format that premiere cs3 reads, i have cs4 which supports mts natively, but i think the interface is very slow, may be the hardware.
I'm able to convert mts almost out of the box but the resulting movie i load in VLC player and it plays just fine. I import the movie into premiere cs3 and that works fine as well, no errors, etc. But when i put the video on the timeline, there is no audio.
It' the best solution i've found yet, it works fast as heck, if only the audio would play in premiere, i know it's there..
I've been reading for quite a few days, i found that you can use different builds of ffmpeg and some may work better than others. I tried four different builds, all with the same result. I also tried changing the containers and codecs options in avanti for both audio and video, same result for everything, though i didn't try every possible combi, just the ones that made sense to me
System details, WinXPPro SP2, Core2Duo e8400 on Asus board, 2GB ram
I've been editing all sorts of formats (besides HD type) with no other problems. System is kept pretty clean
Thanks!
Here is a copy of the log after avanti starts up
21:36:38 - Initializing FFmpeg engine ...
--------------------------------------------------------------------------------------
ffmpeg version N-31329-g58257ea, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 8 2011 22:27:48 with gcc 4.6.1
Configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 5. 0 / 53. 5. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 24. 3 / 2. 24. 3
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
--------------------------------------------------------------------------------------
21:36:41 - Valid FFmpeg/Avisynth combo found (Avisynth options enabled).
< Expand this window (bottom right arrow) for dedicated options. >
< Click on status line below to open process log window. >
Here is a copy of the log after avanti finsihed rendering on of the files. The file would play fine (audio and video) in VLC, video plays fine in premiere, but there is no audio. -
I forgot to add the log after the conversion:
21:47:56 - Process started using ffmpeg version N-31329-g58257ea
================================================== ====================================
Input #0, mpegts, from 'F:/projects/wedding/caps/00052.MTS':
Duration: 00:00:34.01, start: 0.397600, bitrate: 15467 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264 (High), yuv420p,
1280x720 [PAR 1:1 DAR 16:9], 59.96 fps, 59.94 tbr, 90k tbn, 119.88 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
---------------------------------------------------------------------------------
Output #0, vob, to 'F:/projects/wedding/caps/00052b.mpg':
Stream #0.0: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31,
25000 kb/s, 90k tbn, 59.94 tbc
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
---------------------------------------------------------------------------------
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
================================================== ====================================
+--------------------+
| |
Source [1] --> | FFmpeg | --> Destination [1]
| |
+--------------------+
================================================== ====================================
21:47:57 - Free space on destination disk at start 706,683 Mb.
FFmpeg messages/warnings:
[buffer @ 01E4CD80] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[yadif @ 01E42A00] mode:0 parity:-1 auto_enable:0
[scale @ 01E42D60] w:1280 h:720 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4
[vob @ 01B3F520] VBV buffer size not set, muxing may fail
Metadata_Write:
... encoder : Lavf53.5.0
video:77613kB audio:798kB global headers:0kB muxing overhead 1.241163%
21:48:25 - bitrate: min 16973, max 19144, avg 18320 kbit/s
21:48:25 - Q-scale: min 1.6, max 2.0, avg 2.0
21:48:25 - Process finished after 00:00:28 hms with messages/warnings.
... Console processing <Ctrl><S> possibly shows more details. -
VLC has its own built-in decoders. Do you also have audio when you play the clip on Windows Media Player?
If not, you have to install a DirectShow ac3 decoder.
I guess your Premiere version needs a DirectShow decoder to see the audio?
EDIT:
Another issue might be that some FFmpeg versions default to float audio conversion instead of s16 like your source audio. You could try this FFmpeg version ...
https://forum.videohelp.com/threads/282223-AVANTI-FFmpeg-Avisynth-GUI-%28support-thread...=1#post2089562
To preserve your audio quality, you can also try to set the audio codec field to "Copy Audio".Last edited by Chris K; 15th Jul 2011 at 02:55.
-
The ac3decoder was a great suggestion, i tried that first, but that didn't help. I reinstalled the os about a month ago and didn't think to install that too.
I tried the file in wmp after making the changes, yes audio does play. I hadn't played it in wmp before that. FWIW, audio and video also play from within mpc, but again i hadn't used mpc before the changes.
I downloaded ffmpeg 30656 by mistake and tested, got an error about libfaac.dll not existing, found, downloaded it and replaced in the ffmpeg folder within avanti, nogo (same problem), saw the 30172 build of ffmpeg, downloaded and replaced the .exe in the ffmpeg folder, still nogo. Each time, what i was doing, using one short mts file that i had played in VLC to make sure it does have audio, and converted from mts to mpg in avanti. Same issue every time- audio plays in VLC, but premiere thinks there is no audio. I've used several different audio codec options, "copy audio" is what i've been using for the most part.
Also saw some reference implying that libfaac.dll might need to be installed in a system folder, but not sure if that's the case, couldn't find anything that said where it would be, libfaac.dll didn't come with docs, but i'm still looking.
Thanks,
Rob T. -
My Premiere experience ended at the old 6.5, but I found this. Hope this may be of help.
https://forum.videohelp.com/threads/240594-Importing-AC3-into-Premiere-Pro
The libfaac.dll for the Sherpya builds is fine when copied to the Avanti\ffmpeg folder. -
I read through it, i'll work out some of the suggestions from the thread tonight, thanks a ton for sending it. Is there a way to make avanti output the video file and audio file separate (i.e. the mpg and a separate wave file)? I'm looking through the manual, there is so much in this program..
Thanks again,
Rob T. -
For mpeg2video, there are some templates to convert to separate elementary streams. That's m2v/ac3 or m2v/mp2. But you can change the audio codec to wav. If Premiere doesn't accept m2v, you can do it one by one by disabling the audio and set container field to mpg. Then enable audio and disable video and convert the audio of the source clip to anything you wish.
-
Well that seems almost self explanatory, why didn't i think to do that.
Avanti is pretty amazing, the more i use it the more useful it seems.. I went to your homepage and clicked the paypal button, but it goes to a page that's in another language and won't take my log/pass, and the currency is something i don't know about, is there a way to log in the way i normally do and send something, i.e. to a paypal username or email? -
I have around 60 mts files from a friend's wedding to convert, will take some time but i'm glad there is a way, before, the only real option would have involved hours learning to use text based interfaces.. Well, i think i should be able to use the job control mgr to do all of the files as video, then again as audio. Thanks for taking the time to help out so much.
Rob T.Last edited by Robit; 15th Jul 2011 at 22:10.
-
That worked, thanks for the help. If you're interested in seeing how your tools are being used in this corner of the world, i attached a video, this was shot with ten cameras, audio taken multichannel and remixed/mastered. Video from one of the cameras was converted via Avanti, camera audio was lost in the conversion, camera audio is only used for reference in post, but there are long ways around that..
-
I don't know! I just copied the link from another arrozcru.org page
.
The arrozcru.org domain is owned by Ramiro Polla from Brazil. He has been involved in FFmpeg development for a long time and his guides on how to compile FFmpeg for Windows are famous. When he offered me the Avanti sub-domain in 2008 and suggested to open my own PayPall account, I proposed that donations to Avanti would be added to the pot that is used to cover the hosting costs of the whole arrozcru.org domain.
I have around 60 mts files from a friend's wedding to convert, will take some time but i'm glad there is a way, before, the only real option would have involved hours learning to use text based interfaces.. Well, i think i should be able to use the job control mgr to do all of the files as video, then again as audio.
If you're interested in seeing how your tools are being used in this corner of the world, i attached a video, this was shot with ten cameras, audio taken multichannel and remixed/mastered. -
Thanks, we do these on a tight budget, or more commonly, on a lack of budget. Access to cool software at no/low cost is the only way most of them could have been done.
Rob T.
http://RockPDX.USMetal.com
The best in Pacific NW live entertainment -
The audio suddenly started working in premiere, even with old clips i converted with avanti that didn't work before. I spent a few hours trying to find out what happened that made it work, but couldn't.
MainConcept MPEG Pro HD 4 was causing memory problems when running premiere (cs3) so i uninstalled it. Suddenly, when i loaded a project that had lots of edits with clips converted with avanti, those clips were gone- premiere's project panel (where it lists all of the media you have for the project) still lists it, when the project is loaded, i don't get a dialog that asks where the media is, so it's apparently finding it, but when i double click it to open it in premiere's player, the "edit offline file" dialog comes up. There are no options to relink in this window, but when i right click the clip, there is a relink. When i try, i get an error that says it can't link because the type doesn't match the original files type.
Well, it's after days of editing, but at least its fixable- i just reimported the clip, will take a few hours to match the cuts in the project and add filters etc etc, so at least its not lost.
More importantly, audio doesn't work again, so apparently mainconcept MPEG pro installed something that makes premiere see the audio in clips i converted with avanti. I wish i knew more about codecs etc.. Since the previous things didn't help with the audio, but mainconcept did, does that suggest why the audio isn't playing?
Just being able to convert the video has saved a ton of time, but having access to the reference audio tracks on a clip will save hours of work later..
Thanks again,
Rob T.
Similar Threads
-
TEncoder 4.0.0 - Multithreaded GUI for FFMpeg and Mencoder (Support thread)
By ozok in forum Video ConversionReplies: 104Last Post: 4th Jun 2014, 10:10 -
GUI Encoders with Avisynth support?
By shagratt71 in forum Video ConversionReplies: 4Last Post: 13th Dec 2011, 05:27 -
AVANTI (FFMPEG) Question
By erichollis in forum Video ConversionReplies: 1Last Post: 18th Aug 2011, 15:54 -
Avanti - FFmpeg verison
By ABBrittain in forum Newbie / General discussionsReplies: 2Last Post: 22nd Jun 2011, 04:01 -
I need a supported build of ffmpeg for Avanti 0.4.8
By flashandpan007 in forum Video ConversionReplies: 1Last Post: 23rd Jun 2010, 09:28