Audio Artifacts When Converting from WMV to Ipod Mp4

Report and discuss *new*, *consistent*, *reproducible* bugs here
Post Reply
JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Mon Apr 17, 2017 12:29 pm

Apologies is this has been address previously or is in the wrong place.

Please describe the problem in as much detail as possible:
In the new update (v.1.0.7 2017040900 -64 bit), when I convert an wmv file created with Windows Movie Maker, when there are scenes involving rain or rain or running water, audio artifacts distort the sound. This did not happen in the previous version I used, v. 0.9.9-1 64 bit), I just ran the ipod preset with no problems. No matter what bitrate I choose when using avcodec, it doesn't remove the artifact. I converted it to an mp4 using the mp3 codec, no artifacts, but can't play on the ipod.
What are the steps to reproduce this problem:
from this file: https://drive.google.com/drive/folders/ ... sp=sharing, load the "My Introverted Boss NEW 02.WMV" file, open HandBrake v.1.0.7 2017040900 -64 bit and choose "Iphone, Ipod touch" preset, changing the file output type to mp4 and the resolution to 640X360p. Allow to run, view video. In the first scene there is running water, you can hear the distortion. (Apologies for the content, I have teenage daughters and I edit these "fan videos for their ipods). A predone example of the issue is also in that folder, marked "My Introverted Boss NEW 02 360p ipod touch.mp4".
What version of HandBrake you are running:
(v.1.0.7 2017040900 -64 bit)
What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Windows 7 Home Premium
Where did you download HandBrake from? handbrake.fr or somewhere else?
I upgraded the previous version I had through the program
If there was any error, exception or crash report displayed, please copy it and paste it here:
None shown
Please include the scan or encode log:

Code: Select all

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Pentium(R) Dual-Core CPU       T4400  @ 2.20GHz
Ram: 4056 MB, 
GPU Information:
  Mobile Intel(R) 4 Series Express Chipset Family - 8.15.10.1994
  Mobile Intel(R) 4 Series Express Chipset Family - 8.15.10.1994
Screen: 1366x768
Temp Dir: C:\Users\Jeannette\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Jeannette\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

-------------------------------------------


# Starting Encode ...

[08:01:47] hb_init: starting libhb thread
[08:01:47] 1 job(s) to process
[08:01:47] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "C:\\Jeannie\\03 Videos\\007 From Handbrake\\My Introverted Boss New 02-1.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "360",
          "width": "640"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Jeannie\\03 Videos\\0002 KISSES\\New folder (2)\\My Introverted Boss NEW 02.wmv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "3.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "high",
    "Quality": 22.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[08:01:47] CPU: Pentium(R) Dual-Core CPU       T4400  @ 2.20GHz
[08:01:47]  - logical processor count: 2
[08:01:47] Intel Quick Sync Video support: no
[08:01:47] hb_scan: path=C:\Jeannie\03 Videos\0002 KISSES\New folder (2)\My Introverted Boss NEW 02.wmv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image C:\Jeannie\03 Videos\0002 KISSES\New folder (2)\My Introverted Boss NEW 02.wmv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[08:01:47] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[08:01:47] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'C:\Jeannie\03 Videos\0002 KISSES\New folder (2)\My Introverted Boss NEW 02.wmv':
  Metadata:
    creation_time   : 2017-04-16 23:16:19
    WMFSDKVersion   : 12.0.7601.17514
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:09:52.05, start: 0.000000, bitrate: 4824 kb/s
    Stream #0:0(eng): Audio: wmav2 [a[1][0][0] / 0x0161]
      48000 Hz, 2 channels, fltp, 192 kb/s
    Metadata:
      IsVBR           : 0
      DeviceConformanceTemplate: L3
    Stream #0:1(eng): Video: wmv3 (Main) [WMV3 / 0x33564D57]
      yuv420p, 1280x720
      29.97 fps, 1k tbn
    Metadata:
      IsVBR           : 0
      DeviceConformanceTemplate: MP@HL
