Author Topic: [SOLVED] Edit and save .wmv file result in excessive playng speed  (Read 19912 times)

LeonX

  • Newbie
  • *
  • Posts: 12
[SOLVED] Edit and save .wmv file result in excessive playng speed
« on: September 24, 2012, 09:20:20 PM »
As the subject say.

I cut some part from the video, then CTRL+S it.

Setting Audio and Video to copy and format to .avi

Result are all the same: the video on mediaplayer classic is too fast, audio also play too fast.
VLC give me no problem on video speed, but the audio is always missing.


Someone can point me out?
« Last Edit: September 29, 2012, 01:12:00 PM by LeonX »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Edit and save .wmv file result in excessive playng speed
« Reply #1 on: September 25, 2012, 06:09:04 AM »
This method does not always work: copying video and audio to another container format. Mostly depends on used video/audio codec in in source video if you need to re-encode or can copy.

styrol

  • Hero Member
  • *****
  • Posts: 533
Re: Edit and save .wmv file result in excessive playng speed
« Reply #2 on: September 25, 2012, 05:11:20 PM »
WMV video (and WMA audio) is a proprietary format.

You can try Asfbin instead (using time stamps for cutting from Avidemux).

LeonX

  • Newbie
  • *
  • Posts: 12
Re: Edit and save .wmv file result in excessive playng speed
« Reply #3 on: September 27, 2012, 04:32:47 PM »
Mostly depends on used video/audio codec in in source video

There is a way to find what codec is used? Pressing ALT+Enter i can see some codec displayed, but is not specific.   I'm green in this matter.

Also, when the codec is found, there is a "chart" that explain what format i'm supposed to use to convert it?

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Edit and save .wmv file result in excessive playng speed
« Reply #4 on: September 27, 2012, 04:52:44 PM »
Can you share a sample wmv file ?
does it work if you use mkv as container ?

LeonX

  • Newbie
  • *
  • Posts: 12
Re: Edit and save .wmv file result in excessive playng speed
« Reply #5 on: September 27, 2012, 08:01:38 PM »
does it work if you use mkv as container ?
No, it's not working, give me an error message like i cannot insert this codec video in .mkv.
Ofcourse i changed only format setting, video and audio settings are "copy" mode.

I cannot give a sample, because these file go from 300 MB to 2 Giga, but my objective is to cut less usefull part to get a small size and playtime.
Until now i've converted the .wmv file to .avi using Format Factory and then edited the .avi, but is a time consuming process. Also size is not reduced much, because reencoded .avi take a large ammount of space (40% more than .wmv).


Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Edit and save .wmv file result in excessive playng speed
« Reply #6 on: September 28, 2012, 06:34:50 AM »
Use MediaInfo <- click and post the info of the kind of wmv you use. Perhaps it is possible to find similar videoclip in smaller size (20 MB). Without a sample wmv there is nothing much the developers can do to fix this.

LeonX

  • Newbie
  • *
  • Posts: 12
Re: Edit and save .wmv file result in excessive playng speed
« Reply #7 on: September 28, 2012, 06:10:29 PM »
Here we go:

file link

it's a standard .wmv, 29,5 Mb.

The base version work whithout problem, but if i cut some part and then save as .avi the video result in fast play time and no audio.
Video and audio set to "copy".
Other setting get an error message, or the file will increase in size, mean is useless because i want to reduce it by cutting some part.


WMV video (and WMA audio) is a proprietary format.

You can try Asfbin instead (using time stamps for cutting from Avidemux).
I can use other software, yes.. but i want to use Avidemux as single solution, is more pratical for only cut/copy/convert.
« Last Edit: September 28, 2012, 06:15:02 PM by LeonX »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6051
Re: Edit and save .wmv file result in excessive playng speed
« Reply #8 on: September 29, 2012, 04:43:40 AM »
WMV video (and WMA audio) is a proprietary format.
The codecs WMV3 (video) and WMA (both by microsoft) don't work well in avi, as you already found out.
So you need to re-encode the edited video, try these settings in avidemux 2.6 and see if that works for you.
 Video Output: Mpeg4 ASP (xvid4)
 Audio Output: MP3 (lame)
 Output format: avi
Do your editing and save the video. Result: cut to 24 seconds: test.avi 12 MB download

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Edit and save .wmv file result in excessive playng speed
« Reply #9 on: September 29, 2012, 06:22:24 AM »
If i got it right :
you load the file
Dont do any editing
save copy/copy => it works



you load the file
Edit out some parts
save copy/copy => it does not  work

LeonX

  • Newbie
  • *
  • Posts: 12
Re: Edit and save .wmv file result in excessive playng speed
« Reply #10 on: September 29, 2012, 12:45:27 PM »
@mean -

Nope, whenever i save the file using "copy" feature from .wmv to .avi the problem persist.
Using the change suggested by Jan Gruuthuse help, but:


Video Output: Mpeg4 ASP (xvid4)
 Audio Output: MP3 (lame)
 Output format: avi

now it work fine.
Size is quite small; only thing, video quality much more worse.
Can we retain the same video quality? Audio loss is not a problem.



As a side note, i've done some test:

Using Mpeg4 ASP (xvid4):
original file        38 min - 605 Mb
Mb per minute:   15,9

Edited file size  2 min  - 14 Mb
Mb per minute:        7,0

Low video quality result.


Using Using Mpeg4 ASP (mpeg4):
Same results.
« Last Edit: September 29, 2012, 12:57:30 PM by LeonX »

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10974
Re: Edit and save .wmv file result in excessive playng speed
« Reply #11 on: September 29, 2012, 12:56:19 PM »
Encode in constant quantizer=4,  file will be bigger but quality will be fine

LeonX

  • Newbie
  • *
  • Posts: 12
Re: Edit and save .wmv file result in excessive playng speed
« Reply #12 on: September 29, 2012, 12:58:27 PM »
I don't know what it mean.
Can you point me to the right setting?

tnx


EDIT:
sorry found out, is a setting. It's already on 4 on a scale from 1 to 32 (best-worse)


EDIT 2:
using 1 for quality will get a rough 55 Mb per minute, so is not good.
using 2 for quality  16  Mb / minute.  Original video is 15,9 Mb / minute, so is the right setting.
using 3 for quality: 9,8 Mb / minute. Too video loss.


I can say the problem is solved. Thank you   :)

« Last Edit: September 29, 2012, 01:10:43 PM by LeonX »

styrol

  • Hero Member
  • *****
  • Posts: 533
Re: [SOLVED] Edit and save .wmv file result in excessive playng speed
« Reply #13 on: September 29, 2012, 04:57:15 PM »
Quote
Setting Audio and Video to copy and format to .avi
Result are all the same: the video on mediaplayer classic is too fast, audio also play too fast.
VLC give me no problem on video speed, but the audio is always missing.
Quote
I can say the problem is solved.
Is it? Actually converting is just a workaround. But okay, if you're happy...

LeonX

  • Newbie
  • *
  • Posts: 12
Re: [SOLVED] Edit and save .wmv file result in excessive playng speed
« Reply #14 on: September 29, 2012, 07:46:01 PM »
What do you mean?

There are software that edit and save .wmv files, but Avidemux is not one of them, i already know this.
All i need is to use one software for all my vids, the output format chosen is merely a standar that let me regain space after the video cut, i don't really care if is .avi, .mkv, .wmv or other as long as mediaplayer classic and CCCP can play them ;)