[FFmpeg-user] FFMpeg stream audio problem
Hi, I have Debian Buster Stable and I installed the FFMpeg program. I would like to stream audio from the microphone of the soundcard to the local IP of this computer LAN card and other computer can connect through LAN to play the stream. My goal is to stream audio with lowest latency as possible. I know that Opus is better than mp3, I only want to find an operating method for me and test it first. I want to find the best method to stream audio with low latency, and less CPU usage, best quality is not important. I have plan to buy Raspberry Pi and use it for streaming with FFMpeg. I tried these two scripts to stream: #!/bin/sh ffmpeg -f alsa -i plughw:1 -acodec libmp3lame -ar 11025 -f rtp rtp://192.168.1.20:8000 #!/bin/sh ffmpeg -f alsa -i plughw:1,0 -acodec libmp3lame -ab 96k -ac 1 -re -f http http://192.168.1.20:8080 The scripts do not produce any error but stops after start immediately. Do you have any ideas? What is the problem? ffmpeg -devices output: Devices: D. = Demuxing supported .E = Muxing supported -- DE alsaALSA audio output E cacacaca (color ASCII art) output device DE fbdev Linux framebuffer D iec61883libiec61883 (new DV1394) A/V input device D jackJACK Audio Connection Kit D kmsgrab KMS screen capture D lavfi Libavfilter virtual input device D libcdio D libdc1394 dc1394 v.2 A/V grab D openal OpenAL audio capture device E opengl OpenGL output DE oss OSS (Open Sound System) playback DE pulse Pulse audio output E sdl,sdl2SDL2 output device DE sndio sndio audio playback DE video4linux2,v4l2 Video4Linux2 output device D x11grab X11 screen capture, using XCB E xv XV (XVideo) output device arecord -l output: List of CAPTURE Hardware Devices card 1: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 2: ALC892 Alt Analog [ALC892 Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 log of the first script: ffmpeg version 4.1.4-1~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 22.100 / 56. 22.100 libavcodec 58. 35.100 / 58. 35.100 libavformat58. 20.100 / 58. 20.100 libavdevice58. 5.100 / 58. 5.100 libavfilter 7. 40.101 / 7. 40.101 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 3.100 / 5. 3.100 libswresample 3. 3.100 / 3. 3.100 libpostproc55. 3.100 / 55. 3.100 log of the second script: ffmpeg version 4.1.4-1~deb10u1 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --prefix=/usr --extra-version='1~deb10u1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi
Re: [FFmpeg-user] Converting pictures to video
On 7/12/2019 11:49 am, Anwuli Okwuashi wrote: > [image2 @ 01d077c4a440] Could find no file with path > 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png' and > index in the range 0-4 I created a 1500x1000 1000-image set: Sequence_000.png -> Sequence_999.png. This loads fine using at the start of the command line: ffmpeg -i Sequence_%03d.png This will also work if the sequence numbers are inside the filename: ffmpeg -i 0191107-154%03d-214.png But if you rename the first 5 files to: _Sequence_000.png ... _Sequence_004.png it will fail because the first file starting with Sequence is now Sequence_005.png. Renaming _Sequence_004.png -> Sequence_004.png will allow the remaining 995 files in the sequence to load. If you can not batch rename the sequence to start from 00 or if it is a non-contiguous list because you deleted some damaged/missing images, you can tell FFMPEG to load a list of filenames. This has to be in a particular 1 or 2-line format (if including image duration). For example, I've deleted the first 83 images, substituted a Replacement.png, and the remaining image names jump by 3. Then I created a list of filenames. To create such a list in Windows, I use create_list.bat, here designed to look in the "Sequence Directory", beneath the current directory ("C:\test directory"), where the images files are situated, create a 2-line name-sorted list where the 2nd line is the duration in secs (1 frame at 25fps = 40ms), and then load this list in the associated text editor so you can delete or move blocks, change durations etc., if required. @echo off SETLOCAL EnableDelayedExpansion if exist mylist.txt del mylist.txt for %%I in ("Sequence Directory\*.png") do (echo file '%%~fI' >> mylist.txt & echo duration 0.04 >> mylist.txt) start /i mylist.txt The first 4 files in the list: file 'C:\test directory\Sequence directory\Replacement.png' duration 0.04 file 'C:\test directory\Sequence directory\Sequence_0083.png' duration 0.04 file 'C:\test directory\Sequence directory\Sequence_0086.png' duration 0.04 file 'C:\test directory\Sequence directory\Sequence_0089.png' duration 0.04 If you decrease the duration below 0.04 @25fps FFMPEG will start to drop frames. Conversely, if you go above 0.04, it will start to replicate frames. To use this list: ffmpeg.exe -f concat -safe 0 -i "C:\test directory\mylist.txt" -maxrate 3k -y "C:\test directory\Sequence directory"\map_video6.mpg Dan. * * ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting pictures to video
On 6/12/19 13:19, Anwuli Okwuashi wrote: I renamed the images and used the full path in the command line but it still doesn't work. See attached the error report and below my code. Thank you, . winexec "C:\FFmpeg\bin\ffmpeg.exe" -report -i "C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png" -b:v 2048k "C:\Users\analyst\Desktop\STATA\projects\animation3\map_video.mpg" If you see your report, you will see this line: [image2 @ 01d077c4a440] Could find no file with path 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png' and index in the range 0-4 That tells you it is not finding the images. Either the path, name, extesion, frame padding or start frame is wrong. Without seeing the directory it is impossible for me to say what of that is wrong. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Converting pictures to video
On Fri, Dec 06, 2019 at 10:19:19 -0600, Anwuli Okwuashi wrote: > I renamed the images and used the full path in the command line but it > still doesn't work. See attached the error report and below my code. > Thank you, > . winexec "C:\FFmpeg\bin\ffmpeg.exe" -report -i > "C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png" -b:v > 2048k "C:\Users\analyst\Desktop\STATA\projects\animation3\map_video.mpg" [...] > [image2 @ 01d077c4a440] Could find no file with path > 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png' and index > in the range 0-4 You apparently have no file C:\Users\analyst\Desktop\STATA\projects\animation3\graph00.png or C:\Users\analyst\Desktop\STATA\projects\animation3\graph01.png or C:\Users\analyst\Desktop\STATA\projects\animation3\graph02.png or C:\Users\analyst\Desktop\STATA\projects\animation3\graph03.png or C:\Users\analyst\Desktop\STATA\projects\animation3\graph04.png Moritz ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] ALAC only 6 channels
That works. Thank you. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] ALAC only 6 channels
Aformat filter will not get you new channels in channel layout, you will need channelmap filter instead. On 12/6/19, Felix Muster via ffmpeg-user wrote: > Thank you for your fast reply. > > I replaced -ac 8 with -filter:a "aformat=channel_layouts=7.1(wide)". > > ffmpeg -i test.mkv -map 0:0 -map 0:1 -c:v copy -c:a alac -filter:a > "aformat=channel_layouts=7.1(wide)" test.m4v > ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg > developers > built with gcc 9.2.1 (GCC) 20191125 > configuration: --enable-gpl --enable-version3 --enable-sdl2 > --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass > --enable-libdav1d --enable-libbluray --enable-libfreetype > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy > --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 > --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp > --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc > --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom > --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va > --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth > --enable-libopenmpt --enable-amf > libavutil 56. 36.101 / 56. 36.101 > libavcodec 58. 64.101 / 58. 64.101 > libavformat58. 35.101 / 58. 35.101 > libavdevice58. 9.101 / 58. 9.101 > libavfilter 7. 67.100 / 7. 67.100 > libswscale 5. 6.100 / 5. 6.100 > libswresample 3. 6.100 / 3. 6.100 > libpostproc55. 6.100 / 55. 6.100 > Guessed Channel Layout for Input Stream #0.3 : 5.1 > Guessed Channel Layout for Input Stream #0.4 : 5.1 > Input #0, matroska,webm, from 'test.mkv': > Metadata: > title : TEST > encoder : libebml v1.3.4 + libmatroska v1.4.5 > creation_time : 2019-12-06T15:10:41.00Z > Duration: 02:29:21.24, start: 0.00, bitrate: 31935 kb/s > Chapter #0:0: start 0.00, end 688.729000 > Metadata: > title : (01)00:00:00:000 > Chapter #0:1: start 688.729000, end 1093.884000 > Metadata: > title : (02)00:11:28:729 > Chapter #0:2: start 1093.884000, end 1643.808000 > Metadata: > title : (03)00:18:13:884 > Chapter #0:3: start 1643.808000, end 2148.813000 > Metadata: > title : (04)00:27:23:808 > Chapter #0:4: start 2148.813000, end 2543.541000 > Metadata: > title : (05)00:35:48:813 > Chapter #0:5: start 2543.541000, end 3252.874000 > Metadata: > title : (06)00:42:23:541 > Chapter #0:6: start 3252.874000, end 3576.739000 > Metadata: > title : (07)00:54:12:874 > Chapter #0:7: start 3576.739000, end 3907.153000 > Metadata: > title : (08)00:59:36:739 > Chapter #0:8: start 3907.153000, end 4253.666000 > Metadata: > title : (09)01:05:07:153 > Chapter #0:9: start 4253.666000, end 4626.955000 > Metadata: > title : (10)01:10:53:666 > Chapter #0:10: start 4626.955000, end 5054.758000 > Metadata: > title : (11)01:17:06:955 > Chapter #0:11: start 5054.758000, end 5468.004000 > Metadata: > title : (12)01:24:14:758 > Chapter #0:12: start 5468.004000, end 6120.405000 > Metadata: > title : (13)01:31:08:004 > Chapter #0:13: start 6120.405000, end 6357.809000 > Metadata: > title : (14)01:42:00:405 > Chapter #0:14: start 6357.809000, end 6784.068000 > Metadata: > title : (15)01:45:57:809 > Chapter #0:15: start 6784.068000, end 7132.917000 > Metadata: > title : (16)01:53:04:068 > Chapter #0:16: start 7132.917000, end 7438.18 > Metadata: > title : (17)01:58:52:917 > Chapter #0:17: start 7438.18, end 7873.282000 > Metadata: > title : (18)02:03:58:180 > Chapter #0:18: start 7873.282000, end 8251.284000 > Metadata: > title : (19)02:11:13:282 > Chapter #0:19: start 8251.284000, end 8960.993000 > Metadata: > title : (20)02:17:31:284 > Chapter #0:20: start 8960.993000, end 8961.238000 > Metadata: > title : (21)02:29:20:993 > Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR > 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) > Metadata: > BPS : 24726789 > BPS-eng : 24726789 > DURATION: 02:29:20.53500 > DURATION-eng: 02:29:20.53500 > NUMBER_OF_FRAMES: 214838 > NUMBER_OF_FRAMES-eng: 214838 > NUMBER_OF_BYTES : 27695658031 > NUMBER_OF_BYTES-eng: 27695658031 > _STATISTICS_WRITING_APP: DV
[FFmpeg-user] Help using find_rect
Hi, i am trying to use the feature find_rect. I have a video with a single colored area which i would like to detect. I have tested different colors (white, black, blue) without success. The box is never replaced in the video. The ffmpeg command i use is: ffmpeg -i input.mp4 -loglevel debug -report -vf find_rect=black-80.pgm,cover_rect=green.jpg:mode=cover output.mp4 For the ppm image I used imagemagick with different options. The last one I used is: convert -size 80x80 xc:black -depth 4 -colorspace gray -define png:color-type=0 -define png:bit-depth=4 input/black-80.pgm Thanks Regards Mike ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] ALAC only 6 channels
Thank you for your fast reply. I replaced -ac 8 with -filter:a "aformat=channel_layouts=7.1(wide)". ffmpeg -i test.mkv -map 0:0 -map 0:1 -c:v copy -c:a alac -filter:a "aformat=channel_layouts=7.1(wide)" test.m4v ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20191125 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 36.101 / 56. 36.101 libavcodec 58. 64.101 / 58. 64.101 libavformat58. 35.101 / 58. 35.101 libavdevice58. 9.101 / 58. 9.101 libavfilter 7. 67.100 / 7. 67.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc55. 6.100 / 55. 6.100 Guessed Channel Layout for Input Stream #0.3 : 5.1 Guessed Channel Layout for Input Stream #0.4 : 5.1 Input #0, matroska,webm, from 'test.mkv': Metadata: title : TEST encoder : libebml v1.3.4 + libmatroska v1.4.5 creation_time : 2019-12-06T15:10:41.00Z Duration: 02:29:21.24, start: 0.00, bitrate: 31935 kb/s Chapter #0:0: start 0.00, end 688.729000 Metadata: title : (01)00:00:00:000 Chapter #0:1: start 688.729000, end 1093.884000 Metadata: title : (02)00:11:28:729 Chapter #0:2: start 1093.884000, end 1643.808000 Metadata: title : (03)00:18:13:884 Chapter #0:3: start 1643.808000, end 2148.813000 Metadata: title : (04)00:27:23:808 Chapter #0:4: start 2148.813000, end 2543.541000 Metadata: title : (05)00:35:48:813 Chapter #0:5: start 2543.541000, end 3252.874000 Metadata: title : (06)00:42:23:541 Chapter #0:6: start 3252.874000, end 3576.739000 Metadata: title : (07)00:54:12:874 Chapter #0:7: start 3576.739000, end 3907.153000 Metadata: title : (08)00:59:36:739 Chapter #0:8: start 3907.153000, end 4253.666000 Metadata: title : (09)01:05:07:153 Chapter #0:9: start 4253.666000, end 4626.955000 Metadata: title : (10)01:10:53:666 Chapter #0:10: start 4626.955000, end 5054.758000 Metadata: title : (11)01:17:06:955 Chapter #0:11: start 5054.758000, end 5468.004000 Metadata: title : (12)01:24:14:758 Chapter #0:12: start 5468.004000, end 6120.405000 Metadata: title : (13)01:31:08:004 Chapter #0:13: start 6120.405000, end 6357.809000 Metadata: title : (14)01:42:00:405 Chapter #0:14: start 6357.809000, end 6784.068000 Metadata: title : (15)01:45:57:809 Chapter #0:15: start 6784.068000, end 7132.917000 Metadata: title : (16)01:53:04:068 Chapter #0:16: start 7132.917000, end 7438.18 Metadata: title : (17)01:58:52:917 Chapter #0:17: start 7438.18, end 7873.282000 Metadata: title : (18)02:03:58:180 Chapter #0:18: start 7873.282000, end 8251.284000 Metadata: title : (19)02:11:13:282 Chapter #0:19: start 8251.284000, end 8960.993000 Metadata: title : (20)02:17:31:284 Chapter #0:20: start 8960.993000, end 8961.238000 Metadata: title : (21)02:29:20:993 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Metadata: BPS : 24726789 BPS-eng : 24726789 DURATION: 02:29:20.53500 DURATION-eng: 02:29:20.53500 NUMBER_OF_FRAMES: 214838 NUMBER_OF_FRAMES-eng: 214838 NUMBER_OF_BYTES : 27695658031 NUMBER_OF_BYTES-eng: 27695658031 _STATISTICS_WRITING_APP: DVDFab 11.0.1.0 _STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0 _STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41 _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: dts (DTS-HD
Re: [FFmpeg-user] ALAC only 6 channels
On 12/6/19, Felix Muster via ffmpeg-user wrote: > Hello > > I'm trying to convert 8 channel DTS-HD MA to 8 channel ALAC but it doesn't > work: > > ffmpeg -i test.mkv -map 0:0 -map 0:1 -c:v copy -c:a alac -ac 8 test.m4v > ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg > developers > built with gcc 9.2.1 (GCC) 20191125 > configuration: --enable-gpl --enable-version3 --enable-sdl2 > --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass > --enable-libdav1d --enable-libbluray --enable-libfreetype > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy > --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 > --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp > --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc > --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom > --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va > --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth > --enable-libopenmpt --enable-amf > libavutil 56. 36.101 / 56. 36.101 > libavcodec 58. 64.101 / 58. 64.101 > libavformat58. 35.101 / 58. 35.101 > libavdevice58. 9.101 / 58. 9.101 > libavfilter 7. 67.100 / 7. 67.100 > libswscale 5. 6.100 / 5. 6.100 > libswresample 3. 6.100 / 3. 6.100 > libpostproc55. 6.100 / 55. 6.100 > Guessed Channel Layout for Input Stream #0.3 : 5.1 > Guessed Channel Layout for Input Stream #0.4 : 5.1 > Input #0, matroska,webm, from 'test.mkv': > Metadata: > title : TEST > encoder : libebml v1.3.4 + libmatroska v1.4.5 > creation_time : 2019-12-06T15:10:41.00Z > Duration: 02:29:21.24, start: 0.00, bitrate: 31935 kb/s > Chapter #0:0: start 0.00, end 688.729000 > Metadata: > title : (01)00:00:00:000 > Chapter #0:1: start 688.729000, end 1093.884000 > Metadata: > title : (02)00:11:28:729 > Chapter #0:2: start 1093.884000, end 1643.808000 > Metadata: > title : (03)00:18:13:884 > Chapter #0:3: start 1643.808000, end 2148.813000 > Metadata: > title : (04)00:27:23:808 > Chapter #0:4: start 2148.813000, end 2543.541000 > Metadata: > title : (05)00:35:48:813 > Chapter #0:5: start 2543.541000, end 3252.874000 > Metadata: > title : (06)00:42:23:541 > Chapter #0:6: start 3252.874000, end 3576.739000 > Metadata: > title : (07)00:54:12:874 > Chapter #0:7: start 3576.739000, end 3907.153000 > Metadata: > title : (08)00:59:36:739 > Chapter #0:8: start 3907.153000, end 4253.666000 > Metadata: > title : (09)01:05:07:153 > Chapter #0:9: start 4253.666000, end 4626.955000 > Metadata: > title : (10)01:10:53:666 > Chapter #0:10: start 4626.955000, end 5054.758000 > Metadata: > title : (11)01:17:06:955 > Chapter #0:11: start 5054.758000, end 5468.004000 > Metadata: > title : (12)01:24:14:758 > Chapter #0:12: start 5468.004000, end 6120.405000 > Metadata: > title : (13)01:31:08:004 > Chapter #0:13: start 6120.405000, end 6357.809000 > Metadata: > title : (14)01:42:00:405 > Chapter #0:14: start 6357.809000, end 6784.068000 > Metadata: > title : (15)01:45:57:809 > Chapter #0:15: start 6784.068000, end 7132.917000 > Metadata: > title : (16)01:53:04:068 > Chapter #0:16: start 7132.917000, end 7438.18 > Metadata: > title : (17)01:58:52:917 > Chapter #0:17: start 7438.18, end 7873.282000 > Metadata: > title : (18)02:03:58:180 > Chapter #0:18: start 7873.282000, end 8251.284000 > Metadata: > title : (19)02:11:13:282 > Chapter #0:19: start 8251.284000, end 8960.993000 > Metadata: > title : (20)02:17:31:284 > Chapter #0:20: start 8960.993000, end 8961.238000 > Metadata: > title : (21)02:29:20:993 > Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR > 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) > Metadata: > BPS : 24726789 > BPS-eng : 24726789 > DURATION: 02:29:20.53500 > DURATION-eng: 02:29:20.53500 > NUMBER_OF_FRAMES: 214838 > NUMBER_OF_FRAMES-eng: 214838 > NUMBER_OF_BYTES : 27695658031 > NUMBER_OF_BYTES-eng: 27695658031 > _STATISTICS_WRITING_APP: DVDFab 11.0.1.0 > _STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0 > _STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41 > _STATISTICS_WRITING_DATE_U
[FFmpeg-user] reference FFmpeg in a peer-reviewed manuscript
Hello, I cannot find any information as to how to reference FFmpeg (in a manuscript), other than using a generic website URL reference. Does anyone know of a preferred reference or have seen a reference used for FFmpeg in some literature? Cheers, Dylan Gomes ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] ALAC only 6 channels
Hello I'm trying to convert 8 channel DTS-HD MA to 8 channel ALAC but it doesn't work: ffmpeg -i test.mkv -map 0:0 -map 0:1 -c:v copy -c:a alac -ac 8 test.m4v ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20191125 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 36.101 / 56. 36.101 libavcodec 58. 64.101 / 58. 64.101 libavformat58. 35.101 / 58. 35.101 libavdevice58. 9.101 / 58. 9.101 libavfilter 7. 67.100 / 7. 67.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc55. 6.100 / 55. 6.100 Guessed Channel Layout for Input Stream #0.3 : 5.1 Guessed Channel Layout for Input Stream #0.4 : 5.1 Input #0, matroska,webm, from 'test.mkv': Metadata: title : TEST encoder : libebml v1.3.4 + libmatroska v1.4.5 creation_time : 2019-12-06T15:10:41.00Z Duration: 02:29:21.24, start: 0.00, bitrate: 31935 kb/s Chapter #0:0: start 0.00, end 688.729000 Metadata: title : (01)00:00:00:000 Chapter #0:1: start 688.729000, end 1093.884000 Metadata: title : (02)00:11:28:729 Chapter #0:2: start 1093.884000, end 1643.808000 Metadata: title : (03)00:18:13:884 Chapter #0:3: start 1643.808000, end 2148.813000 Metadata: title : (04)00:27:23:808 Chapter #0:4: start 2148.813000, end 2543.541000 Metadata: title : (05)00:35:48:813 Chapter #0:5: start 2543.541000, end 3252.874000 Metadata: title : (06)00:42:23:541 Chapter #0:6: start 3252.874000, end 3576.739000 Metadata: title : (07)00:54:12:874 Chapter #0:7: start 3576.739000, end 3907.153000 Metadata: title : (08)00:59:36:739 Chapter #0:8: start 3907.153000, end 4253.666000 Metadata: title : (09)01:05:07:153 Chapter #0:9: start 4253.666000, end 4626.955000 Metadata: title : (10)01:10:53:666 Chapter #0:10: start 4626.955000, end 5054.758000 Metadata: title : (11)01:17:06:955 Chapter #0:11: start 5054.758000, end 5468.004000 Metadata: title : (12)01:24:14:758 Chapter #0:12: start 5468.004000, end 6120.405000 Metadata: title : (13)01:31:08:004 Chapter #0:13: start 6120.405000, end 6357.809000 Metadata: title : (14)01:42:00:405 Chapter #0:14: start 6357.809000, end 6784.068000 Metadata: title : (15)01:45:57:809 Chapter #0:15: start 6784.068000, end 7132.917000 Metadata: title : (16)01:53:04:068 Chapter #0:16: start 7132.917000, end 7438.18 Metadata: title : (17)01:58:52:917 Chapter #0:17: start 7438.18, end 7873.282000 Metadata: title : (18)02:03:58:180 Chapter #0:18: start 7873.282000, end 8251.284000 Metadata: title : (19)02:11:13:282 Chapter #0:19: start 8251.284000, end 8960.993000 Metadata: title : (20)02:17:31:284 Chapter #0:20: start 8960.993000, end 8961.238000 Metadata: title : (21)02:29:20:993 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Metadata: BPS : 24726789 BPS-eng : 24726789 DURATION: 02:29:20.53500 DURATION-eng: 02:29:20.53500 NUMBER_OF_FRAMES: 214838 NUMBER_OF_FRAMES-eng: 214838 NUMBER_OF_BYTES : 27695658031 NUMBER_OF_BYTES-eng: 27695658031 _STATISTICS_WRITING_APP: DVDFab 11.0.1.0 _STATISTICS_WRITING_APP-eng: DVDFab 11.0.1.0 _STATISTICS_WRITING_DATE_UTC: 2019-12-06 15:10:41 _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-06 15:10:41 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default) Metadata: BP
Re: [FFmpeg-user] Converting pictures to video
I renamed the images and used the full path in the command line but it still doesn't work. See attached the error report and below my code. Thank you, . winexec "C:\FFmpeg\bin\ffmpeg.exe" -report -i "C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png" -b:v 2048k "C:\Users\analyst\Desktop\STATA\projects\animation3\map_video.mpg" On Thu, 5 Dec 2019 at 19:32, gga wrote: > > On 5/12/19 21:07, Anwuli Okwuashi wrote: > > Thank you, > > > > Yes, the first command is the stata blog extrat, the second is mine. > > Previous attempts had the value for the -b:v but still did not work. > > I have 20 png files created using stata, I just need to convert them to > > video/animation. With that, I'll appreciate any help. > > ffmpeg prints out a lot of information upon running, which can help in > debugging your problem. If stata does not print any output (it means it > is swallowing the stdout/stderr output), I suggest you first try the > command from a command line prompt. If you don't know what that is, > search for cmd.exe. The variables are specified with set commands and > referred with %var% syntax. With that, you should be able to run ffmpeg > from cmd.exe and see the output for it. Send the output and command to > the mailing list. > > > ___ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". ffmpeg started on 2019-12-06 at 10:08:51 Report written to "ffmpeg-20191206-100851.log" Log level: 48 Command line: "C:\\FFmpeg\\bin\\ffmpeg.exe" -report -i "C:\\Users\\analyst\\Desktop\\STATA\\projects\\animation3\\graph%02d.png" -b:v 2048k "C:\\Users\\analyst\\Desktop\\STATA\\projects\\animation3\\map_video.mpg" ffmpeg version git-2019-12-06-b66a800 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20191125 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 36.101 / 56. 36.101 libavcodec 58. 64.101 / 58. 64.101 libavformat58. 35.101 / 58. 35.101 libavdevice58. 9.101 / 58. 9.101 libavfilter 7. 67.100 / 7. 67.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc55. 6.100 / 55. 6.100 Splitting the commandline. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-i' ... matched as input url with argument 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png'. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '2048k'. Reading option 'C:\Users\analyst\Desktop\STATA\projects\animation3\map_video.mpg' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option report (generate a report) with argument 1. Successfully parsed a group of options. Parsing a group of options: input url C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png. Successfully parsed a group of options. Opening an input file: C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png. [image2 @ 01d077c4a440] Could find no file with path 'C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png' and index in the range 0-4 C:\Users\analyst\Desktop\STATA\projects\animation3\graph%02d.png: No such file or directory ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".