HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 8,290 | Guests: 1691 | Members: 0 


   Current Location: Forums Error code 05   |   Anyone here capable or interested in restarting XBConnect?   |   Which modchip is this?   |   original xbox with 0 memory   |   Why cell damage is low with ratings   |   New Game - Fursan al-Aqsa - Knights of al-Aqsa Mosque   |   Xbox-Hq.Com VIP Member Testimonials   |   XBHD: A Full-Featured Original Xbox Adapter from EON Gaming,   |   Best place for XBox ROMS?   |   New google drive   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Get Xbox Game Pass Ultimate
Xbox-Hq.Com :: View topic - New XMV Converter
Xbox-Hq.Com Forum Index -> Xbox General Discussions
Post new topic Reply to topic  Goto page 1, 2  Next  
 New XMV Converter View previous topic :: View next topic  
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Mon Jul 03, 2017 2:28 pm   
Post subject: New XMV Converter
Reply with quote
 
I was digging through the 5933 XDK yesterday and came across the src for a GUI based XMV Encoder. For some reason M$ didnt ship a binary of this with the XDK. So I compiled it and gave it a run


Its pretty tweaky when it comes to input formats, gonna try and change that. But at any rate heres the src and binary I compiled for anybody who wants to check it out

http://www.mediafire.com/file/tguee74gwoc71of/XMVEncoder.7z


View user's profile Send private message
 
 
 
 
ArchAngle
V.I.P. Lifetime

Xbox Version: v1.6
Modded: Xecuter 2.6 CE

Joined: Oct 03, 2014
Posts: 362

Post Posted: Tue Jul 04, 2017 12:11 am   
Post subject:
Reply with quote
 
This is very interesting for me as I've been trying to find a way of creating XMV's for use in UX skins or to replace some of the awful quality preview FMVs there are for some games.

I had a lot of help from Rocky5 but I tracked the problem I was having down to the WMV8 intermediate formatting of the MP4s I was using as sources. I was getting strange error measages whenever I tried to convert that WMV8 to XMV.

It was suggested it was using MP4 originals where the problem lay and I should trying converting that to AVI first, then WMV8 and finally XMV. It still didn't work with UnleashX and neither did the WMV8 which, in theory should at least be playable from the UnleashX dash.

XBMC, of course, played everything OK but I need XMV for maximum UnleashX use compatibility.

Rocky5 even supplied a test WMV8, not sure how it was created, and when I used that with the same tools I'd been using without success it worked perfectly. The problem was clearly the WMV8 conversion.

However I tried various resolutions and audio bit rate with the software I was using to convert MP4 and/or AVI files to WMV8 and it still all failed.

The Properties for the WMV8 files show EXACTLY what it should do but it still won't convert to XMV. The video converter I'm using: MyFFVideoConverter must be the culprit but what it is doing to make the WMV8 it creates incompatible with UnleashX I have no idea.

In short if this can help fix that WMV8 problem I'll be very pleased. Getting it to work with MP4 originals, which is what most stuff on YT that I want to use seems to be, would be the ideal.


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Tue Jul 04, 2017 2:18 am   
Post subject:
Reply with quote
 
Batch22B can do MP4 to XMV the issue is you will either have no audio or have to dub the audio (XBOX ADPCM) Which it can do on the fly. It can also output a WMV that will work with UnleashX for preview videos. No WME8utils crap (I really hate that app) it uses FFMPEG, ABOXADPCM and XMVTool
http://www.mediafire.com/file/n5c2452azty2pq7/Batch22bV5.7z

This tool here as I said is tweaky, right now the only avi"s Ive gotten to work are raw FRAPS avi's and DV avi's made with Corel 2010. One nice thing though if you have XDK installed on the PC and debug installed on the XBOX it can convert and upload it direct to your XBOX

For doing virtually any video file to XMV with Batch22B and retain audio

1.) Choose "AUDIO">"WAVE"
2.) Choose "WMVna"
3.)Rename the WMV to video.wmv and the WAVE to audio.wav and put them in the inputfiles folder
4.) Pick "XMV">"MERGEXMV"

It will dub the dumped audio track to the file and convert to XMV. If you dont care about audio simply pick WMVna move the resulting file to inputfiles and choose WMV2XMV

As for the issue converting on your end it 99% guaranteed comes back to audio. The XMV Tool can only accept WMV8 with WMA9 audio or WMV8 with XBOX ADPCM audio or another PCM audio with the same bitrate. You run into the same with WME8Utils it cant handle compressed audio streams so virtually every file now days will fail.


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Tue Jul 04, 2017 2:35 pm   
Post subject:
Reply with quote
 
Here ya go. Cleaned up a few things and I think I have what you want. Will convert virtually any video file to XMV with full audio with one click and no WME8 or 9. So far Ive tested MP4, MKV, MPEG2, AVI (xvid), BIK and VOB

MP4 Conversion


MKV Conversion


MPEG Conversion


AVI Conversion


BIK Conversion


DOWNLOAD http://www.mediafire.com/file/d5yyqr17j67cmkm/Any2XMV.7z
SRC http://www.mediafire.com/file/oe4xhx7zj8q0i3e/ANY2XMV_src.7z

MKV I find the best so far. Some MP4s end up having coefficients clipped which has a cumulative effect of throwing off the timing (not noticeable on short videos but can shorten a vid by a couple seconds on longer ones). H264 MKV I made with Batch22B had no clipping so you get a perfect dub of the audio track. Im sure H264 MP4 made with Batch22B would be fine as well and most H264 based MP4s in general.


Last edited by KIxxx on Thu Jul 06, 2017 1:38 pm; edited 2 times in total


View user's profile Send private message
 
 
 
 
ArchAngle
V.I.P. Lifetime

Xbox Version: v1.6
Modded: Xecuter 2.6 CE

Joined: Oct 03, 2014
Posts: 362

Post Posted: Tue Jul 04, 2017 4:18 pm   
Post subject:
Reply with quote
 
Thanks for all that.

I can't try it out at the moment but when I do I'll post again if successful or if I have any trouble. I'd almost given up on this problem of converting stuff to XMV so appreciate the help whatever the outcome.


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Wed Jul 05, 2017 1:27 am   
Post subject:
Reply with quote
 
No worries. Between this and Batch22B I cant see any reason we cant convert pretty much anything easy peezy. And while I was at work I figured out how to beat the clipping issue on some files and will implement that in another build along with some other bells and whistles I thought of Very Happy


View user's profile Send private message
 
 
 
 
ArchAngle
V.I.P. Lifetime

Xbox Version: v1.6
Modded: Xecuter 2.6 CE

Joined: Oct 03, 2014
Posts: 362

Post Posted: Thu Jul 06, 2017 2:42 pm   
Post subject:
Reply with quote
 
Tried it out today with a Serious Sam 2 trailer/demo one of many I've been wanting to use as a preview FMV with UX skins.

It wasn't entirely plain sailing. My bloody AV decided to sandbox it because it was "of unknown reputation" which messed it up. So I had to change the settings on that and a good thing I did too because I think when the XMV tool part of the process started it also flagged that up.

Anyway once that was sorted: perfect result as far as I can tell.

The MP4 converted to XMV but the proof was in the pudding and when I transferred it to Xbox my UX dash played it perfectly.

The audio is fine and PQ more than good enough for the game preview purposes I wanted it for. The XMV file size produced is about ten times that of the original MP4 which might be an issue with some of the source MP4s I was going to use. But most are going to be <100MB and that is in line with the existing previews pack.

I really appreciate this help and the work you've put in. Very Happy I'm sure others will be interested in this tool too.

Only thing now is I have to tell the guy on another forum who has been very helpful on this mater too that his work has been trumped by your solution.


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Thu Jul 06, 2017 3:06 pm   
Post subject:
Reply with quote
 
I can probably reduce the final size a bit with minimal quality loss. WMV uses crappy compression and 1 to 1 conversions due tend to be larger than the source file. And XMV is normally larger than WMV since it uses an uncompressed audio stream.


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Fri Jul 07, 2017 1:08 am   
Post subject:
Reply with quote
 
I'll do some work on this over the weekend. If you dont mind numbering your files I can include a batch option. Do say 5 or 10 at a time (already tested and working) Im gonna try to create a queue generator but it would rely on random math which could break in certain scenarios (the magic number is not divisible to the amount of files comes to mind)


I didnt do batch on this version simply because it makes things more complicated and gives more places for things to go wrong. When it comes to batch files simpler is always better

Oh and that first vid looked like shit cause I ran it through Pinnacle to shrink the size. Forgot I had fibre optic now and it no longer takes 6 weeks to upload a video Very Happy And the MPEG looked like garbage cause it was lol. One of those "Sample" videos M$ dumps in the My Videos folder on Win7

Here it is in batch doing 10 videos (BIK, MP4, AVI and MPEG)


Pretty impressed with the speed since it only took 11 minutes to dump and convert the audio, convert to WMV, convert to XMV and dub the audio 10 times

Update
Ive done some testing with qscale settings and cut the size of the final file by about 50%. Ive tested using a 1080P House Of Cards MKV, a Mortal Kombat 720P trailer I dumped from youtube using onlinevideoconverter.com, a Whispered music video dumped same as MK, 2 BIKs from Dead Rising 2 and 2 WMVs from Resident Evil 5. I cant see a difference in quality. Maybe if I used a magnifying glass I could lol

Heres a video showing comparison of the original video, converted using the old code (final size 287MB) and with the new code (final size 163MB)
Sadly because of inferior compression in WMV and XMV the final video will always be larger than MP4 and MKV unless serious sacrafices to quality is made.


New and improved version
http://www.mediafire.com/file/c8zee52pbddxdq2/ANY2XMV_2.7z


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Mon Jul 10, 2017 11:56 pm   
Post subject:
Reply with quote
 
So the build I posted above will stand as the final version for now. Unless I have a massive epiphany or someone has a critical issue I wont be changing anything. Hope you guys like the build, and if you have any ideas or requests for other converters just post here or shoot me a PM or message me on Youtube (be sure to include your HQ name)

Next on deck is KIxxx XBOX and PC so keep your eyes open I will be doing pre-release here for that as well Very Happy


View user's profile Send private message
 
 
 
 
ArchAngle
V.I.P. Lifetime

Xbox Version: v1.6
Modded: Xecuter 2.6 CE

Joined: Oct 03, 2014
Posts: 362

Post Posted: Tue Jul 11, 2017 12:16 pm   
Post subject:
Reply with quote
 
Thanks for the additional work you've put into this, much appreciated.

The batch conversion capability will be a great help and any reduction in the file size, with minimal effect on PQ, is very welcome too.

I'll try to spread the word about this on the other Xbox forums I frequent too.


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Thu Jul 13, 2017 12:26 am   
Post subject:
Reply with quote
 
No worries, glad I could help. Just so you know Curb may remove the link or ask you about it. Simply tell him I said it was OK or point him here.

Also just for infos sake since Rocky does help a lot of people I will post the reasons for his issues and how to fix

#1 The stuttering when solely using FFMPEG is caused by the audio track. 16 bit Little Endian and 8 bit unsigned wave files are "acceptable" to the XMV converter and XBOX but for whatever reason will stutter. Thats why I added the extra step way back of converting to XBOX ADPCM in Batch22B. I saw the same issue first hand and was the only way over the course of 2 or 3 years to fix the issue without resorting to WME.

#2 720P will work fine on the XBOX provided the bitrate doesnt exceed 10,000. And there isnt excessive clipping. Every time it clips that removes about a tenth of a second from the video which it tries to compensate for and this results in what appears to be choppy video. Its not that the XBOX cant play it, but rather its playing the video as is. You clip say 20 frames it throws the time off by about .6 seconds and its now out of sync with the index.

#3 Forget fancy. Fancy is your enemy with a batch file. You wanna treat it like your first s3x experience. Wham 2 seconds and a smile. This is a perfect any vid to xmv conversion
for %%a in ("inputfiles\*.*") do ffmpeg -i "%%a" -c:v wmv2 -qscale:v 5 -preset veryslow -c:a pcm_u8 "newfiles\video.wmv"
for %%a in ("newfiles\video.wmv") do ffmpeg -i "%%a" -vn "newfiles\audio1.wav"
for %%a in ("newfiles\audio1.wav") do xbadpcmencode "%%a" "newfiles\audio.wav"
xmvtool -v "newfiles\video.wmv" -a "newfiles\audio.wav" -o Merged1.xmv

4 lines in notepad not 8 or 12 or 27


View user's profile Send private message
 
 
 
 
thewhitetyger
Xbox-HQ Newbie
Xbox-HQ Newbie

Xbox Version: 1.6b
Modded: Babylon 3

Joined: Apr 02, 2008
Posts: 2

Post Posted: Wed Aug 09, 2017 3:03 pm   
Post subject:
Reply with quote
 
Greetz, I ran across this program after trying for years to find something similar and this is absolutly perfect for the uses I would like. Thank you very much for this bit of software that may have never made it to the public domain. It works great, fast encoding and all. I know this is a problem years old, but for those that don't have a lot of money, this helps out with customization.

Once more, thanks much for this great converter!


View user's profile Send private message
 
 
 
 
KIxxx
Xbox-HQ Member
Xbox-HQ Member


Joined: May 28, 2017
Posts: 99
Location: Canada

Post Posted: Sat Aug 12, 2017 2:20 am   
Post subject:
Reply with quote
 
In future please forget the fancy colour font. It wreaks havok on the eyes. Please just use straight black and white.

Im glad this app works good for you, if you have any issues just drop me a line (in proper colour please, purple rainbow I will just delete as reading it just gives me a migraine)


View user's profile Send private message
 
 
 
 
Pengu-dou
Xbox-HQ Newbie
Xbox-HQ Newbie

Xbox Version: Several
Modded: TSOP - iND-BiOS 5004.67

Joined: Feb 22, 2016
Posts: 6

Post Posted: Fri Feb 09, 2018 8:12 am   
Post subject:
Reply with quote
 
When I try using the latest version of Any2XMV, the .exe can't start and I get a message saying "Operation did not complete successfully because the file contains a virus or potentially unwanted software."

If I try to use the previous version, the .exe starts, but partway through the process, it crashes.


View user's profile Send private message
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
Goto page 1, 2  Next |
 All times are GMT | Page 1 of 2
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
 


Get Xbox Game Pass Ultimate