Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
How to get non working avi files playing
10-12-2008, 05:15 PM (This post was last modified: 10-19-2008 05:11 PM by chris57.)
Post: #1
How to get non working avi files playing
I see quite a few avi files that wont play or play choppy, some may play video but dont have audio.

The first thing to try before anything else is a quick remux. Why? Because it takes seconds rather than minutes and some encoding apps that are used on the internet and play fine on a PC are not compatable with hardware players such as the NMT players. There is also no reduction in quality.

How to Remux an avi

The best and indeed simplest way to remux an avi is with virtualdub. There are many modded versions of virtualdub including the one that I like to use called 'mp3_freeze'.

It can be downloaded here for free.
Simply unzip/unrar to your desktop. There's no installtion required the software just opens and works on doubleclick.

I use this version as it can cope with 'vbr mp3' audio without causing any audioskew whereas occasionally virtualdub cannot cope with vbr mp3 without causing audio sync problems. I stay away from NanDub as i see numerous encodes that dont work and the common thread seems to be Nandub.

Doubleclick on the mp3_freeze icon and the app will open.
Then select the option File>Open Video File

[Image: capture_12102008_144421.jpg]


The avi will then be imported into the app.

Then move along to the Video option and choose 'Direct Stream Copy':

[Image: capture_12102008_170509.jpg]


Then its simply a case of selecting File>'Save as avi'

[Image: capture_12102008_144843.jpg]

Selecting your file name and the app will then resave your avi rewriting the header and indexing.

That is it!

Some files will still not play despite the quick remux option so a recode is necessary.

How to recode avi files

For these files we have to look at why from looking at the file specifications. To do this I use software called Mediainfo which again is free and can be downloaded here.
Install the mediainfo software and on installation select 'text' output as your default output. It is easier to do this as it can be copied and pasted should you need any further help in the forum.

Here's the output from a file called 'Deathrace' that would play choppy:-
Code:
General
Complete name                    : E:\Last Nights TV\Death Race.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 1.29 GiB
Duration                         : 1h 40mn
Overall bit rate                 : 1 831 Kbps
Writing library                  : VirtualDub build 0/release

Video
Format                           : MPEG-4 Visual
Format profile                   : Streaming Video@L1
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : 3 warppoints
Format settings, Matrix          : Default
Muxing mode                      : Packed bitstream
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 1h 40mn
Bit rate                         : 1 693 Kbps
Width                            : 720 pixels
Height                           : 304 pixels
Display aspect ratio             : 2.35
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Interlaced
Scan order                       : Bottom Field First
Bits/(Pixel*Frame)               : 0.309
Stream size                      : 1.19 GiB (92%)
Writing library                  : XviD 1.2.0.dev47 (UTC 2006-11-01)

Audio
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Codec ID                         : 55
Codec ID/Hint                    : MP3
Duration                         : 1h 40mn
Bit rate mode                    : Constant

The interesting part that is causing the problem is this part:-
Format settings, GMC : 3 warppoints

You can see that the file has GMC 3 warp points. PC's can play these files but hardware players cannot, the maximum number of warp points that the NMT players can cope with is one.

To remove the GMC warp points we have to recode. Recoding WILL reduce quality, the extent is debatable.

Remember the bitrate that the mediainfo app displays as we need that later:-
Bit rate : 1 693 Kbps

We have to again open the avi file in mp3_freeze making sure that we also select 'Fast recompress' option:

[Image: capture_12102008_144442.jpg]


Then move further up the same Video options and select 'Compression' which will open this window:

[Image: capture_12102008_144454.jpg]


You should see the xvid codec as an available option. If you dont then download the xvid codec from here.
Click on the 'Configure' button opening this window:-

[Image: capture_12102008_144519.jpg]

Change the profile level to 'Advanced@L5' and if the button below on the left is entitled 'Target Quantisier' click on it to change it to 'Bitrate'.

Then enter in the box to the right the bitrate that was obtained earlier from the mediainfo details:-
Bit rate : 1 693 Kbps

[Image: capture_12102008_144657.jpg]


If you click on the 'more' button top right a further window appears. There should be no checks in the boxes entitled GMC or Quarter Pixel(QPEL):

[Image: capture_12102008_144751.jpg]


