Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sound problem #194

Open
cl84 opened this issue Dec 16, 2022 · 0 comments
Open

sound problem #194

cl84 opened this issue Dec 16, 2022 · 0 comments

Comments

@cl84
Copy link

cl84 commented Dec 16, 2022

when I start picam with the command -c 2 the recording of the file via picam happens correctly in stereo, while in tcpout I have a mono audio

picam --time --timeformat "%d/%m/%Y %T" --alsadev hw:3 -c 2 --tcpout tcp://127.0.0.1:8181

ffmpeg -i tcp://127.0.0.1:8181?listen -c copy out.mp4

Input #0, mpegts, from 'tcp://127.0.0.1:8181?listen':
Duration: N/A, start: 0.021333, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080, 30 fps, 30 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp, 40 kb/s
File 'out.mp4' already exists. Overwrite? [y/N] y
Output #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf59.34.102
Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=2-31, 30 fps, 30 tbr, 90k tbn
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 40 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant