@jagebo. Many thanks.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 60 of 69
Thread
-
They can be. Some filters are external plugins . Some examples are neat video, MSU filters, color mill etc...
"Filters" usually refer to some video or audio effect e.g. color correction, denoising, cropping, volume increase etc...
This one is an input driver, it's used to import videos into vdub through the directshow framework. So it's not really a "filter" in the sense of a manipulation applied to video or audio -
I am using ffmbc 0.6rc6
One of the Lightworks users came up with the following string that works well with FFmbc 0.5.
ffmbc -i input.mts -vcodec copy -acodec aac -ab 128k -strict experimental output.mp4
This works with my MTS with 5.1 surround sound. Using 128k audio bitrate gives a decent sound quality (the default is apparently 64k which gives poor quality sound). All six channels import into Lightworks. And transcoding on import to MPEG I-frame HD also preserves the six audio channels.
The converted mov file (with uncompressed pcm audio) has 6 audio channels, but Lightworks reduces these to two on import and something obviously goes wrong because the sound is silent with occasional faint noises that don't bear any resemblance to the original audio.
AAC is not ideal as you say (lossy) but it appears to be palatable to Lightworks where 5.1 audio is concerned.
Many thanks for your assistance. I will see if I can use this method with Avant GUI--it might be more approachable for Windows users that are not used to command strings.
I have installed the Vdub directshow plugin but still can't open MTS. I will have to try and get my head round AVISynth.Last edited by shaunthesheep; 28th May 2011 at 08:54.
-
You have to compile it from the sources. The one I compiled the other day doesn't have AAC support. (You can include whatever external libraries you want)
One of the Lightworks users came up with the following string that works well with FFmbc 0.5.
ffmbc -i input.mts -vcodec copy -acodec aac -ab 128k -strict experimental output.mp4
This works with my MTS with 5.1 surround sound. Using 128k audio bitrate gives a decent sound quality (the default is apparently 64k which gives poor quality sound). All six channels import into Lightworks. And transcoding on import to MPEG I-frame HD also preserves the six audio channels.
Why don't you use -ab 256k ? Less quality loss. Use even higher for 5.1, maybe 384k
I'm still wondering why uncompressed PCM wave audio isn't accepted properly ?
You can try some other types of uncompressed audio, maybe big endian instead
s16be PCM signed 16 bit big-endian format
s16le PCM signed 16 bit little-endian format
s24be PCM signed 24 bit big-endian format
s24le PCM signed 24 bit little-endian format
s302m SMPTE 302M Audio format
s32be PCM signed 32 bit big-endian format
s32le PCM signed 32 bit little-endian format
Or did you try -vcodec copy with ffmbc ? Maybe AC3 is ok with that build ?
The converted mov file (with uncompressed pcm audio) has 6 audio channels, but Lightworks reduces these to two on import and something obviously goes wrong because the sound is silent with occasional faint noises that don't bear any resemblance to the original audio.
Many thanks for your assistance. I will see if I can use this method with Avant GUI--it might be more approachable for Windows users that are not used to command strings.
Did you select the driver from list in the dropdown menu in the open dialog box? This is what most people forget to do -
I think this is a lightworks issue. I think it won't accept "ordinary" MPEG2 in AVI. He said he tried FFMPEG generated MPEG2 in AVI, which resulted in black screen in lightworks
-
Did you specify -intra in the command when using ffmpeg for mpeg2video ? Try 422 as well because that's what matrox mpeg2 is
eg.
ffmpeg -i input.mts -vcodec mpeg2video -pix_fmt yuv422p -qscale 1 -qmin 1 -intra -acodec copy output.avi
EDIT:
actually your input files are interlaced 1080i50 (the above is only for progressive encoding), the command for mpeg2 intra should be:
ffmpeg -i input.mts -vcodec mpeg2video -pix_fmt yuv422p -flags +ildct+ilme -top 1 -qscale 1 -qmin 1 -intra -acodec copy output.avi
while you're at it, I would give dnxhd a shot
ffmpeg -i input.mts -vcodec dnxhd -b 185m -flags +ildct+ilme -top 1 -acodec pcm_s16le output.mov
(try ffmbc too, instead of ffmpeg. Some ffmpeg builds require bitrate to be in bits/s so you might need -b 185000000 for the dnxhd bitrate)Last edited by poisondeathray; 28th May 2011 at 11:19.
-
Their press release says dnxhd is supported
http://www.editshare.com/index.php?option=com_content&view=article&id=149:lightworks-a...ses&Itemid=184
Now qualified for ProRes, DNxHD, AVC-Intra, RED, DPX, P2, and XDCAM HD formats, Lightworks collaborates seamlessly with Avid and Final Cut Pro.
If you're interested in improving the software, you should report these findings to the developers. Things like uncompressed audio should not be a problem for any editor. AC3 is pretty generic standard stuff as well
You mentioned this is a transition period, but this 5month old post suggests that it's using ffmpeg for back end support already
http://www.lightworksbeta.com/index.php?option=com_kunena&func=view&catid=12&id=1335&Itemid=269#1816
Blender had a lot of growing pains with it's video sequence editor as well. I'm sure lightworks will improve if you give the developers feedback, testing, samples
For example, AVCHD has been out for 3-4 years now, and FCP (probably the most popular/used "pro" editor) still can't edit it natively. Their next release is finally supposed to be able toLast edited by poisondeathray; 28th May 2011 at 12:00.
-
-
If you're interested in improving the software, you should report these findings to the developers. Things like uncompressed audio should not be a problem for any editor. AC3 is pretty generic standard stuff as well
I managed to successfully convert the MTS I linked you to above to MPEG I-frame HD with Vdub with the help of:
DirectShow input driver (place this in .\VirtualDub\plugins32\)
Haali Media Splitter (for MP4, M2TS/MTS and Matroska)
ffdshow-tryouts (for MP4, M2TS/MTS and Matroska).
However, I am having trouble with another MTS with 5.1 surround sound--the Audio menu > Conversion options are only for mono or stereo. Is there a Vdub plugin or filter that can handle these 6 channel audio files?
I also saw in passing a Vdub mod for surround sound. -
what do you want to convert it to ? usually uncompressed audio (pcm wav) is the best, but lightworks might not like it
5.1 audio should work fine , it might be your directshow setup - you might be downmixing it somewhere in your filter chain
what does vdub file=>file information report? how many audio channels ?
If it's only "seeing" stereo, then render the mts in graphstudio and post a screenshot of what you see back here. You may have to configure your directshow setup properly
Directshow can be inconsistent, because it relies on system installed codecs/filters. 10 different people might get 10 different results depending on their setup and filter chain. There can be issues with frame accuracy as well -
The audio in the AVI file I uploaded was six channel uncompressed PCM. The DirectShow input plugin will pass along whatever the installed DirectShow decoder you have gives it. If your 5.1 decoder is set to down-mix to stereo that's what VirtualDub will get. If it's set to decode to six channels that's what VirtualDub will get.
-
what do you want to convert it to ? usually uncompressed audio (pcm wav) is the best, but lightworks might not like it
Vdub file info just reveals the Directshow Driver Configuration box. I need to learn how to configure Directshow.
Directshow can be inconsistent, because it relies on system installed codecs/filters. 10 different people might get 10 different results depending on their setup and filter chain. There can be issues with frame accuracy as well
It might be easier to stick with command line/bat files or possibly Avanti (when I find out how it works). -
You have to compile it from the sources. The one I compiled the other day doesn't have AAC support. (You can include whatever external libraries you want)
-
Windows
I can post the binary but it's missing all the external libraries except for avisynth support, and really only a "skeleton" build. I would stick with the official release 0.5 for general usage, at least until 0.6 becomes official and bugs are worked out. Or if you really want to, you can compile it with other libraries from the source -
-
follow the instructions posted above about graphstudio
it's for determining what your directshow setup configuration
(you might not even be using ffdshow for audio) -
Thanks, I have downloaded Graphstudio. Here is the grah for my 5.1 mts file.
Interestingly, the mp4 file with aac created via FFmbc, which also retains 6 channel audio in the converted file, imports into Lightworks OK and the audio is not down-mixed.
I tried the higher audio bitrate (256k) and there is a quality improvement except for one section where a speaker exclaims in a much louder voice than elsewhere. The voice is is not clear--slightly
"muddy".
In the avi file saved in Vdub. voices sound like they have been slowed from 45rpm to 33 rpm--very deep bass.Last edited by shaunthesheep; 30th May 2011 at 01:51.
-
GraphStudio shows that ffdshow is not being used to decode the AC3 audio. AC3 Filter is being used -- and that's probably configured to downmix to stereo. Right click on AC3Filter in GraphStudio and select Properties to change its settings.
-
I just changed the channels in the AC3 filter properties to 3/2+SW 5.1 channels. See screen grab. I imported the MTS and it crashed Vdub. Have I got the right selection? Is the AC3 filter the same thing as the AC3 plugin? I also installed yesterday the ac3acm fix 2 codec. Just trying to figure out where the AC3 filter came from.
EDIT
Tried again to import the MTS into Vdub and it successfully saved a 5.1 audio AVI that imports into Lightworks and plays OK with all 6 channels intact. Only slight problem is some background noise in the audio playback in Lightworks. A sort of faint but noticeable crickets-like sound. This sound is not present when playing the converted file in Media Player Classic Home Cinema. It could be my active Roland studio speakers which are attached to the soundcard (via a mixer)--they do pick up noise. However, the crickets sound is not present in a file exported from Lightworks. Video and audio is excellent. Lightworks manages to down-mix to stereo in the exported file. Can't see an export option to prevent this. I will ask about this in the Lightworks forum. Many thanks for your assistance.
.Last edited by shaunthesheep; 30th May 2011 at 12:15.
-
If you're interested in improving the software, you should report these findings to the developers. Things like uncompressed audio should not be a problem for any editor. AC3 is pretty generic standard stuff as well
Is there an alternative -acodec for creating uncompressed pcm? -
This is the Mediainfo analysis supplied by the forum user who successfully used TMPGEnc:
http://www.lightworksbeta.com/media/kunena/attachments/177/pcm%20surround.txt
And here is his post.
I tried some of the other commands suggested in post 35 with no luck so far. Still trying. At the end of the import process, Lightworks extracts the 0 channel and fails to extract any more. Two channels are present in the clip in Lightworks but only one has a wave form.
How would is s302m SMPTE 302M Audio format formulated as a command in a string:
-acodec ???Last edited by shaunthesheep; 31st May 2011 at 13:48.
-
That's little endian, what I suggested first
It might be that lightworks has problems with that in MOV container
I tried ffmbc 0.5 on a 5.1 avchd clip , and it produced the same profile
ffmbc -i input.mts -vn -acodec pcm_s16le output.wav
Audio
ID : 0
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint : Microsoft
Duration : 30s 48ms
Bit rate mode : Constant
Bit rate : 4 608 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 16.5 MiB (100%) -
I managed to convert to wav OK using your string and it imports into Lightworks OK with all 6 channel intact and audio playback excellent. Progress. Many thanks. It does seem to be a problem with the MOV container.
Last edited by shaunthesheep; 31st May 2011 at 14:24.
Similar Threads
-
how can I reduce bitrate and frame rate when converting avi to mpeg-2(dvd)?
By jasoothai in forum Authoring (VCD/SVCD)Replies: 4Last Post: 3rd Nov 2011, 04:42 -
Frame rate fore converting MTS video to avi
By nicholasrumin in forum Video ConversionReplies: 3Last Post: 6th Jun 2011, 14:57 -
Play an MTS file frame by frame, displaying timecode or frame number
By SeánB in forum Software PlayingReplies: 5Last Post: 5th Oct 2010, 17:26 -
Converting/editing MPEG-TS container with AVC/AACvideo
By Omega81 in forum Video ConversionReplies: 10Last Post: 28th May 2010, 18:03 -
Problem while converting MP4 container into avi
By Fire Foxer in forum Video ConversionReplies: 4Last Post: 29th Nov 2009, 16:55