twilly / odvr

Olympus Digital Voice Recorder Driver
GNU General Public License v3.0
28 stars 12 forks source link

Error downloading "*.wav": quality unsupported on your device #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo odvr -e
2.
3.

What is the expected output? What do you see instead?
Error downloading "DA_0131_04.wav": quality unsupported on your device

What version of the product are you using? On what operating system?
I'ḿ using vn-4100pc in ubuntu 13.04

Please provide any additional information below.

thank's for all!

Original issue reported on code.google.com by cacodela...@gmail.com on 24 Oct 2013 at 5:24

fireglow commented 4 years ago

I'm seeing the same thing, this is with a VN-21000PC. Any update on this?

jchillerup commented 4 years ago

Me too.. Looking in olympusdvr.c it means the recording type is ODVR_QUALITY_NEW_HQ which is just plain unsupported. Supposedly there is a program in sandec/ that can decode it but it depends on windows.h and the Makefile requires winegcc :(

jchillerup commented 4 years ago

All right, the sandec utility needs a proprietary DLL to decode the files. I'm hunting for it currently...

On issue #6 there was a person writing a decoder implementation written in straight C, but the file nasced.c was seemingly lost in the Google Code -> Github migration, sadly...

jchillerup commented 4 years ago

Found the DLL and got the code working. Did a pull request.

twilly commented 4 years ago

I'm shocked this is still a popular tool! Thanks for the PR; I'll check it out shortly. :)

jchillerup commented 4 years ago

Thanks for the review... I'll get around to it sometime.

@twilly I was wondering if you had that cleanroom implementation of their strange format, so we don't have to resort to wine tomfoolery and proprietary DLLs? It was uploaded by someone back when this was a Google Code project, but was lost in the migration :(. It would be nice to be able to at least produce a .wav from the new Olympus RAW format.

twilly commented 4 years ago

I wish I did and I remember that first attempt. Sadly I don't have any hardware today and I didn't have the sandec capable hardware at the time. Everything related to that codec is user submitted.

Robert-github-com commented 1 year ago

For future reference there is a nasced.c file. nasced.zip

oleole39 commented 1 year ago

For future reference there is a nasced.c file.

I feel so lucky to find here both odvr & nasced after I made recently a recording in HQ setting with an Olympus VN-series device, thinking it would then work like a standard flashkey... Many thanks to both @twilly & @Robert-github-com for making sure their projects are still reachable.

For future reference here are the steps I followed on Ubuntu 22.04 Jammy:

  1. Cloned odvr repo (currently in v0.1.5) and follow the README's build & install instructions.
  2. Connected Olympus device to computer
  3. Running in build folder sudo odvr -e to download the audio in .wav format would not work in my case due to the fact (as I understood from the issue tracker) the recording was set in HQ instead of XHQ, It raised the quality unsupported on your device error.
  4. So I ran instead sudo odvr -E and it downloaded my file in .raw format (took like 10-15mn for a 2h30-long recording, for a final size of about 40mb)
  5. Downloaded nasced.zip, and unzipped nasced.c in odvr folder.
  6. Built nasced executable running from odvr folder gcc nasced.c -lm -o nasced
  7. And eventually ran ./nasced MyRecording.raw. This took like 5mn to output a readable WAV file of 350mb.

Note: I couldn't get odvr-gui working (not a big deal for me, I was just being curious) due to many occurrences of the same 2 following lines ending up in a seg fault error :

(odvr-gui:151399): Gtk-CRITICAL **: gtk_box_pack: assertion 'GTK_IS_BOX (box)' failed
(odvr-gui:151399): GdkPixbuf-CRITICAL **: gdk_pixbuf_from_pixdata: assertion 'pixdata != NULL' failed

I'm shocked this is still a popular tool!

Well the device isn't obsolete if you omit the fact that AFAIK there is no software allowing to retrieve the recordings from the hardware anymore (I tried the official software on Windows 10 without success), apart from your miraculous project!