We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ffmpeg -re -i ~/Downloads/jing.mp4 -acodec pcm_s16le -f flv rtmp://localhost:1935/publish/foobar ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers built with Apple clang version 13.1.6 (clang-1316.0.21.2) configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.0.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/jinleileiking/Downloads/jing.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.29.100 description : Packed by Bilibili XCoder v2.0.2 Duration: 00:13:26.40, start: 0.000000, bitrate: 2758 kb/s Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 2620 kb/s, 30 fps, 30 tbr, 16k tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv)) Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, flv, to 'rtmp://localhost:1935/publish/foobar': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 description : Packed by Bilibili XCoder v2.0.2 encoder : Lavf59.16.100 Stream #0:0(und): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 1k tbn (default) Metadata: handler_name : VideoHandler vendor_id : [0][0][0][0] encoder : Lavc59.18.100 flv Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A Stream #0:1(und): Audio: pcm_s16le ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16, 1411 kb/s (default) Metadata: handler_name : SoundHandler vendor_id : [0][0][0][0] encoder : Lavc59.18.100 pcm_s16le frame= 1233 fps= 30 q=31.0 size= 36863kB time=00:00:41.42 bitrate=7290.0kbits/s speed= 1x
logs:
2022/12/28 20:56:58 Incoming HTTP Request 2022/12/28 20:56:58 Starting RTMP Server 2022/12/28 20:57:05 OnConnect: &message.NetConnectionConnect{Command:message.NetConnectionConnectCommand{App:"publish", Type:"nonprivate", FlashVer:"FMLE/3.0 (compatible; Lavf59.16.100)", TCURL:"rtmp://localhost:1935/publish", Fpad:false, Capabilities:0, AudioCodecs:0, VideoCodecs:0, VideoFunction:0, ObjectEncoding:0x0}} 2022/12/28 20:57:05 OnCreateStream: &message.NetConnectionCreateStream{} 2022/12/28 20:57:05 OnPublish: &message.NetStreamPublish{CommandObject:interface {}(nil), PublishingName:"foobar", PublishingType:"live"}
It can only play noise. Add a sample mp4 to git?
The text was updated successfully, but these errors were encountered:
pcm_s16le = alaw?
Sorry, something went wrong.
No branches or pull requests
logs:
It can only play noise. Add a sample mp4 to git?
The text was updated successfully, but these errors were encountered: