From: Leo Izen <leo.izen@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] How to upsample and then encode audio
Date: Thu, 2 Jun 2022 09:41:16 -0400
Message-ID: <3a3e2dc3-5677-8a00-bd4c-37fa558d608c@gmail.com> (raw)
In-Reply-To: <CAN1V-9AqoYbgOvfpOmE38ou6oVOK6HAf5kRvSKhosrURDXozYw@mail.gmail.com>
On 6/2/22 06:29, Большой Человек wrote:
> Basically after transcoding pcm_alaw 8khz to mp3 44.1khz, I can hear only
> some brief or even swift sound in first 1-2 seconds, unrecognizable sound.
> So something is wrong with pts/dts, packed to planar convertion, or
> upsampling.
>
> My application does transcoding rtsp camera stream to file. Video and
> audio. Video works fine and audio remuxing as well. Now I have pcm_alaw
> 8khz audio stream and want to transcode it to mp4 file along with video.
>
> Code is quite cumbersome to construct reproducible part, so firstly I
> want to know if my logic is right. Here is my draft process (assume all
> error are checked and handled):
>
This email list is for working on FFmpeg itself. For user questions,
including clients of the libraries, see mailto:ffmpeg-user@ffmpeg.org
- Leo Izen (thebombzen)
_______________________________________________
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".
prev parent reply other threads:[~2022-06-02 13:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 10:29 Большой Человек
2022-06-02 13:41 ` Leo Izen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a3e2dc3-5677-8a00-bd4c-37fa558d608c@gmail.com \
--to=leo.izen@gmail.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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