[08:01:47] scan: decoding previews for title 1
[08:01:47] scan: audio 0x0: wmav2, rate=48000Hz, bitrate=192000 English (wmav2) (2.0 ch)
[08:01:48] scan: 10 previews, 1280x720, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[08:01:48] libhb: scan thread found 1 valid title(s)
[08:01:48] starting job
[08:01:48] work: track 1, dithering not supported by codec
[08:01:48] work: only 1 chapter, disabling chapter markers
[08:01:48] job configuration:
[08:01:48]  * source
[08:01:48]    + C:\Jeannie\03 Videos\0002 KISSES\New folder (2)\My Introverted Boss NEW 02.wmv
[08:01:48]    + title 1, chapter(s) 1 to 1
[08:01:48]    + container: asf
[08:01:48]    + data rate: 4824 kbps
[08:01:48]  * destination
[08:01:48]    + C:\Jeannie\03 Videos\007 From Handbrake\My Introverted Boss New 02-1.mp4
[08:01:48]    + container: MPEG-4 (libavformat)
[08:01:48]  * video track
[08:01:48]    + decoder: wmv3
[08:01:48]    + filters
[08:01:48]      + Framerate Shaper (mode=2:rate=27000000/900000)
[08:01:48]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[08:01:48]      + Crop and Scale (width=640:height=360:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[08:01:48]        + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 640 * 360
[08:01:48]    + Output geometry
[08:01:48]      + storage dimensions: 640 x 360
[08:01:48]      + pixel aspect ratio: 1 : 1
[08:01:48]      + display dimensions: 640 x 360
[08:01:48]    + encoder: H.264 (libx264)
[08:01:48]      + preset:  medium
[08:01:48]      + profile: high
[08:01:48]      + level:   3.1
[08:01:48]      + quality: 22.00 (RF)
[08:01:48]  * audio track 1
[08:01:48]    + decoder: English (wmav2) (2.0 ch) (track 1, id 0x0)
[08:01:48]      + bitrate: 192 kbps, samplerate: 48000 Hz
[08:01:48]    + mixdown: Stereo
[08:01:48]    + encoder: AAC (libavcodec)
[08:01:48]      + bitrate: 160 kbps, samplerate: 48000 Hz
[08:01:48] sync: expecting 17743 video frames
[08:01:48] encx264: min-keyint: 30, keyint: 300
[08:01:48] encx264: encoding at constant RF 22.000000
[08:01:48] encx264: unparsed options: level=3.1:vbv-bufsize=17500:vbv-maxrate=17500
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 3.1
[08:01:48] sync: first pts video is 0
[08:01:48] sync: "Chapter 1" (1) at frame 1 time 0
[08:01:49] sync: first pts audio 0x0 is 0
[08:02:06] sync: audio 0x0 time went backwards 170 ms, dropped 1 frames. PTS 1785510
[08:14:59] reader: done. 1 scr changes
[08:15:01] work: average encoding speed for job is 22.352121 fps
[08:15:01] vfr: 17744 frames output, 0 dropped and 0 duped for CFR/PFR
[08:15:01] vfr: lost time: 0 (0 frames)
[08:15:01] vfr: gained time: 0 (0 frames) (0 not accounted for)
[08:15:01] wmav2-decoder done: 3470 frames, 0 decoder errors
[08:15:01] wmv3-decoder done: 17744 frames, 0 decoder errors
[08:15:01] sync: got 17744 frames, 17743 expected
[08:15:01] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:161   Avg QP:19.36  size: 18754
x264 [info]: frame P:5385  Avg QP:22.25  size:  4766
x264 [info]: frame B:12198 Avg QP:25.25  size:  1275
x264 [info]: consecutive B-frames:  5.2%  7.3%  6.8% 80.8%
x264 [info]: mb I  I16..4: 10.5% 63.3% 26.2%
x264 [info]: mb P  I16..4:  2.4% 11.7%  1.6%  P16..4: 34.5% 15.9%  8.5%  0.0%  0.0%    skip:25.3%
x264 [info]: mb B  I16..4:  0.6%  2.5%  0.2%  B16..8: 30.5%  5.4%  1.0%  direct: 1.6%  skip:58.2%  L0:42.6% L1:51.5% BI: 5.8%
x264 [info]: 8x8 transform intra:73.7% inter:78.0%
x264 [info]: coded y,uvDC,uvAC intra: 63.4% 61.6% 15.8% inter: 12.5% 11.3% 0.3%
x264 [info]: i16 v,h,dc,p: 35% 20% 12% 33%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 14% 18%  4%  5%  9%  5%  6%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 15% 11%  4%  7% 10%  5%  5%  3%
x264 [info]: i8c dc,h,v,p: 59% 18% 20%  3%
x264 [info]: Weighted P-Frames: Y:4.8% UV:3.1%
x264 [info]: ref P L0: 66.0% 15.3% 13.6%  5.0%  0.1%
x264 [info]: ref B L0: 90.2%  7.7%  2.1%
x264 [info]: ref B L1: 96.9%  3.1%
x264 [info]: kb/s:597.75
[08:15:01] mux: track 0, 17744 frames, 44231480 bytes, 597.63 kbps, fifo 8192
[08:15:01] mux: track 1, 27752 frames, 11844541 bytes, 160.04 kbps, fifo 8192
[08:15:01] libhb: work result = 0

# Encode Completed ...

As I said earlier, I didn't have this issue on the previous build I was using. Is it possible to have both versions installed and usable on my laptop? I need the newer build to access x265 files, the previous version couldn't read them.

I should also say that I'm "just" a mom trying to do stuff for my kids, I'm not super techie as far as writing code or installing codecs. Any help you can give me is greatly appreciated. Thanks for reading.

User avatar
BradleyS
Moderator
Posts: 858
Joined: Thu Aug 09, 2007 12:16 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by BradleyS » Mon May 15, 2017 4:48 pm

Apologies for the delayed response.

I've listened to your samples and I hear the artifacts. Unfortunately, the audio encoder we use on Windows machines is less efficient than Apple's audio encoder on Mac. The sound of running water is a very complex sound, and the encoder doesn't do a perfect job reproducing it.

I tried encoding your source file with the same settings you mention on a Mac, and the sound is definitely improved in the first water scene. If you have access to a Mac, using HandBrake with the same settings should help, as it will automatically use Apple's higher quality audio encoder. There is no easy solution for Windows in this case. Sorry about that.

Hope this helps.

User avatar
Rodeo
HandBrake Team
Posts: 11602
Joined: Tue Mar 03, 2009 8:55 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by Rodeo » Tue May 16, 2017 12:48 am

Well, depending on the playback software or device being used, there's the option of using a non-AAC encoder.

User avatar
BradleyS
Moderator
Posts: 858
Joined: Thu Aug 09, 2007 12:16 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by BradleyS » Tue May 16, 2017 1:17 am

I believe she specified iPod touch. My understanding is that AAC audio is pretty much required for video on the platform.

JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Fri May 26, 2017 12:44 am

Hello. No problem with the delay, I've been checking infrequently, so now I'm delayed. :)

Unfortunately, I don't have access to a Mac, we're primarily a Windows family. And yes, I have to use an AAC encode codec for the Ipod. The only way I have found to deal with the issue is to have two versions of Handbrake installed, the newer version, and the previous, older, version I had before the update - v.0.9.9.1. That version uses a different codec to encode audio, that one doesn't have the artifacts. It's odd, but it's a cleaner sound. I use that version when I need to encode these fan videos (ah, fandom), my only concern is that with the arrival of my new laptop I may not be able to install the older version. At that point there may be more of an issue.

Thank you for the replies, it's nice to know (in a weird way) that it's the program and nothing I've done to create the problem.

BradleyS wrote:
Mon May 15, 2017 4:48 pm
Apologies for the delayed response.

I've listened to your samples and I hear the artifacts. Unfortunately, the audio encoder we use on Windows machines is less efficient than Apple's audio encoder on Mac. The sound of running water is a very complex sound, and the encoder doesn't do a perfect job reproducing it.

I tried encoding your source file with the same settings you mention on a Mac, and the sound is definitely improved in the first water scene. If you have access to a Mac, using HandBrake with the same settings should help, as it will automatically use Apple's higher quality audio encoder. There is no easy solution for Windows in this case. Sorry about that.

Hope this helps.

JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Fri May 26, 2017 12:45 am

I should also mention, that I *did* try the other, non AAC audio codecs, but I had the same issue. Then I remembered Apple's pesky AAC requirements so it didn't matter anyway.

User avatar
BradleyS
Moderator
Posts: 858
Joined: Thu Aug 09, 2007 12:16 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by BradleyS » Fri May 26, 2017 1:49 am

Sorry about this, it's frustrating for sure. We recently had to stop distributing fdk-aac, the superior encoder used in previous versions of HandBrake, due to a license conflict. Hopefully the current aac encoder will continue to mature.

