Easier would be to add support to demuxer to search for *.DAT named files in current directory of OMA file. And use it for decrypting. I think you cut a lot of boring work for me, the recreation of *.DAT and *.OMA files. I think all necessary information is available to add support for such files to oma demuxer. I will work on this, and by end of this weekend it probably should be complete. So will give patch that you can then use to rebuild ffmpeg.
On Wed, Nov 20, 2024 at 2:58 AM Dieter Van Hauwermeiren via ffmpeg-user < ffmpeg-user@ffmpeg.org> wrote: > Paul, > In the files I recovered, I found a .dat file which has an EKB block in > it. Could this make things easier to reconstruct the .oma file's header and > EKB? You can find the file in attachment. > On Tuesday, November 19, 2024 at 10:16:14 PM GMT+1, Paul B Mahol < > one...@gmail.com> wrote: > > Got running Windows XP in VM and app reported error so I abandoned idea to > consume more time on it. > > Now that I think about it again I figured out that it might be possible to > reproduce your situation but keeping all files, if possible. > Then I could search for relevant files and bytes that are needed to decrypt > new audio files, in hope something obvious will pop up that could show a > way to recover your files too. > > If I get bored again I could try this, but because searching for relevant > files might not be trivial I may do it later than sooner. > > On Tue, Nov 19, 2024 at 6:11 PM Dieter Van Hauwermeiren via ffmpeg-user < > ffmpeg-user@ffmpeg.org> wrote: > > > Hi Paul, > > Were you able to find a way to change the layout of the GEOB binary parts > > of the .OMA files? > > Best, > > Dieter > > On Wednesday, November 13, 2024 at 07:28:54 PM GMT+1, Dieter Van > > Hauwermeiren via ffmpeg-user <ffmpeg-user@ffmpeg.org> wrote: > > > > Okay, thank you!Maybe it's worth noting that I extracted the .oma files > > directly from the hard drive of my old Sony NW-HD1. My walkman was dead > but > > I wanted to recover the audio files so I demounted the hard drive and was > > able to find an adapter on Amazon to transfer the files directly from the > > hard drive onto my pc. Maybe this is the reason why the GEOB frame is > > different. > > I was able to contact someone who helped develop ffmpeg and he wrote me > > the following: > > - It's using a different GEOB frame ("OMG_ULINF" vs. "OMG_LSI"). > > - Only a KEYRING subobject is contained in the binary chunk, no header > > and no EKB. > > - It's using a different root key than the usual one from SonicStage > > (0x00010013 vs. 0x0001001d). > > He also added the following link: > > https://wiki.videolan.org/SoC_2011/OMA/Atrac_Improvements/Hope this > helps. > > Best regards, > > Dieter On Wednesday, November 13, 2024 at 10:22:29 AM GMT+1, Paul B > > Mahol <one...@gmail.com> wrote: > > > > Looks like ffmpeg can not process it because files lack some geob binary > > chunk that it expects. > > When inspecting files I found out similar binary chunks that appears to > > contain same data but at different layout. > > I downloaded old SonicStage and will try to find out if its OpenMG binary > > code have any mention of those binary geob chunks and try to see if it > can > > be reused somehow to decrypt files. > > > > On Tue, Nov 12, 2024 at 11:29 PM Dieter Van Hauwermeiren via ffmpeg-user > < > > ffmpeg-user@ffmpeg.org> wrote: > > > > > Sorry about that, I changed the privacy settings for the files. It > > should > > > work now. > > > > > > https://drive.google.com/file/d/1pQkvSAx5GaCARI7WnHHNW4uDhcHBwSZy/view?usp=drive_linkhttps://drive.google.com/file/d/1-peYBsAhYHCgFgqNCqjkx-Ij1NXvOWI3/view?usp=drive_linkhttps://drive.google.com/file/d/1iJFrFGSjtG7JNGZTpjcJRWW3d21ZrwfL/view?usp=drive_link > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tuesday, November 12, 2024 at 11:10:30 PM GMT+1, Paul B Mahol < > > > one...@gmail.com> wrote: > > > > > > I get Access denied. So needs some permissions change to actually > > download > > > file(s). > > > > > > On Tue, Nov 12, 2024 at 10:40 PM Dieter Van Hauwermeiren via > ffmpeg-user > > < > > > ffmpeg-user@ffmpeg.org> wrote: > > > > > > > Thanks for your response.I've provided the links to three > .OMA-files: > > > > > > > > > > https://drive.google.com/file/d/1pQkvSAx5GaCARI7WnHHNW4uDhcHBwSZy/view?usp=drive_linkhttps://drive.google.com/file/d/1-peYBsAhYHCgFgqNCqjkx-Ij1NXvOWI3/view?usp=drive_linkhttps://drive.google.com/file/d/1iJFrFGSjtG7JNGZTpjcJRWW3d21ZrwfL/view?usp=drive_link > > > > On Tuesday, November 12, 2024 at 10:22:38 PM GMT+1, Paul B Mahol < > > > > one...@gmail.com> wrote: > > > > > > > > On Tue, Nov 12, 2024 at 8:59 PM Dieter Van Hauwermeiren via > > ffmpeg-user > > > < > > > > ffmpeg-user@ffmpeg.org> wrote: > > > > > > > > > Hi, > > > > > I have a question regarding the playback of .OMA files with > > ffmpeg.The > > > > > .OMA files I would like to play come from a recovered hard disk > from > > a > > > > Sony > > > > > NW-HD1 walkman. These files were added to the walkwan using Sony > > > > > Sonicstage. As many users found out the hard way, Sonicstage > > encrypted > > > > and > > > > > DRM protected the audio files by default when transferring them to > > the > > > > > walkwam. On top of that, the audio files couldn't be played back > in a > > > > newly > > > > > installed version of Sonicstage because the original installed > > version > > > > was > > > > > associated with a unique encryption key. When I changed computers, > I > > > > found > > > > > out that the original encryption key was still on the computer I > > threw > > > > away. > > > > > So because of this, I have a library of .OMA files I cannot play. I > > > have > > > > > read through numerous forums and tried out various proposed > solutions > > > but > > > > > so far, none of them has worked. Various solutions include the use > of > > > > > ffmpeg, even when the audio files are protected but it doesn't seem > > to > > > > work > > > > > for the files I try to play.Could someone help me with this? I can > > > always > > > > > send a test .OMA file. A big thanks in advance. > > > > > Kind regards, > > > > > > > > > > > > > Feel free to provide link to uploaded .OMA file(s) that are not > > > supported. > > > > > > > > > > > > > Ronnie > > > > > _______________________________________________ > > > > > ffmpeg-user mailing list > > > > > ffmpeg-user@ffmpeg.org > > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > > > > > To unsubscribe, visit link above, or email > > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > > > > > _______________________________________________ > > > > ffmpeg-user mailing list > > > > ffmpeg-user@ffmpeg.org > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > > > To unsubscribe, visit link above, or email > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > > > > _______________________________________________ > > > > ffmpeg-user mailing list > > > > ffmpeg-user@ffmpeg.org > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > > > To unsubscribe, visit link above, or email > > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > > > _______________________________________________ > > > ffmpeg-user mailing list > > > ffmpeg-user@ffmpeg.org > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > > _______________________________________________ > > > ffmpeg-user mailing list > > > ffmpeg-user@ffmpeg.org > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > > > To unsubscribe, visit link above, or email > > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > > > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".