VRecode 0.4.1

General Gen8 Archos Tablet discussions
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

VRecode 0.4.1

Post by d00b »

VRecode v0.4.1

Download: http://www.sendspace.com/file/n9eic9

Description: A Windows shell script to optimize non-DVD videos for mobile devices. Batch processing and nested folder processing are possible.

Operation: Video track is recoded to H.264 at same or lower resolution. Audio tracks are recoded if in DTS/AC3/FLAC/PCM format, to either AAC (if surround) or MP3 (if stereo). Container used is MKV. Embedded subtitles and any font attachment are retained as-is. External subtitles are embedded. Applicable video types are AVI MPEG1 MPEG2 MKV MP4 MOV OGM. Requires Windows 2000 or later, MKVToolnix.

Install & Use

1. Install MKVToolnix http://bunkus.org/videotools/mkvtoolnix ... ml#windows
2. Unzip. Create shortcut to VRECODE.CMD on desktop.
3. Drag-drop one or more video file/folder onto shortcut.

Notes

. Don't enable DRC unless AVISynth (w/ NicAudio plugin) is installed, else Bad Things will happen.

. Script will mux any external subtitle tracks with same name as movie file and located in same folder. For VOBSub (ifo/idx) subs, script will add only the specified language track. Default specified language is English. To change, edit VRECODE.CMD, search for "vLang=en" and change to the 2-letter country code of your choosing, as listed at http://loc.gov/standards/iso639-2/php/code_list.php

. The number of files that can be batch selected is limited. If processing 20+ files, put them into a folder and drop the folder. Folder processing has no file limit.

Helper apps

. x264 r1913 (http://x264.nl)
. MediaInfo v0.7.41 (http://mediainfo.sourceforge.net/en/Download/Windows)
. eac3to v3.24 (http://madshi.net/eac3to.zip)
. NeroAACEnc v1.5.1 (http://nero.com/eng/downloads-nerodigit ... -codec.php)
. Lame v3.98.4 (http://rarewares.org/mp3-lame-bundle.php)
. MKVToolnix (http://bunkus.org/videotools/mkvtoolnix ... ml#windows)
. AVISynth v2.5.8 (http://sourceforge.net/projects/avisynth2)
. NicAudio v2.0.4 (http://nicaudio.codeplex.com)

Changelog

0.4.1
. Add: DRC for AC3 (req AVISynth install w/ NicAudio plugin).
0.4.0
. Streamline UI.
. Add a bunch of options.
. Remove model-specific settings, adaptive AR.
0.3.5
. Misc fixes.
0.3.4
. Fix weird crash bug.
. Add custom max res for custom preset.
0.3.3
. Fix language tag bug for weird audio tracks.
. Add muxing external subtitle tracks.
0.3.2
. Fix some internationalization issues.
0.3.0
. Fix out-of-order audio track IDs, other misc bugs.
. Add custom preset to config list.
. Add accomodation for VFR videos.
. Add splitted-parts merging option.
. Add explicit output path option.
0.2.1
. Add >4GB file splitting option.
0.2.0
. Add selectable screen-optimized AR.
. Add accomodation for anamorphic videos.
. Add 64-bit support.
0.1.2
. Fixes: Win7 env, AV sync for non-standard framerates, UNC paths.
. Add Lame MP3 for faster audio processing & downmixing to stereo.
0.1.0
. Initial release.
Last edited by d00b on Wed Mar 02, 2011 7:47 am, edited 21 times in total.
guitarplayer1950
Archos Expert
Archos Expert
Posts: 156
Joined: Sat Oct 16, 2010 4:16 pm

Re: AVRecode_4_Archos - Asking for testers

Post by guitarplayer1950 »

d00b wrote:Hi all, this is a Windows script to optimize videos for Archos devices. I wrote it to solve two problems: no AC3 support (w/o paid plugin), and L3.1 ref frame count limit. The script recodes any AC3/DTS/FLAC/PCM audio to AAC, and it calcs the ref frame limit for the video's resolution. If count > limit, then recode.

But it does do some more useful stuff, like recoding to the device's native resolution for small size and easy wifi streaming.

It's a no-brainer tool. You drag-drop files and/or folders onto it. It will handle batch. The first time it's run, it will ask you for your Archos model, and the resolution (native or max) you prefer.

The best way to use it is simply to drag-drop the entire video folder onto the script and let it crank through the files overnight. It will recode the video track only if needed, or you can manually specify for 'no video recode' for fastest processing.

BTW, MKV header compression is disabled for better compatibility. This script is written for Gen 7 (A5IT) and Gen 8, although it wouldn't be a big deal to add in support for other devices, Archos or non-Archos.

Before use, you need to download and install MKVToolnix. Download site is in the readme above.

I would appreciate if the video dudes (especially A5IT owners) can try it and let me know if there are bugs (I'm sure there are). There may be a bug when running Win 7 that prevents folder processing (I'm using XP). Let me know if you run into it, and I'll fix that.
Very cool man! I can't wait to try this! Once my 101 comes in, I'll test this out on windows 7 for you.

Thanks for your hard work!
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos - Asking for testers

Post by Ominous »

Tested on Intel C2D E7200, 4GB DDR2 under W7U 64bit

The first thing that you need to fix is detection of mkvtoolnix.
64bit OS has 2 program files folders, program files, program files (x86)

Code: Select all

set "MKVDir=%ProgramFiles(x86)%\mkvtoolnix"
Second, after dropping folder onto shortcut to AVRecode and configuring it, message is printed out: processing done but no videos are recoded. when I select files and drop them it recodes one them...

here is log of first test done:

Code: Select all

Video can be tuned for cartoons or live-action. All videos in batch
will use the same tuning. If videos in batch are both animated
and live-action, then select (3) No tuning.

If you only want to recode audio, then select (4) No video recode.

Select video tuning:

(1) Tune for live-action movies
(2) Tune for animated movies
(3) No tuning
(4) No video recode

Choice [1,2,3,4]?  1

Selected video tuning:  ** live-action movies **


*** PROCESSING "AVI XviD 848x480 24fps ASP@L5 BVOP [AG]_Ookami-san_-_11_[XviD][M
azui]_clip.avi"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 1601 frames, 47.00 fps, 457.65 kb/s

Start Time:  10/19/2010  15:28:25
Stop  Time:  10/19/2010  15:28:60

Time lapsed:  35 secs


*** PROCESSING "MKV h.264 720x480 24fps High Profile Level 3.0 CABAC 3 Reference
 Frames Eden of the East the Movie II Facebook clip.mp4"...

...No video recoding needed...


Start Time:  10/19/2010  15:28:60
Stop  Time:  10/19/2010  15:28:60

Time lapsed:


*** PROCESSING "MKV h.264 720x480 24fps High Profile Level 3.0 CABAC 3 Reference
 Frames Eden of the East the Movie II Myspace clip.mp4"...

...No video recoding needed...


Start Time:  10/19/2010  15:29:1
Stop  Time:  10/19/2010  15:29:1

Time lapsed:


*** PROCESSING "MKV h.264 848x480 24fps High Profile Level 4.1 CABAC 9 Reference
 Frames [Mazui]_Ookami-san_-_11_[A26657BB]_clip.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 1705 frames, 41.32 fps, 445.64 kb/s

Start Time:  10/19/2010  15:29:1
Stop  Time:  10/19/2010  15:29:43

Time lapsed:  42 secs


*** PROCESSING "MKV h.264 1280x720 24fps High Profile Level 3.1 CABAC 3 Referenc
e Frames Eureka 4x09 clip.mkv"...

...Recoding audio [track_ID 2] from AC-3 to AAC...

MKV, 1 video track, 1 audio track, 0:00:30, 24p /1.001
1: h264/AVC, 720p24 /1.001
2: AC3, 5.1 channels, 384kbps, 48kHz, dialnorm: -23dB, -83ms
a02 The Nero decoder doesn't seem to work, will use libav instead.
a02 Extracting audio track number 2...
a02 Removing AC3 dialog normalization...
a02 Decoding with libav/ffmpeg...
a02 Remapping channels...
a02 Applying RAW/PCM delay...
a02 Reducing depth from 64 to 32 bits...
a02 Encoding AAC <0.40> with NeroAacEnc...
Video track 1 contains 706 frames.
eac3to processing took 3 seconds.
Done.

...Recoding video to Archos_70 native resolution, High profile...


encoded 706 frames, 21.18 fps, 1254.39 kb/s

Start Time:  10/19/2010  15:29:43
Stop  Time:  10/19/2010  15:30:20

Time lapsed:  37 secs


*** PROCESSING "MKV h.264 1280x720 24fps High Profile Level 4.0 CABAC 8 Referenc
e Frames [HorribleSubs] HEROMAN - 24 [720p]_clip.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 766 frames, 24.98 fps, 1255.51 kb/s

Start Time:  10/19/2010  15:30:20
Stop  Time:  10/19/2010  15:30:51

Time lapsed:  31 secs


*** PROCESSING "MKV h.264 1280x720 24fps High Profile Level 4.0 CABAC 8 Referenc
e Frames [HorribleSubs]_Occult_Academy_-_10_[720p]_clip.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 765 frames, 27.61 fps, 908.08 kb/s

Start Time:  10/19/2010  15:30:51
Stop  Time:  10/19/2010  15:31:20

Time lapsed:  29 secs


*** PROCESSING "MKV h.264 1280x720 24fps High Profile Level 4.1 CABAC 8 Referenc
e Frames[UTW]_Amagami_SS_-_11_[h264-720p][08500434]_clip.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 1559 frames, 31.13 fps, 405.78 kb/s

Start Time:  10/19/2010  15:31:20
Stop  Time:  10/19/2010  15:32:11

Time lapsed:  51 secs


*** PROCESSING "MKV h.264 1280x720 30fps High Profile Level 4.1 CABAC 4 Referenc
e Frames tosh.0_2x22_clip.mkv"...

...Recoding audio [track_ID 2] from AC-3 to AAC...

MKV, 1 video track, 1 audio track, 0:01:01, 30p /1.001
1: h264/AVC, 720p30 /1.001
2: AC3, 2.0 channels, 384kbps, 48kHz, dialnorm: -24dB, -67ms
a02 The Nero decoder doesn't seem to work, will use libav instead.
a02 Extracting audio track number 2...
a02 Removing AC3 dialog normalization...
a02 Decoding with libav/ffmpeg...
a02 Applying RAW/PCM delay...
a02 Reducing depth from 64 to 32 bits...
a02 Encoding AAC <0.40> with NeroAacEnc...
Video track 1 contains 1825 frames.
eac3to processing took 2 seconds.
Done.

...Recoding video to Archos_70 native resolution, High profile...


encoded 1825 frames, 34.82 fps, 709.99 kb/s

Start Time:  10/19/2010  15:32:11
Stop  Time:  10/19/2010  15:33:6

Time lapsed:  55 secs


********************

PROCESSING DONE.

********************

Press any key to continue . . .
Last edited by Ominous on Tue Oct 19, 2010 2:49 pm, edited 1 time in total.
Board A70S-v7+8GB Class2 w~7mb/s
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos - Asking for testers

Post by Ominous »

You should check if mkvtoolnix is in 64bit path (ProgramFiles(x86)) than if that fails go for 32 bit path.
AVI XviD 848x480 24fps ASP@L5 BVOP [AG]_Ookami-san_-_11_[XviD][Mazui]_clip_new
This one has no sound, some skeek noise on the beginning and nothing after it.

Other files work fine, that is on my PC. Don't have those A70 or A101 with me :) Can't remember where did I put them... :( Probably on some boat by now... :D:D:D:D
Board A70S-v7+8GB Class2 w~7mb/s
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos - Asking for testers

Post by Ominous »

Second test:

Code: Select all

Video can be tuned for cartoons or live-action. All videos in batch
will use the same tuning. If videos in batch are both animated
and live-action, then select (3) No tuning.

If you only want to recode audio, then select (4) No video recode.

Select video tuning:

(1) Tune for live-action movies
(2) Tune for animated movies
(3) No tuning
(4) No video recode

Choice [1,2,3,4]?  1

Selected video tuning:  ** live-action movies **


*** PROCESSING "MKV h.264 480x320 30fps Baseline Profile Level 2.1 1 Reference F
rame ASS subtitles [Doki]_Mahou_Shoujo_Lyrical_Nanoha_The_MOVIE_1st_-_PV1_(h264)
_[49B72A7E].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 3476 frames, 102.85 fps, 454.05 kb/s

Start Time:  10/19/2010  15:44:53
Stop  Time:  10/19/2010  15:45:27

Time lapsed:  34 secs


*** PROCESSING "MKV h.264 704x396 30fps High Profile Level 3.1 CABAC 9 Reference
 Frames ASS subtitles [Mamiko_SHiN]_Super_Robot_Wars_OG_-_The_Inspector_-_Traile
r_[webrip][704x396_h.2....mkv"...

...No video recoding needed...


Start Time:  10/19/2010  15:45:27
Stop  Time:  10/19/2010  15:45:28

Time lapsed:  1 secs


*** PROCESSING "MKV h.264 1280x720 24fps High Profile Level 3.1 CABAC 5 Referenc
e Frames ASS subtitles [Doki] Fate stay night - Unlimited Blade Works - PV1 (128
0x720 h264 BD AAC) [C7670CBB].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 1405 frames, 25.39 fps, 1099.98 kb/s

Start Time:  10/19/2010  15:45:28
Stop  Time:  10/19/2010  15:46:24

Time lapsed:  56 secs


*** PROCESSING "MKV h.264 1280x720 24fps High Profile Level 4.0 CABAC 3 Referenc
e Frames ASS subtitles [PhuzySubs]_Darker_than_BLACK_2_-_CM_[1280x720_h264_AAC].
mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 360 frames, 34.52 fps, 606.09 kb/s

Start Time:  10/19/2010  15:46:24
Stop  Time:  10/19/2010  15:46:35

Time lapsed:  11 secs


*** PROCESSING "MKV h.264 1280x720 30fps High Profile Level 3.1 CABAC 5 Referenc
e Frames ASS subtitles [Doki]_Suzumiya_Haruhi_no_Shoushitsu_-_PV1_(1280x720_h264
_AAC)_[276C6AC3].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 437 frames, 39.74 fps, 685.03 kb/s

Start Time:  10/19/2010  15:46:35
Stop  Time:  10/19/2010  15:46:46

Time lapsed:  11 secs


*** PROCESSING "MKV h.264 1280x720 30fps High Profile Level 4.1 CABAC 3 Referenc
e Frames [PhuzySubs]_Occult_Academy_-_Teaser_[570F05AD].mp4"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 2746 frames, 45.87 fps, 586.16 kb/s

Start Time:  10/19/2010  15:46:46
Stop  Time:  10/19/2010  15:47:47

Time lapsed:  1 mins 1 secs


*** PROCESSING "MKV VP6F 400x304 30fps ASS subtitles [Nutbladder]_Arakawa_Under_
the_Bridge_x2_-_Preview_[54996725].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 2610 frames, 86.39 fps, 693.85 kb/s

Start Time:  10/19/2010  15:47:47
Stop  Time:  10/19/2010  15:48:18

Time lapsed:  31 secs


*** PROCESSING "MKV XviD 426x320 24fps ASP@L5 BVOP ASS Subtitles 2 tracks [PHT]_
Sora_no_Woto_Trailer.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 3263 frames, 189.74 fps, 97.99 kb/s

Start Time:  10/19/2010  15:48:18
Stop  Time:  10/19/2010  15:48:36

Time lapsed:  18 secs


*** PROCESSING "MP4 h.264 720x464 30fps High Profile Level 3.0 CABAC 3 Reference
 Frames [CallToArms]Hellsing_OVA_VIII_Teaser_Sub.mp4"...

...No video recoding needed...


Start Time:  10/19/2010  15:48:36
Stop  Time:  10/19/2010  15:48:36

Time lapsed:


********************

PROCESSING DONE.

********************

Press any key to continue . . .

Code: Select all

MKV h.264 1280x720 30fps High Profile Level 4.1 CABAC 3 Reference Frames [PhuzySubs]_Occult_Academy_-_Teaser_[570F05AD]_new
MKV VP6F 400x304 30fps ASS subtitles [Nutbladder]_Arakawa_Under_the_Bridge_x2_-_Preview_[54996725]_new
MKV XviD 426x320 24fps ASP@L5 BVOP ASS Subtitles 2 tracks [PHT]_Sora_no_Woto_Trailer_new
MP4 h.264 720x464 30fps High Profile Level 3.0 CABAC 3 Reference Frames [CallToArms]Hellsing_OVA_VIII_Teaser_Sub_new
These files had problems playing, sound was just a skweek on the beginning, titles and video playback wasn't smooth. These problem could have something to do with my player/codes installed.
I have KMPlayer, 2.9.4.1435, all included codecs installed and using internal codecs.
Board A70S-v7+8GB Class2 w~7mb/s
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos - Asking for testers

Post by Ominous »

Here is the last, 3th batch:

Code: Select all

Video can be tuned for cartoons or live-action. All videos in batch
will use the same tuning. If videos in batch are both animated
and live-action, then select (3) No tuning.

If you only want to recode audio, then select (4) No video recode.

Select video tuning:

(1) Tune for live-action movies
(2) Tune for animated movies
(3) No tuning
(4) No video recode

Choice [1,2,3,4]?  1

Selected video tuning:  ** live-action movies **


*** PROCESSING "[CallToArms]Hellsing_OVA_VIII_Teaser_Sub.mp4"...

...No video recoding needed...


Start Time:  10/19/2010  15:57:54
Stop  Time:  10/19/2010  15:57:54

Time lapsed:


*** PROCESSING "[Doki] Fate stay night - Unlimited Blade Works - PV1 (1280x720 h
264 BD AAC) [C7670CBB].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 1405 frames, 24.57 fps, 1099.98 kb/s

Start Time:  10/19/2010  15:57:54
Stop  Time:  10/19/2010  15:58:52

Time lapsed:  58 secs


*** PROCESSING "[Doki]_Mahou_Shoujo_Lyrical_Nanoha_The_MOVIE_1st_-_PV1_(h264)_[4
9B72A7E].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 3476 frames, 101.45 fps, 454.05 kb/s

Start Time:  10/19/2010  15:58:52
Stop  Time:  10/19/2010  15:59:27

Time lapsed:  35 secs


*** PROCESSING "[Doki]_Suzumiya_Haruhi_no_Shoushitsu_-_PV1_(1280x720_h264_AAC)_[
276C6AC3].mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 437 frames, 40.36 fps, 685.03 kb/s

Start Time:  10/19/2010  15:59:27
Stop  Time:  10/19/2010  15:59:39

Time lapsed:  12 secs


*** PROCESSING "[HorribleSubs]_Occult_Academy_-_10_[720p]_clip.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 765 frames, 26.91 fps, 908.08 kb/s

Start Time:  10/19/2010  15:59:39
Stop  Time:  10/19/2010  16:0:8

Time lapsed:  29 secs


*** PROCESSING "[Mamiko_SHiN]_Super_Robot_Wars_OG_-_The_Inspector_-_Trailer_[web
rip][704x396_h.264_AAC][3598F465].mkv"...

...No video recoding needed...


Start Time:  10/19/2010  16:0:8
Stop  Time:  10/19/2010  16:0:8

Time lapsed:


*** PROCESSING "[Mazui]_Ookami-san_-_11_[A26657BB]_clip.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 1705 frames, 40.10 fps, 445.64 kb/s

Start Time:  10/19/2010  16:0:8
Stop  Time:  10/19/2010  16:0:51

Time lapsed:  43 secs


*** PROCESSING "[Nutbladder]_Arakawa_Under_the_Bridge_Ôò½2_-_Preview_[54996725].mk
v"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 2610 frames, 71.63 fps, 693.85 kb/s

Start Time:  10/19/2010  16:0:51
Stop  Time:  10/19/2010  16:1:29

Time lapsed:  38 secs


*** PROCESSING "[PHT]_Sora_no_Woto_Trailer.mkv"...

...Recoding video to Archos_70 native resolution, High profile...


encoded 3263 frames, 176.23 fps, 97.99 kb/s

Start Time:  10/19/2010  16:1:29
Stop  Time:  10/19/2010  16:1:48

Time lapsed:  19 secs


*** PROCESSING "[PhuzySubs]_Darker_than_BLACK_2_-_CM_[1280x720_h264_AAC].mkv"...


...Recoding video to Archos_70 native resolution, High profile...


encoded 360 frames, 34.09 fps, 606.09 kb/s

Start Time:  10/19/2010  16:1:48
Stop  Time:  10/19/2010  16:1:59

Time lapsed:  11 secs


*** PROCESSING "Eden of the East the Movie II Facebook clip.mp4"...

...No video recoding needed...


Start Time:  10/19/2010  16:1:59
Stop  Time:  10/19/2010  16:1:60

Time lapsed:  1 secs


*** PROCESSING "Eden of the East the Movie II Myspace clip.mp4"...

...No video recoding needed...


Start Time:  10/19/2010  16:1:60
Stop  Time:  10/19/2010  16:1:60

Time lapsed:


*** PROCESSING "Eureka 4x09 clip.mkv"...

...Recoding audio [track_ID 2] from AC-3 to AAC...

MKV, 1 video track, 1 audio track, 0:00:30, 24p /1.001
1: h264/AVC, 720p24 /1.001
2: AC3, 5.1 channels, 384kbps, 48kHz, dialnorm: -23dB, -83ms
a02 The Nero decoder doesn't seem to work, will use libav instead.
a02 Extracting audio track number 2...
a02 Removing AC3 dialog normalization...
a02 Decoding with libav/ffmpeg...
a02 Remapping channels...
a02 Applying RAW/PCM delay...
a02 Reducing depth from 64 to 32 bits...
a02 Encoding AAC <0.40> with NeroAacEnc...
Video track 1 contains 706 frames.
eac3to processing took 3 seconds.
Done.

...Recoding video to Archos_70 native resolution, High profile...


encoded 706 frames, 20.19 fps, 1254.39 kb/s

Start Time:  10/19/2010  16:1:60
Stop  Time:  10/19/2010  16:2:39

Time lapsed:  39 secs


*** PROCESSING "tosh.0_2x22_clip.mkv"...

...Recoding audio [track_ID 2] from AC-3 to AAC...

MKV, 1 video track, 1 audio track, 0:01:01, 30p /1.001
1: h264/AVC, 720p30 /1.001
2: AC3, 2.0 channels, 384kbps, 48kHz, dialnorm: -24dB, -67ms
a02 The Nero decoder doesn't seem to work, will use libav instead.
a02 Extracting audio track number 2...
a02 Removing AC3 dialog normalization...
a02 Decoding with libav/ffmpeg...
a02 Applying RAW/PCM delay...
a02 Reducing depth from 64 to 32 bits...
a02 Encoding AAC <0.40> with NeroAacEnc...
Video track 1 contains 1825 frames.
eac3to processing took 3 seconds.
Done.

...Recoding video to Archos_70 native resolution, High profile...


encoded 1825 frames, 29.47 fps, 709.99 kb/s

Start Time:  10/19/2010  16:26:30
Stop  Time:  10/19/2010  16:27:36

Time lapsed:  1 mins 6 secs


********************

PROCESSING DONE.

********************

Press any key to continue . . .
Board A70S-v7+8GB Class2 w~7mb/s
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos - Asking for testers

Post by Ominous »

Code: Select all

[CallToArms]Hellsing_OVA_VIII_Teaser_Sub_new.mkv
[Nutbladder]_Arakawa_Under_the_Bridge_×2_-_Preview_[54996725]_new.mkv
[PHT]_Sora_no_Woto_Trailer_new.mkv
Problems with audio/video playback, I'll try these on my laptop it seams to be problem with my codec pack here...
Board A70S-v7+8GB Class2 w~7mb/s
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos - Asking for testers

Post by d00b »

Re: Jerky playback w/ sound problems -

I avoid codec packs and use ffdshow tryout. You can try it at the official page,

http://ffdshow-tryout.sourceforge.net

or use the latest svn from the http://x264.nl site.
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos - Asking for testers

Post by Ominous »

NP
d00b wrote:Win7 Program Files path bug - Open a console (run cmd.exe) and run set at the prompt. That'll tell me the environmental variables for the Win 7 Program Files folders.

Code: Select all

ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
But I gave you a fix path, you need to check if x86 exits and use it if it does, if not, use regular ProgramFiles.

Code: Select all

set "MKVDir=%ProgramFiles(x86)%\mkvtoolnix"
I don't have time now to test XP but tomorrow...

Anyways... you can publish 2 editions 32 and 64 :)
Board A70S-v7+8GB Class2 w~7mb/s
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos

Post by d00b »

.
Last edited by d00b on Tue Dec 14, 2010 6:06 am, edited 1 time in total.
Ominous
Archos Guru
Archos Guru
Posts: 284
Joined: Sun Oct 10, 2010 5:41 am

Re: AVRecode_4_Archos

Post by Ominous »

Sorry, I was in mess these days, finishing alpha of some project that I'm working on :)
Let me know if you need more field tests.
Board A70S-v7+8GB Class2 w~7mb/s
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos

Post by d00b »

No sweat. All the outstanding issues have been taken care of (I think). If you have the time, download the 64-bit x264.exe from http://x264.nl and run some time tests on both 64- and 32-bit versions for me. That's the only part that would take any appreciable amount of time, and from the grapevine, the 64-bit can be 10-15% faster.

If that holds up, I'll include both exe's in the package, and have the script detect the OS to switch between the two.
Mikerla
Archos User
Archos User
Posts: 77
Joined: Tue Oct 12, 2010 9:34 pm

Re: AVRecode_4_Archos - Asking for testers

Post by Mikerla »

d00b wrote:Hi all, this is a Windows script to optimize videos for Archos devices. I wrote it to solve two problems: no AC3 support (w/o paid plugin), and L3.1 ref frame count limit. The script recodes any AC3/DTS/FLAC/PCM audio to AAC, and it calcs the ref frame limit for the video's resolution. If count > limit, then recode.

But it does do some more useful stuff, like recoding to the device's native resolution for small size and easy wifi streaming.

It's a no-brainer tool. You drag-drop files and/or folders onto it. It will handle batch. The first time it's run, it will ask you for your Archos model, and the resolution (native or max) you prefer.

The best way to use it is simply to drag-drop the entire video folder onto the script and let it crank through the files overnight. It will recode the video track only if needed, or you can manually specify for 'no video recode' for fastest processing.

BTW, MKV header compression is disabled for better compatibility. This script is written for Gen 7 (A5IT) and Gen 8, although it wouldn't be a big deal to add in support for other devices, Archos or non-Archos.

Before use, you need to download and install MKVToolnix. Download site is in the readme above.

I would appreciate if the video dudes (especially A5IT owners) can try it and let me know if there are bugs (I'm sure there are). There may be a bug when running Win 7 that prevents folder processing (I'm using XP). Let me know if you run into it, and I'll fix that.


I would like to try this but don't see any script or location to get it from... Am I missing something?
A70 8GB ver7
2.4.19 +rw 1.5 GB app
Harfainx
Moderator
Moderator
Posts: 1903
Joined: Sun Mar 07, 2010 1:57 pm
Location: Nomad

Re: AVRecode_4_Archos

Post by Harfainx »

I don't see a script anywhere o.O

When it comes up, I'll do some testing for your on my gaming rig d00b :badgrin:
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos 0.2.0

Post by d00b »

0.2.0
. Add selectable screen-optimized AR.
. Add accomodation for anamorphic videos.
. Add 64-bit support.

I finally got around to rewriting the script to add some more stuff. Let me know if you guys find anything amiss. Hope you find it useful.
Dion
Archos Novice
Archos Novice
Posts: 10
Joined: Mon Nov 29, 2010 5:04 am

Re: AVRecode_4_Archos 0.2.0

Post by Dion »

All your adjusted AR pictures are imagine stretched. That's not good.. You need to crop them. Seems like alot of effort for all this when MeGUI can do it all.. And you don't have to install anything..
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos 0.2.0

Post by d00b »

Hi Dion,

Re: AR stretching - Yes, that's the point. Fitting a 2.4 AR movie into a 4:3 screen using only cropping is called pan-&-scan. If you can do math, you'd figure out that 45% is cropped. Great if you want to watch half a movie.

Stretching sans cropping, ie fit-to-screen, isn't a solution either, unless you want to watch chopstick people.

The solution arrived at above uses a combo of both, and sets limits on both to maintain a watchable picture. Cropping is set to max of 10% (5% per side). V-stretch is set to max of 16:9 (on a 4:3 screen). The math is a bit more involved, and can be gleaned from the script; I'm giving you the gist.

As said, it's intended for small screens, and is optional. On larger screen, the benefit of larger display surface vs AR fidelity isn't as clear-cut, and is more a personal preference.

As for MeGUI doing it all, I'd love to see how it works if you "don't have to install anything." Yes, MeGUI does install helper apps. A lot of apps. It's only a front-end, after all, like most other converter apps. The engine is still x264, and it still uses MKVToolnix/MP4Box to mux.

My script is a purpose-built front-end. It does specific things that "general" apps like MeGUI can't. Like addressing the lack of AC3/DTS support in many mobile devices (convert them to MP3/AAC), or putting widescreen videos onto small 4:3 screen and make them watchable, or check for H.264 level limit and recode the video if needed.

More importantly, the script is written for regular users. Use is simple drag-drop. Drop one or drop a bunch, it doesn't matter. The script takes care of it. You don't have to know any of the geekspeak.

If you can do any of these in MeGUI, let me know. Yes, I've used it before. I helped beta-test it when it was first developed.
gibbon
Archos Expert
Archos Expert
Posts: 217
Joined: Fri Oct 29, 2010 8:32 am
Location: in your house

Re: AVRecode_4_Archos 0.2.0

Post by gibbon »

pretty neat script, thanks. it doesnt seem to like win7 x64 though, had to copy the installed copy of MKVtoolnix from the program files (x86) folder to program files for it to run and when it runs it still only calls upon x264_32.exe as opposed to x264_64.exe


edit: eek its going to take 5 hours to reencode this film :(
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos 0.2.0

Post by d00b »

I'll take a look at the 64-bit detection. For fastest result, i.e. if you only want to get videos w/ AC3 to work, select "no video conversion". Then it will only process the audio, which takes about 9mins for a 2-hr movie (for 5.1 AAC), or about 6mins if converting to stereo MP3.
d00b
Archos Guru
Archos Guru
Posts: 927
Joined: Thu Sep 02, 2010 2:43 pm

Re: AVRecode_4_Archos 0.2.0

Post by d00b »

.
Last edited by d00b on Tue Dec 14, 2010 6:07 am, edited 1 time in total.
Post Reply

Return to “General Archos Gen8: Archos 28, 32, 43, 70 and 101 Internet Tablets”