We do have an old version archive here: https://handbrake.fr/old.php

User avatar
Rodeo
HandBrake Team
Posts: 11602
Joined: Tue Mar 03, 2009 8:55 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by Rodeo » Fri May 26, 2017 3:07 am

BradleyS wrote:
Fri May 26, 2017 1:49 am
We do have an old version archive here: https://handbrake.fr/old.php
Versions with FDK are only available in source form though.

JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Wed Jun 07, 2017 12:20 pm

BradleyS wrote:
Fri May 26, 2017 1:49 am
Sorry about this, it's frustrating for sure. We recently had to stop distributing fdk-aac, the superior encoder used in previous versions of HandBrake, due to a license conflict. Hopefully the current aac encoder will continue to mature.

We do have an old version archive here: https://handbrake.fr/old.php
Hmm, that's frustrating, and I'm sure not just for me. I'm keeping my old Windows 7 laptop until it dies even with the newer laptop, so if the older version of handbrake won't work on Win 10, I can still encode on the old laptop. Apologies to ask, but which version was the last version to support fdk-aac? I ask only if I am able to "update" to the newest older version that supports it in case the version I have won't work.

Thanks again for the replies, apologies on the delays for responses. A mother's work is never done, lol!

Woodstock
Veteran User
Posts: 2004
Joined: Tue Aug 27, 2013 6:39 am

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by Woodstock » Wed Jun 07, 2017 1:53 pm

There are no more compiled (i.e. executable) versions of handbrake available for download that have fdk-aac in them. The problem was that the license for fdk-aac does not allow binary distribution.

You can compile the current one with fdk-aac, however.

User avatar
BradleyS
Moderator
Posts: 858
Joined: Thu Aug 09, 2007 12:16 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by BradleyS » Wed Jun 07, 2017 3:20 pm

Woodstock the engineer. :)

Apologies, I didn't realize we scrubbed the old versions, too. I guess that makes sense.

@JustMom If you want, send me a private message on the forum here (click on my name and then Send Private Message). I'll try to walk you through what you need to do.

User avatar
BradleyS
Moderator
Posts: 858
Joined: Thu Aug 09, 2007 12:16 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by BradleyS » Wed Jun 07, 2017 3:23 pm

Looks like someone made a fairly comprehensive guide: https://forum.videohelp.com/threads/383 ... or-Windows

Feel free to get in touch anyway. Cheers.

JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Wed Jun 21, 2017 12:15 am

Thanks! That's very kind! Apologies again for the delay, I'm not usually this behind. My new laptop arrived with a USB port that was bent during manufacture, it's taken Dell 2 weeks to finally fix the issue. I'm now back online, my old laptop wireless card died right before my new laptop arrived, I'm playing catchup.

JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Sun Jun 25, 2017 1:21 am

Update, sort of:

I installed my original version of Handbrake today, v. 0.9.9-1 64 bit, on the new laptop running the latest version of Win 10. So far, it works as well as it did on Win 10, which - for ME, anyway - solves my concern about encoding mp3s without audio artifacts. I have yet to determine if I'll bother installing the current version of Handbrake as the only reason was to have access to the x265 codec, but I haven't needed it so far.

Thank you all again for the replies and the offers of help!

User avatar
BradleyS
Moderator
Posts: 858
Joined: Thu Aug 09, 2007 12:16 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by BradleyS » Sun Jun 25, 2017 2:16 am

:D

JustMom
Posts: 7
Joined: Mon Apr 17, 2017 12:11 pm

Re: Audio Artifacts When Converting from WMV to Ipod Mp4

Post by JustMom » Sat Jul 01, 2017 3:25 pm

JustMom wrote:
Sun Jun 25, 2017 1:21 am
Update, sort of:

I installed my original version of Handbrake today, v. 0.9.9-1 64 bit, on the new laptop running the latest version of Win 10. So far, it works as well as it did on Win 10, which - for ME, anyway - solves my concern about encoding mp3s without audio artifacts. I have yet to determine if I'll bother installing the current version of Handbrake as the only reason was to have access to the x265 codec, but I haven't needed it so far.

Thank you all again for the replies and the offers of help!
I just realized I meant "works just as well as it did on Win 7", not Win 10. I am an idiot.

Post Reply