Re: [FFmpeg-user] Decoding adpcm_psx

2018-10-28 Thread Markus Laaja

On 28.10.2018 02:27, Carl Eugen Hoyos wrote:

2018-10-28 0:47 GMT+02:00, Markus Laaja :


Could you do the conversion with FFmpeg or VGMstream and if so, how did
you do it?

I don't even know what VGMstream is, I forced the codec and block_align
in a random existing demuxer to be able to test.
As you found out, raw adpcm is not supported.

Yes, this seems to be the case and I need to do something else.
Today I made a workaround by crafting suitable headers and using a 
combination of multiple tools.


By the way, VGMstream is another decoding tool which was referred to by 
another user, Paul B Mahol on 27.10.

The file comes from Final Fantasy 7 and though has no header,

Is there a directory structure with the exact file you attached?
There should be no structures in the file I attached, as far as I know. 
Just one stream, mono audio.

I separated it from a file which holds all the instrument sample data,
laid out one after another, only separated by 16 bytes of 0x00.
The game keeps track of the data with the help of another file, which 
has hard pointers for each sample.





the audio stream itself is supposed to be compatible with
.vag/.vab format.

The file ext is by me, to distinguish it somehow from
known formats.

What is the original file extension?
The file is called "INSTR.ALL" and it's probably unique to this game in 
its simplicity.
Final Fantasy 8 uses a similar way to store the samples, but it's way 
more flexible

and is already supported by VGMstream, it seems.

Well, I think that's all for it now. Thank you for all your trouble!

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Ffmpeg compilation issues

2018-10-28 Thread Ronak
Thanks.

Do you know when this would be merged in so I can build the latest developer 
trunk?
There are features in the developer trunk that I'm interested in using.

> On Oct 27, 2018, at 3:32 PM, Mark Thompson  wrote:
> 
> On 27/10/18 17:24, Ronak wrote:
>> Hi all,
>> 
>> I'm trying to build the latest HEAD version of Ffmpeg on Linux on the 
>> following platform.
>> 
>> Linux 4.9.124-0.1.ac.198.71.329.metal1.x86_64 #1 SMP Thu Aug 30 20:39:05 UTC 
>> 2018 x86_64 x86_64 x86_64 GNU/Linux
>> 
>> But, I'm getting compilation problems:
>> 
>> libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_set_ext_ctrl’:
>> libavcodec/v4l2_m2m_enc.c:51: warning: braces around scalar initializer
>> libavcodec/v4l2_m2m_enc.c:51: warning: (near initialization for 
>> ‘ctrls.count’)
>> libavcodec/v4l2_m2m_enc.c:55: error: ‘struct v4l2_ext_controls’ has no 
>> member named ‘ctrl_class’
>> libavcodec/v4l2_m2m_enc.c:60: error: ‘struct v4l2_ext_control’ has no member 
>> named ‘value’
>> libavcodec/v4l2_m2m_enc.c: In function ‘v4l2_get_ext_ctrl’:
>> libavcodec/v4l2_m2m_enc.c:71: warning: braces around scalar initializer
>> libavcodec/v4l2_m2m_enc.c:71: warning: (near initialization for 
>> ‘ctrls.count’)
>> libavcodec/v4l2_m2m_enc.c:76: error: ‘struct v4l2_ext_controls’ has no 
>> member named ‘ctrl_class’
>> libavcodec/v4l2_m2m_enc.c:89: error: ‘struct v4l2_ext_control’ has no member 
>> named ‘value’
>> make: *** [libavcodec/v4l2_m2m_enc.o] Error 1
>> 
>> It looks like Ffmpeg is not finding the correct unions in the file: 
>> /usr/include/linux/videodev2.h.
>> 
>> What do I have to set to make compilation succeed?
> 
> This was broken by a change which suppressed an invalid warning.  Fix here: 
>  >.
> 
> Thanks for the report!
> 
> - Mark
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org 
> http://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
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".