Moving on the the 'Aspect Ratio' tab ensure that it is on Square Pixels. It is the default and once you have checked this there's no need to in future.

Click 'OK' a couple of times to get back to the first window:

[Image: capture_12102008_144843.jpg]


Click on 'Save as Avi' and select your filename, as soon as you have done that a further window will open showing you the progress of your recode:

[Image: capture_12102008_144923.jpg]


You may also get a second window opening showing you a nice graph etc. just minimize it.
When its finished you should have a perfectly playable in sync properly indexed avi to enjoy on your NMT.

Here's the new file specs from Mediainfo notice the fact that the GMC warp points have now gone:
Code:
General
Complete name                    : E:\Last Nights TV\DeathRace.2008.avi
Format                           : AVI
Format/Info                      : Audio Video Interleave
File size                        : 1.29 GiB
Duration                         : 1h 40mn
Overall bit rate                 : 1 829 Kbps
Writing library                  : VirtualDub build 0/release

Video
Format                           : MPEG-4 Visual
Format profile                   : Streaming Video@L1
Format settings, BVOP            : Yes
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default
Codec ID                         : XVID
Codec ID/Hint                    : XviD
Duration                         : 1h 40mn
Bit rate                         : 1 691 Kbps
Width                            : 720 pixels
Height                           : 304 pixels
Display aspect ratio             : 2.35
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.309
Stream size                      : 1.19 GiB (92%)
Writing library                  : XviD 1.1.2 (UTC 2006-11-01)

Audio
Format                           : MPEG Audio
Format version                   : Version 1
Format profile                   : Layer 3
Codec ID                         : 55
Codec ID/Hint                    : MP3
Duration                         : 1h 40mn
Bit rate mode                    : Constant
Bit rate                         : 128 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 44.1 KHz
Resolution                       : 16 bits
Video delay                      : 3ms
Stream size                      : 92.4 MiB (7%)
Alignment                        : Split accross interleaves
Interleave, duration             : 40 ms (1.00 video frame)
Interleave, preload duration     : 500 ms
Writing library                  : LAME3.90.3

Q: When I open the file I get this error message:
'Couldn't locate a compressor for DIV3 mpeg4'
A: Install the 'Divx codec' and then recode using the guide above but select the 'divx codec' not the 'xvid codec' to recode. You still need to enter the bitrate.

A400: SD Card(Apps), HDMI C200: USB(Apps), BD ROM (SH-B083L(SB01)), HDMI
CAT6 Wired Network: TV Panasonic TX-P42G20, HP ProCurve 1400-8G, Netgear GS-608/605, Synology CS407
Find all posts by this user
10-13-2008, 10:15 PM
Post: #2
RE: How to get non working avis files playing
Thanks for this complete excellent guide!! I will give it a bash when I get home. Smile
Find all posts by this user
10-15-2008, 08:34 PM
Post: #3
RE: How to get non working avis files playing
Thanks.... this worked for me Smile
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Playing music with Winamp from PC to PCH alvoryx 39 34,938 11-21-2012 10:27 PM
Last Post: joedalton101
  NFO files nmauro 2 2,398 08-01-2012 11:34 PM
Last Post: bigkid
  How-To: Transfer files via USB slave from PC to NMT chris57 157 204,683 02-11-2012 10:03 AM
Last Post: minazza
  Howto: Updated - Get mythtv playback nice and pretty WORKING! tivo1 1 3,648 08-29-2010 08:40 AM
Last Post: tivo1
  UPS: How $40US can save your media files, marriage and weekend. accident 4 4,799 08-17-2010 08:28 PM
Last Post: garp99
Lightning Internet Radio working 8pm 2 3,919 06-21-2010 09:00 AM
Last Post: antherion
  Guide: Sharing files with Samba (Linux) dacken 1 4,716 12-28-2009 01:43 PM
Last Post: dacken
  Guide: Renaming files on Mac OS X n5k 0 5,551 09-09-2009 09:07 AM
Last Post: n5k
  How-to: Get those none working avi files playing! - Updated 20/07/09 chris57 14 25,255 08-21-2009 08:40 AM
Last Post: swattpopcorn
Game Tutorial: How to use the Xbox360 to play files off the PCH? victorakkersdijk 0 4,401 08-01-2009 10:04 PM
Last Post: victorakkersdijk

Forum Jump: