In need of .dxa conversion help

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
jquai
Posts: 5
Joined: Wed Jan 28, 2015 9:38 pm

In need of .dxa conversion help

Post by jquai »

Hello. Kind of a last ditch effort to convert some dxa files to basically any other video format. Tried searching everywhere, but thought I might post in hopes that someone might be able to help. Thank you.
digitall
ScummVM Developer
Posts: 1074
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

https://github.com/scummvm/scummvm-tool ... ert_dxa.sh
https://github.com/scummvm/scummvm-tool ... rt_dxa.bat

You will have to work out how to invoke FFMPEG to transcode to your target format...
User avatar
clone2727
Retired
Posts: 1611
Joined: Fri Jun 09, 2006 8:23 pm
Location: NJ, USA

Post by clone2727 »

@digitall *From* DXA, not *to*.
digitall
ScummVM Developer
Posts: 1074
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

@clone2727: Thank you for the brusque response, but I am aware of that...

My point was that if FFMPEG has DXA encode support, it would likely have DXA decode support and thus be capable of transcoding from DXA to any other video format.

A quick Google search shows that I was correct in this assumption:
https://www.ffmpeg.org/doxygen/2.2/liba ... xa_8c.html
jquai
Posts: 5
Joined: Wed Jan 28, 2015 9:38 pm

Post by jquai »

Yeah I did stumble across that, but it's completely foreign to me. I don't even know where to begin.
digitall
ScummVM Developer
Posts: 1074
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

jquai
Posts: 5
Joined: Wed Jan 28, 2015 9:38 pm

Post by jquai »

I figured out how to do basic conversions in command prompt, but its not letting me convert .dxa to .mpeg. it keeps saying no such file or directory. Could someone tell me the code I would need to punch in for ffmpeg? Thanks again. I was just doing ffmpeg -i a.dxa -ar 22050 a.mp4
digitall
ScummVM Developer
Posts: 1074
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

OK... I used the DXA videos from our old Broken Sword Video Pack:
http://downloads.sourceforge.net/projec ... netcologne

Firstly, check you can playback a video with your FFMPEG. I used "ffplay SEWER.dxa" to prove this.

If your version does not work, get the newest version from the FFMPEG website.

Secondly, I just used the following to transcode this to MP4:
ffmpeg -i SEWER.dxa sewer.mp4

You may need to experiment with options as per the documentation to get the correct output format you want and you may need a video filter to resize, change colorspace or other parameters if your desired format only supports certain options.
jquai
Posts: 5
Joined: Wed Jan 28, 2015 9:38 pm

Post by jquai »

Awesome. I have a feeling i need to update. I'll try what you said first thing monday. Thanks a lot, much appreciated.
jquai
Posts: 5
Joined: Wed Jan 28, 2015 9:38 pm

Post by jquai »

Hmm it's showing up as "invalid data found when processing input" - so i assume my files are messed up.
Post Reply