A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VLC Video Conversion



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old February 12th 19, 07:06 PM posted to alt.windows7.general
OGER[_4_]
external usenet poster
 
Posts: 3
Default 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: ---
Ads
  #2  
Old February 12th 19, 07:09 PM posted to alt.windows7.general
OGER[_5_]
external usenet poster
 
Posts: 1
Default 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: ---
  #3  
Old February 13th 19, 01:21 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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
  #4  
Old February 13th 19, 01:59 AM posted to alt.windows7.general
pjp[_10_]
external usenet poster
 
Posts: 1,183
Default 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.
  #5  
Old February 13th 19, 03:08 AM posted to alt.windows7.general
OGER[_6_]
external usenet poster
 
Posts: 1
Default VLC Video Conversion

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

No concatenations is desired.

  #7  
Old February 13th 19, 04:27 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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
  #8  
Old February 13th 19, 08:56 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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
  #9  
Old February 13th 19, 06:25 PM posted to alt.windows7.general
OGER[_4_]
external usenet poster
 
Posts: 3
Default 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: ---
  #10  
Old February 13th 19, 06:36 PM posted to alt.windows7.general
OGER[_4_]
external usenet poster
 
Posts: 3
Default 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.


  #11  
Old February 13th 19, 08:07 PM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 05:34 PM.


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