* [FFmpeg-devel] Question about ffmpeg support of sph files with embedded-shorten-v2.00 coding
@ 2023-08-29 16:45 Don Resnik
2023-08-29 20:30 ` Peter Ross
0 siblings, 1 reply; 3+ messages in thread
From: Don Resnik @ 2023-08-29 16:45 UTC (permalink / raw)
To: ffmpeg-devel
ffmpeg,
I have a sph file that ffmpeg will not process. I am using ffmpeg 6.0,
which I believe is the latest version. I am actually running ffprobe on
the file.
Here is the file header:
NIST_1A
1024
sample_count -i 10612160
sample_n_bytes -i 1
channel_count -i 2
sample_byte_format -s1 1
sample_rate -i 8000
sample_coding -s27 ulaw,embedded-shorten-v2.00
database_id -s8 CALLHOME
pin -s6 509115
sample_checksum -i 12165
end_head
Here is the command:
>ffprobe -i input-file.sph
and here is the output:
[nistsphere @ 0x29f1ac0] coding ulaw,embedded-shorten-v2.00 is not
implemented. Update your FFmpeg version to the newest one from Git. If the
problem still occurs, it means that your file has a feature which has not
been implemented.
Before I go through sending a sample file, I would just like to confirm
that ffmpeg should be able to process audio files with:
'sample_coding -s27 ulaw,embedded-shorten-v2.00'
I was hoping there was a setting for configuration I could try that I have
not discovered yet to make this work.
Thank you for your help resolving this issue.
Don R.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] Question about ffmpeg support of sph files with embedded-shorten-v2.00 coding 2023-08-29 16:45 [FFmpeg-devel] Question about ffmpeg support of sph files with embedded-shorten-v2.00 coding Don Resnik @ 2023-08-29 20:30 ` Peter Ross 2023-08-29 21:40 ` Don Resnik 0 siblings, 1 reply; 3+ messages in thread From: Peter Ross @ 2023-08-29 20:30 UTC (permalink / raw) To: FFmpeg development discussions and patches [-- Attachment #1.1: Type: text/plain, Size: 1275 bytes --] On Tue, Aug 29, 2023 at 12:45:57PM -0400, Don Resnik wrote: > ffmpeg, > > I have a sph file that ffmpeg will not process. I am using ffmpeg 6.0, > which I believe is the latest version. I am actually running ffprobe on > the file. > > Here is the file header: ... > and here is the output: > [nistsphere @ 0x29f1ac0] coding ulaw,embedded-shorten-v2.00 is not > implemented. Update your FFmpeg version to the newest one from Git. If the > problem still occurs, it means that your file has a feature which has not > been implemented. > > Before I go through sending a sample file, I would just like to confirm > that ffmpeg should be able to process audio files with: > > 'sample_coding -s27 ulaw,embedded-shorten-v2.00' > > I was hoping there was a setting for configuration I could try that I have > not discovered yet to make this work. Follow the instructions: *Update your FFmpeg version to the newest one from Git.* If you do not know how to update FFmpeg from git, I suggest using an automatic build: https://github.com/BtbN/FFmpeg-Builds/releases If problem still exists report it on the bug tracker: https://trac.ffmpeg.org/ . Attach sample file to bug report. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 251 bytes --] _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] Question about ffmpeg support of sph files with embedded-shorten-v2.00 coding 2023-08-29 20:30 ` Peter Ross @ 2023-08-29 21:40 ` Don Resnik 0 siblings, 0 replies; 3+ messages in thread From: Don Resnik @ 2023-08-29 21:40 UTC (permalink / raw) To: FFmpeg development discussions and patches Peter, Thanks for your response. I mentioned that I am using ffmpeg 6.0, isn't that the latest version? I will submit on the bug tracker side. After doing some research, I think the issue is that in https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/nistspheredec.c#L73 The only embedded-shorten condition that is handled is this one } else if (!av_strncasecmp(coding, "pcm,embedded-shorten", 20)) { There is no accounting for my coding condition 'ulaw,embedded-shorten-v2.00' I will submit it as a bug, but I may also try to make a patch to test that if I include my coding in the conditional that it will work. Thanks, Don R On Tue, Aug 29, 2023 at 4:30 PM Peter Ross <pross@xvid.org> wrote: > On Tue, Aug 29, 2023 at 12:45:57PM -0400, Don Resnik wrote: > ffmpeg, > > > > I have a sph file that ffmpeg will not process. I am using ffmpeg 6.0, > > which I believe is the latest version. I am actually running ffprobe on > > the file. > > > > Here is the file header: > > ... > > > and here is the output: > > [nistsphere @ 0x29f1ac0] coding ulaw,embedded-shorten-v2.00 is not > > implemented. Update your FFmpeg version to the newest one from Git. If > the > > problem still occurs, it means that your file has a feature which has not > > been implemented. > > > > Before I go through sending a sample file, I would just like to confirm > > that ffmpeg should be able to process audio files with: > > > > 'sample_coding -s27 ulaw,embedded-shorten-v2.00' > > > > I was hoping there was a setting for configuration I could try that I > have > > not discovered yet to make this work. > > Follow the instructions: *Update your FFmpeg version to the newest one > from Git.* > > If you do not know how to update FFmpeg from git, I suggest using an > automatic build: https://github.com/BtbN/FFmpeg-Builds/releases > > If problem still exists report it on the bug tracker: > https://trac.ffmpeg.org/ . Attach sample file to bug report. > > -- Peter > (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-29 21:40 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-08-29 16:45 [FFmpeg-devel] Question about ffmpeg support of sph files with embedded-shorten-v2.00 coding Don Resnik 2023-08-29 20:30 ` Peter Ross 2023-08-29 21:40 ` Don Resnik
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git