[FFmpeg-user] OMA playback
Paul B Mahol
onemda at gmail.com
Thu Nov 28 21:12:55 EET 2024
I wrote patch that uses those DAT files and recreate chunk in runtime, but
looks like its still fails. Some last 8 bytes are missing from chunk.
The OMA demuxer code have some limited set of keys it does probe, if time
permits I may check if binaries have those keys at all, and maybe more keys
to add into demuxer to probe.
On Thu, Nov 28, 2024 at 2:04 AM Dieter Van Hauwermeiren via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:
> Any luck with the .DAT files?
> On Wednesday, November 20, 2024 at 11:41:36 PM GMT+1, Dieter Van
> Hauwermeiren via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
>
> I also found this documentation regarding the .DAT files:
> https://www.waider.ie/hacks/workshop/c/mple/FILE_FORMAT_v2.txt
> On Wednesday, November 20, 2024 at 11:20:53 PM GMT+1, Dieter Van
> Hauwermeiren via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
>
> I have uploaded the entire content of the walkman hard drive to my
> google drive. You can access it here:
> https://drive.google.com/drive/folders/1ToVg3nDB3c55cTU3Wnjv2Tnm-whd39Jd?usp=drive_link
> There are other .DAT files in there:- the files starting with '03GINF' and
> '04CNTINF' seem to hold information about the songs (artist, album, etc.)-
> '00010013' is the file I sent you and has the EKB chunk in it- I don't know
> what the other ones are for There's also a .XML file which shows a
> 'DeviceID' and 'RelationshipID', I don't know if that's relevant. I hope
> this helps
> On Wednesday, November 20, 2024 at 08:24:00 PM GMT+1, Paul B Mahol <
> onemda at gmail.com> wrote:
>
> There are more .DAT files?
>
> Are any of them having first few bytes as ascii characters that could
> resemble chunk name?
>
> On Wed, Nov 20, 2024 at 11:54 AM Dieter Van Hauwermeiren via ffmpeg-user <
> ffmpeg-user at ffmpeg.org> wrote:
>
> > Ok great, thanks.I hope this one .DAT file with the EKB block will work
> > for all files then because that's the only one on the walkman hard drive
> > (that has a EKB block).
> > On Wednesday, November 20, 2024 at 09:37:25 AM GMT+1, Paul B Mahol <
> > onemda at gmail.com> wrote:
> >
> > 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 at 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 <
> > > onemda at 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 at 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 at 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 <onemda at 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 at 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 <
> > > > > onemda at 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 at 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 <
> > > > > > onemda at gmail.com> wrote:
> > > > > >
> > > > > > On Tue, Nov 12, 2024 at 8:59 PM Dieter Van Hauwermeiren via
> > > > ffmpeg-user
> > > > > <
> > > > > > ffmpeg-user at 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 at ffmpeg.org
> > > > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > > > >
> > > > > > > To unsubscribe, visit link above, or email
> > > > > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > > > > >
> > > > > > _______________________________________________
> > > > > > ffmpeg-user mailing list
> > > > > > ffmpeg-user at ffmpeg.org
> > > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > > >
> > > > > > To unsubscribe, visit link above, or email
> > > > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > > > >
> > > > > > _______________________________________________
> > > > > > ffmpeg-user mailing list
> > > > > > ffmpeg-user at ffmpeg.org
> > > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > > >
> > > > > > To unsubscribe, visit link above, or email
> > > > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > > > >
> > > > > _______________________________________________
> > > > > ffmpeg-user mailing list
> > > > > ffmpeg-user at ffmpeg.org
> > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > >
> > > > > To unsubscribe, visit link above, or email
> > > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > > >
> > > > > _______________________________________________
> > > > > ffmpeg-user mailing list
> > > > > ffmpeg-user at ffmpeg.org
> > > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > > >
> > > > > To unsubscribe, visit link above, or email
> > > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > > >
> > > > _______________________________________________
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user at ffmpeg.org
> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >
> > > > To unsubscribe, visit link above, or email
> > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > >
> > > > _______________________________________________
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user at ffmpeg.org
> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >
> > > > To unsubscribe, visit link above, or email
> > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > >
> > > > _______________________________________________
> > > > ffmpeg-user mailing list
> > > > ffmpeg-user at ffmpeg.org
> > > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > > >
> > > > To unsubscribe, visit link above, or email
> > > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > >
> > > _______________________________________________
> > > ffmpeg-user mailing list
> > > ffmpeg-user at ffmpeg.org
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > > _______________________________________________
> > > ffmpeg-user mailing list
> > > ffmpeg-user at ffmpeg.org
> > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > >
> > > To unsubscribe, visit link above, or email
> > > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> > >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> >
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
More information about the ffmpeg-user
mailing list