PCbanter

PCbanter (http://www.pcbanter.net/index.php)
-   Windows 7 Forum (http://www.pcbanter.net/forumdisplay.php?f=48)
-   -   VLC Video Conversion (http://www.pcbanter.net/showthread.php?t=1107407)

OGER[_4_] February 12th 19 06:06 PM

VLC Video Conversion
 
Have latest VLC on Win 7 Pro.

I Want to convert multiple Videos into a .MP4.

I load the videos. Multiple videos as it allows.

Set the conversion to .MP4 and start VLC converting.

Use the append -converted to the filename

After each conversion it says I have to choose Keep or Overwrite.

It will NOT accept KEEP so only Overwrite is available. When done, I
only have ONE conversion. I tried KEEP after each file of the multiple
group.

This is NOT multiple conversions if I have to interact for each file.

Then not be able to get each file converted.

Only one file seem to be converted.

So what is going on ?

Anybody use VLC for multiple file conversions ?

How is it done ?

--- news://freenews.netfront.net/ - complaints: ---

OGER[_5_] February 12th 19 06:09 PM

VLC Video Conversion
 
Also the 600 MByte file converted to 1.1 MByte and is only the first few
seconds of the original file.

What is up with that.

The conversion took a very long time to convert 600 MByte to a bad 1.1
MByte file.

Something very wrong with VLC !


--- news://freenews.netfront.net/ - complaints: ---

Paul[_32_] February 13th 19 12:21 AM

VLC Video Conversion
 
OGER wrote:
Have latest VLC on Win 7 Pro.

I Want to convert multiple Videos into a .MP4.

I load the videos. Multiple videos as it allows.

Set the conversion to .MP4 and start VLC converting.

Use the append -converted to the filename

After each conversion it says I have to choose Keep or Overwrite.

It will NOT accept KEEP so only Overwrite is available. When done, I
only have ONE conversion. I tried KEEP after each file of the multiple
group.

This is NOT multiple conversions if I have to interact for each file.

Then not be able to get each file converted.

Only one file seem to be converted.

So what is going on ?

Anybody use VLC for multiple file conversions ?

How is it done ?


The FFMPEG program allows both conversion and concatenation.

And it does exactly what you tell it to do, because
it is "command line" programming at its finest.

To concatenate files with FFMPEG, you give a filelist.txt

ffmpeg -f concat -r 30000/1001 -i filelist.txt -c copy N:\concattest2.avi --- fix bogus rate

The rate is approximately 29.97 FPS.

My filelist.txt apparently looked like this. Twelve videos.

file 'G:\WORK\a00.avi'
file 'G:\WORK\a01.avi'
file 'G:\WORK\a02.avi'
file 'G:\WORK\a03.avi'
file 'G:\WORK\a04.avi'
file 'G:\WORK\a05.avi'
file 'G:\WORK\a06.avi'
file 'G:\WORK\a07.avi'
file 'G:\WORK\a08.avi'
file 'G:\WORK\a09.avi'
file 'G:\WORK\a10.avi'
file 'G:\WORK\a11.avi'

Conversion looks like this:

ffmpeg -i somevideo.mp4 -vcodec cinepak -acodec pcm_s16le G:\WORK\a00.avi

Each command must be carefully crafted. You write
them down to save time, the next time.

What you're doing is video editing, and you could pop several
videos into a video editor as segments, then "output" to a new
format. Whether this is a good thing to do, depends on whether
the segments all came from the same recording device. Or, they're
some horrible cobbled together mess of various resolutions, frame
rates, standards, and so on.

The only time I've done "concat", it was because the source material
all came from the original large video file. I only cut it into
12 pieces to speed up some conversion process.

Paul

pjp[_10_] February 13th 19 12:59 AM

VLC Video Conversion
 
In article , lid says...

OGER wrote:
Have latest VLC on Win 7 Pro.

I Want to convert multiple Videos into a .MP4.

I load the videos. Multiple videos as it allows.

Set the conversion to .MP4 and start VLC converting.

Use the append -converted to the filename

After each conversion it says I have to choose Keep or Overwrite.

It will NOT accept KEEP so only Overwrite is available. When done, I
only have ONE conversion. I tried KEEP after each file of the multiple
group.

This is NOT multiple conversions if I have to interact for each file.

Then not be able to get each file converted.

Only one file seem to be converted.

So what is going on ?

Anybody use VLC for multiple file conversions ?

How is it done ?


The FFMPEG program allows both conversion and concatenation.

And it does exactly what you tell it to do, because
it is "command line" programming at its finest.

To concatenate files with FFMPEG, you give a filelist.txt

ffmpeg -f concat -r 30000/1001 -i filelist.txt -c copy N:\concattest2.avi --- fix bogus rate

The rate is approximately 29.97 FPS.

My filelist.txt apparently looked like this. Twelve videos.

file 'G:\WORK\a00.avi'
file 'G:\WORK\a01.avi'
file 'G:\WORK\a02.avi'
file 'G:\WORK\a03.avi'
file 'G:\WORK\a04.avi'
file 'G:\WORK\a05.avi'
file 'G:\WORK\a06.avi'


I simply first convert all files to same forma,e.g. XVID and MP3 then I
use VirtualDub and simply open the first file then using "Append ..."
menu item open the rest one after the other in order I want. Then I
simply "Save As". If you set "Direct Stream Copy" for both audio and
video it's very fast. Result is sane quality as original files.

OGER[_6_] February 13th 19 02:08 AM

VLC Video Conversion
 
My files are from Windows Media Center Recorded TV and can be 8+
GigaBytes Long.

No concatenations is desired.


pjp[_10_] February 13th 19 02:36 AM

VLC Video Conversion
 
In article , says...

My files are from Windows Media Center Recorded TV and can be 8+
GigaBytes Long.

No concatenations is desired.


I do that also using a TV USB Tuner. Makes perfect copy of on-air
(attenna) including sub-titles. I then convert them to a size more
manageable, e.g. XVID/MP3 if I want to keep it. Trouble is there's ads
interspersed within the video so truth be told I almost always also
download a torrent without ads to keep if I want to retain a copy.

Paul[_32_] February 13th 19 03:27 AM

VLC Video Conversion
 
OGER wrote:
My files are from Windows Media Center Recorded TV and can be 8+
GigaBytes Long.

No concatenations is desired.


Have you tried HandBrake ?

I think it supports NVenc (NVidia) and perhaps VCE (AMD).
Since your desired output is MP4, that might go faster.

FFMPEG supports the Windows Media Center format. The lineup
inside the recording can be slightly complicated, like
around 5 "items" on one channel, and 4 "items" on a second TV channel.
In this example, the player program is asked to select Audio
Stream 2 and Video Stream 3, then play at 704x480. So HandBrake
has to figure this out somehow too.

ffplay -ast 2 -vst 3 -x 704 -y 480 some.wtv

FFMPEG cannot handle encrypted .wtv - content which
is marked as "Do Not Copy" could be recorded that way.
So far, using OTA antenna and DTV recording card, all
my captures have been viewable (so no encryption).

https://en.wikipedia.org/wiki/HandBrake

https://handbrake.fr/

This is a sample run. I need to work on this, since it
should be maybe 3x faster. This version of the program
doesn't use NVdec for decoding.

https://i.postimg.cc/yxN4rR2B/handbrake-wtv-mp4-run.gif

Paul

Paul[_32_] February 13th 19 07:56 AM

VLC Video Conversion
 
Paul wrote:
OGER wrote:
My files are from Windows Media Center Recorded TV and can be 8+
GigaBytes Long.

No concatenations is desired.


Have you tried HandBrake ?

I think it supports NVenc (NVidia) and perhaps VCE (AMD).
Since your desired output is MP4, that might go faster.

FFMPEG supports the Windows Media Center format. The lineup
inside the recording can be slightly complicated, like
around 5 "items" on one channel, and 4 "items" on a second TV channel.
In this example, the player program is asked to select Audio
Stream 2 and Video Stream 3, then play at 704x480. So HandBrake
has to figure this out somehow too.

ffplay -ast 2 -vst 3 -x 704 -y 480 some.wtv

FFMPEG cannot handle encrypted .wtv - content which
is marked as "Do Not Copy" could be recorded that way.
So far, using OTA antenna and DTV recording card, all
my captures have been viewable (so no encryption).

https://en.wikipedia.org/wiki/HandBrake

https://handbrake.fr/

This is a sample run. I need to work on this, since it
should be maybe 3x faster. This version of the program
doesn't use NVdec for decoding.

https://i.postimg.cc/yxN4rR2B/handbrake-wtv-mp4-run.gif

Paul


So Handbrake uses the video encoder on my video card, at
92FPS.

If I use FFMPEG, I can use both the NVDec to decode the
WTV source. As well as NVEnc to make the MP4. The frame
processing rate jumps to 208FPS (7x real time). This is
for 1920x1080 movie content.

ffmpeg -hwaccel nvdec -i "test.wtv" -y -acodec copy -vcodec h264_nvenc -crf 23 "test.mp4"

The source file is 7,868,514,304 bytes.

The output file is 1,214,804,182 bytes.

The content is about 1 hour long, and the conversion
finishes in 60/7 = 8.6 minutes. The video card draws
around 60W of electricity. The CPU is mostly idle
(unlike the Handbrake case where the CPU is railed).

https://i.postimg.cc/fRRWSvXv/ffmpeg-nvdec-nvenc.gif

Paul

OGER[_4_] February 13th 19 05:25 PM

VLC Video Conversion
 
What are the resulting videos like ? What are the differences from the
original ? e.g. motion blur, sound quality etc ?

Paul, given your one-liners, I think I can see that by writing a small
app I can fully automate conversion of multiple files.

I will take less time to write the app than the time to enter a
one-liner and all the time overhead to do each file.

So thanks, I will give it a try.

Strange that VLC is non-functional in this area what with its huge
following.



--- news://freenews.netfront.net/ - complaints: ---

OGER[_4_] February 13th 19 05:36 PM

VLC Video Conversion
 
What are the resulting videos like ? What are the differences from the
original ? e.g. motion blur, sound quality etc ?

Paul, given your one-liners, I think I can see that by writing a small
app I can fully automate conversion of multiple files.

I will take less time to write the app than the time to enter a
one-liner and all the time overhead to do each file.

So thanks, I will give it a try.

Strange that VLC is non-functional in this area what with its huge
following.



Paul[_32_] February 13th 19 07:07 PM

VLC Video Conversion
 
OGER wrote:
What are the resulting videos like ? What are the differences from the
original ? e.g. motion blur, sound quality etc ?

Paul, given your one-liners, I think I can see that by writing a small
app I can fully automate conversion of multiple files.

I will take less time to write the app than the time to enter a
one-liner and all the time overhead to do each file.

So thanks, I will give it a try.

Strange that VLC is non-functional in this area what with its huge
following.


As it turns out, I found a thread after I posted that,
which said the default bitrate of the NVEnc doesn't
change as a function of resolution and other choices.
So the reason my output file was 1GB, was probably because
I didn't set the bitrate higher.

There is a parameter you can pass, to set the bitrate.
And I've certainly used that while playing around with
DVD conversions.

I normally expect such a conversion to be about half
the size. If you dial the knobs down too much (to the
1GB file I got), that's probably too much loss. As at least
some people, expect the output to look the same as the
input, when the file is half-sized.

I didn't have a problem viewing the 1GB file. No
macroblocks or visual artifacts of that sort. The first
thing I'm testing for, is whether there's both an audio
and a video track, and that I didn't screw that part up.

Paul



All times are GMT +1. The time now is 03:32 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2004 - 2006 PCbanter
Comments are property of their posters