Re: [FFmpeg-user] trouble installing ffmpeg
On 23/07/2020 7:18 am, Jake McGaker wrote: > "'C:\ffmpeg' is not recognized as an internal or > external command," This means that you are trying to run ffmpeg.exe from the the root directory i.e. "c:\". What you need to do is put ffmpeg.exe (and any associated AV utility programs) in a directory that's included in the directory list stored in in Windows PATH environmental variable. For example, when I type path PATH at the cmd prompt to see what directories are listed in my Windows PATH environmental variable: PATH=C:\Mingw\media-autobuild_suite-master\local64\bin-video;C:\Mingw\media-autobuild_suite-master\local64\bin-audio;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86);C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\GNU\GnuPG;C:\Program Files (x86)\WinMerge;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\QuickTime\QTSystem\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files\nodejs\;C:\Program Files\gnuplot\bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\dotnet\;C:\Users\Dan\AppData\Local\Microsoft\WindowsApps;d:\YouTube_dl;C:\Users\Dan\AppData\Roaming\npm;C:\Program Files (x86)\AutoIt3;C:\Program Files (x86)\AutoIt3\Aut2Exe;c:\utilities;C:\Program Files\VideoLAN\VLC;C:\Program Files\smartmontools\bin Because I'm using Autobuild to compile FFMPEG under Windows, I've got "C:\Mingw\media-autobuild_suite-master\local64\bin-video" in this list because that's where Autobuild creates ffmpeg.exe. Otherwise I'd have it stored in "C:\utilities" which is where I place a host of small useful programs. Say I type FFMPEG and press Enter, the Windows command processor looks for ffmpeg.com, ffmpeg.exe, ffmpeg.cmd, ffmpeg.bat, and I think ffmpeg.vbs (Visual BASIC program). It looks for these programs first in the current directory, then in my PATH list of directories. To get instructions on how to alter of add to the list of in your PATH: * In Settings, in the search box, type PATH, and click on "Edit the system environmental variables". * Click on "Environmental Variables" button. * In the"System variables" box, select the "path" entry, and then click on the "Edit" button. * Click on the "New" button and add the directory where ffmpeg.exe is situated e.g. C:\Utilities See here for a screengrab: https://dll.dropbox.com/s/622mvi71vw798vx/Editing_path_list.jpg Note: in widows File Explorer you can create a directory ("New folder" option) and then copy or move ffmpeg.exe to it. To get to a cmd prompt in this specific directory, navigate to it so it's showing in the File Explorer's address bar. Then type in this box "cmd" and press Enter. 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] trouble installing ffmpeg
oh it's windows 10 64bit and I got the download from https://ffmpeg.zeranoe.com/builds/ Idk the last two things you asked On Wed, Jul 22, 2020 at 5:18 PM Jake McGaker wrote: > Ok, don't totally know what you're saying. I have an mkv file that I need > to convert to an mp4 and I was told on reddit that using ffmpeg is the best > way to do that. I downloaded version 20200721 for windows 10 64 bit static. > I'll just say what the In the tutorial it instructed me to then move the > files from the bin, to a folder I created on my hard drive. Then I was > instructed to edit the system environment variables to add the folder I had > just moved the contents of the download to. Then you are supposed to type > the location of the folder, copy and paste it into the cmd prompt, but I > keep getting the error, "'C:\ffmpeg' is not recognized as an internal or > external command," Apparently following this tutorial should've helped me > download/install this program. Please be patient with me, this is the first > I've heard of the program and I really need to know how to use it for > something I'm working on. > operable program or batch file. > > On Wed, Jul 22, 2020 at 4:59 PM Carl Zwanzig wrote: > >> On 7/22/2020 1:53 PM, Jake McGaker wrote: >> > and when I get to the >> > step after I edit the environmental variables and I type in the cmd >> prompt, >> > I get an error saying ffmpeg didn't install. >> >> Almost no one here is going to watch the video, please just explain >> what's >> going on and include the command and output of what you're doing in the >> email. (And do not top-post when replying.) >> >> Which OS? >> Where did you get ffmpeg? >> Are you trying to -build- it or install pre-build binaries? >> What commands? >> >> z! >> ___ >> 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 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] trouble installing ffmpeg
Ok, don't totally know what you're saying. I have an mkv file that I need to convert to an mp4 and I was told on reddit that using ffmpeg is the best way to do that. I downloaded version 20200721 for windows 10 64 bit static. I'll just say what the In the tutorial it instructed me to then move the files from the bin, to a folder I created on my hard drive. Then I was instructed to edit the system environment variables to add the folder I had just moved the contents of the download to. Then you are supposed to type the location of the folder, copy and paste it into the cmd prompt, but I keep getting the error, "'C:\ffmpeg' is not recognized as an internal or external command," Apparently following this tutorial should've helped me download/install this program. Please be patient with me, this is the first I've heard of the program and I really need to know how to use it for something I'm working on. operable program or batch file. On Wed, Jul 22, 2020 at 4:59 PM Carl Zwanzig wrote: > On 7/22/2020 1:53 PM, Jake McGaker wrote: > > and when I get to the > > step after I edit the environmental variables and I type in the cmd > prompt, > > I get an error saying ffmpeg didn't install. > > Almost no one here is going to watch the video, please just explain what's > going on and include the command and output of what you're doing in the > email. (And do not top-post when replying.) > > Which OS? > Where did you get ffmpeg? > Are you trying to -build- it or install pre-build binaries? > What commands? > > z! > ___ > 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 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] trouble installing ffmpeg
On 7/22/2020 1:53 PM, Jake McGaker wrote: and when I get to the step after I edit the environmental variables and I type in the cmd prompt, I get an error saying ffmpeg didn't install. Almost no one here is going to watch the video, please just explain what's going on and include the command and output of what you're doing in the email. (And do not top-post when replying.) Which OS? Where did you get ffmpeg? Are you trying to -build- it or install pre-build binaries? What commands? z! ___ 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] Webcam capture
Rodolfo Medina writes: > Leonardo via ffmpeg-user writes: > >> Since you have an AMD cpu/apu, one last resort that I can think of is to >> capture webcam with hardware acceleration. >> >> > > > Nothing, the problem remains... it gets stuck for some seconds... The problem also occurs with another computer of mine, Intel, old: $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz stepping: 2 microcode : 0x212 cpu MHz : 1210.046 cache size : 512 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fdiv_bug: no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm bugs: bogomips: 3192.03 clflush size: 64 cache_alignment : 64 address sizes : 32 bits physical, 32 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz stepping: 2 microcode : 0x212 cpu MHz : 1159.421 cache size : 512 KB physical id : 0 siblings: 2 core id : 0 cpu cores : 1 apicid : 1 initial apicid : 1 fdiv_bug: no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm bugs: bogomips: 3192.03 clflush size: 64 cache_alignment : 64 address sizes : 32 bits physical, 32 bits virtual power management: $ ffmpeg -f alsa -i hw:0,0 -f video4linux2 -s 640x480 -i /dev/video0 out.mpg 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/i386-linux-gnu --incdir=/usr/include/i386-linux-gnu --arch=i386 --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 --ignore-tests='hapenc-hap-none,hapenc-hapa-none,hapenc-hapq-none' --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 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, alsa, from 'hw:0,0': Duration: N/A, start: 1595450904.939058, bitrate: 1536 kb/s Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 556.262393, bitrate: 147456 kb/s Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc File 'out.mpg' already exists. Overwrite ? [y/N] y Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> mpeg1video (native)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> mp2 (native)) Press [q] to stop, [?] for help [alsa @ 0x1464ac0] ALSA buffer xrun. [mpeg @ 0x147a040] VBV buffer size not set, using default size of 230KB If you want the mpeg file to be compliant to some specification Like DVD, VCD or others, make sure you set the correct buffer size Output #0, mpeg, to 'out.
[FFmpeg-user] trouble installing ffmpeg
I was following this tutorial on youtube https://www.youtube.com/watch?v=a_KqycyErd8&t=163s and when I get to the step after I edit the environmental variables and I type in the cmd prompt, I get an error saying ffmpeg didn't install. ___ 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] Webcam capture
Leonardo via ffmpeg-user writes: > Since you have an AMD cpu/apu, one last resort that I can think of is to > capture webcam with hardware acceleration. > > > Extracted from https://trac.ffmpeg.org/wiki/Hardware/VAAPI > > Also, you need to verify what "-vaapi_device" is the correct one for your > machine. > The wiki has much more information. > > > "Camera Capture > > > Capture a raw stream from a V4L2 camera device and encode it as H.264: > > > $ ffmpeg -vaapi_device /dev/dri/renderD128 -f v4l2 -video_size 1920x1080 -i > /dev/video0 -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mp4 > > > ... " Nothing, the problem remains... it gets stuck for some seconds... rodolfo ___ 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] Webcam capture
Since you have an AMD cpu/apu, one last resort that I can think of is to capture webcam with hardware acceleration. Extracted from https://trac.ffmpeg.org/wiki/Hardware/VAAPI Also, you need to verify what "-vaapi_device" is the correct one for your machine. The wiki has much more information. "Camera Capture Capture a raw stream from a V4L2 camera device and encode it as H.264: $ ffmpeg -vaapi_device /dev/dri/renderD128 -f v4l2 -video_size 1920x1080 -i /dev/video0 -vf 'format=nv12,hwupload' -c:v h264_vaapi output.mp4 ... " Kind regards, Leonardo ___ 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] Webcam capture
Leonardo via ffmpeg-user writes: > What is the output of > > $ cat /proc/cpuinfo > > ? Here it is: processor : 0 vendor_id : AuthenticAMD cpu family : 22 model : 48 model name : AMD A6-7310 APU with AMD Radeon R4 Graphics stepping: 1 microcode : 0x7030105 cpu MHz : 998.353 cache size : 2048 KB physical id : 0 siblings: 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt topoext perfctr_nb bpext ptsc perfctr_llc cpb hw_pstate ssbd vmmcall bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale flushbyasid decodeassists pausefilter pfthreshold overflow_recov bugs: fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass bogomips: 3992.78 TLB size: 1024 4K pages clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb acc_power [13] processor : 1 vendor_id : AuthenticAMD cpu family : 22 model : 48 model name : AMD A6-7310 APU with AMD Radeon R4 Graphics stepping: 1 microcode : 0x7030105 cpu MHz : 1003.070 cache size : 2048 KB physical id : 0 siblings: 4 core id : 1 cpu cores : 4 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt topoext perfctr_nb bpext ptsc perfctr_llc cpb hw_pstate ssbd vmmcall bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale flushbyasid decodeassists pausefilter pfthreshold overflow_recov bugs: fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass bogomips: 3992.78 TLB size: 1024 4K pages clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb acc_power [13] processor : 2 vendor_id : AuthenticAMD cpu family : 22 model : 48 model name : AMD A6-7310 APU with AMD Radeon R4 Graphics stepping: 1 microcode : 0x7030105 cpu MHz : 998.310 cache size : 2048 KB physical id : 0 siblings: 4 core id : 2 cpu cores : 4 apicid : 2 initial apicid : 2 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt topoext perfctr_nb bpext ptsc perfctr_llc cpb hw_pstate ssbd vmmcall bmi1 xsaveopt arat npt lbrv svm_lock nrip_save tsc_scale flushbyasid decodeassists pausefilter pfthreshold overflow_recov bugs: fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass bogomips: 3992.78 TLB size: 1024 4K pages clflush size: 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts ttp tm 100mhzsteps hwpstate cpb acc_power [13] processor : 3 vendor_id : AuthenticAMD cpu family : 22 model : 48 model name : AMD A6-7310 APU with AMD Radeon R4 Graphics stepping: 1 microcode : 0x7030105 cpu MHz : 998.258 cache size : 2048 KB physical id : 0 siblings: 4 core id : 3 cpu cores : 4 apicid : 3 initial apicid : 3 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid
Re: [FFmpeg-user] Webcam capture
What is the output of $ cat /proc/cpuinfo ? ___ 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] Webcam capture
Leonardo via ffmpeg-user writes: > Hello, > > as an alternative, you can display your webcam at screen with mplayer > > $ mplayer tv:// -tv > driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 > -noborder -geometry 640x480+0+0 > > and record your screen+audio with ffmpeg (here I'm using pulseaudio because of > the "noise-reduction") > > > $ ffmpeg -thread_queue_size 1024 -f pulse -sample_rate 44100 -i default > -video_size 640x480 -probesize 10M -framerate 30 -thread_queue_size 512 -f > x11grab -i :0.0 -c:a aac -b:a 128k -c:v libx264 -vf "format=yuv420p" -crf 0 > -preset ultrafast output.mp4 > > You can use > > $ uvcdynctrl -f > > to identify which resolution/fps your webcam supports and edit commands above > to your needs. Thank you, Leonardo... but the problem remains: when I watch the resulting video, it freezes for many seconds at start... $ uvcdynctrl -f Listing available frame formats for device video0: Pixel format: YUYV (YUYV 4:2:2; MIME type: video/x-raw-yuv) Frame size: 640x480 Frame rates: 30, 30 Frame size: 320x240 Frame rates: 30 Frame size: 160x120 Frame rates: 30 Frame size: 640x480 Frame rates: 30, 30 $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 -noborder -geometry 640x480+0+0 MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team do_connect: could not connect to socket connect: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski comment: first try, more to come ;-) v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead. Selected device: BZ IR: BZ IR Capabilities: video capture streaming supported norms: inputs: 0 = Camera 1; Current input: 0 Current format: YUYV tv.c: norm_from_string(pal): Bogus norm parameter, setting default. v4l2: ioctl enum norm failed: Inappropriate ioctl for device Error: Cannot set norm! Selected input hasn't got a tuner! v4l2: ioctl set mute failed: Invalid argument == Opening video decoder: [raw] RAW Uncompressed Video Movie-Aspect is undefined - no prescaling applied. VO: [vdpau] 640x480 => 640x480 Packed YUY2 Selected video codec: [rawyuy2] vfm: raw (RAW YUY2) == Audio: no sound Starting playback... V: 0.0 154/154 ??% ??% ??,?% 0 0 $ ffmpeg -thread_queue_size 1024 -f pulse -sample_rate 44100 -i default -video_size 640x480 -probesize 10M -framerate 30 -thread_queue_size 512 -f x11grab -i :0.0 -c:a aac -b:a 128k -c:v libx264 -vf "format=yuv420p" -crf 0 -preset ultrafast output.mp4 ffmpeg version 4.1.4-1+b2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9 (Debian 9.2.1-1) configuration: --prefix=/usr --extra-version=1+b2 --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 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, pulse, from 'default': Duration: N/A, start: 1595442907.483712, bitrate: 1411 kb/s Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Input #1, x11grab, from ':0.0': Duration: N/A, start: 1595442908.796004, bitrate: N/A Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 640x480, 30 fps, 30 tbr, 1000k tbn, 1000k tbc File 'output.mp4' already exists. Overwrite
Re: [FFmpeg-user] Webcam capture
Hello, as an alternative, you can display your webcam at screen with mplayer $ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 -noborder -geometry 640x480+0+0 and record your screen+audio with ffmpeg (here I'm using pulseaudio because of the "noise-reduction") $ ffmpeg -thread_queue_size 1024 -f pulse -sample_rate 44100 -i default -video_size 640x480 -probesize 10M -framerate 30 -thread_queue_size 512 -f x11grab -i :0.0 -c:a aac -b:a 128k -c:v libx264 -vf "format=yuv420p" -crf 0 -preset ultrafast output.mp4 You can use $ uvcdynctrl -f to identify which resolution/fps your webcam supports and edit commands above to your needs. Kind regards, Leonardo ___ 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] Webcam capture
Carl Zwanzig writes: > On 7/22/2020 6:22 AM, Rodolfo Medina wrote: >> Same problem also with simply: >> >> $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 out.mpg >> >> , and audio completely out of sync... > > And complete command output is still missing (it's always helpful) > > Since this works-- > mencoder tv:// -tv driver=v4l2:width=640:height=480 [...] > > The computer you're using may not have enough resources to process those large > frames. If the native resolution of the devices is 3200x2400, that's > 23MB/frame, and encoding often needs to keep a few in memory at once. As you > tried in mencover, dial down the capture size in ffmpeg and see if that work. Same problem also with: -s 640x480 $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -s 640x480 -i /dev/video0 out.mpg > log ffmpeg version 4.1.4-1+b2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9 (Debian 9.2.1-1) configuration: --prefix=/usr --extra-version=1+b2 --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 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, alsa, from 'hw:1,0': Duration: N/A, start: 1595439555.172771, bitrate: 1536 kb/s Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Input #1, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 23292.147778, bitrate: 147456 kb/s Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc File 'out.mpg' already exists. Overwrite ? [y/N] y Stream mapping: Stream #1:0 -> #0:0 (rawvideo (native) -> mpeg1video (native)) Stream #0:0 -> #0:1 (pcm_s16le (native) -> mp2 (native)) Press [q] to stop, [?] for help [alsa @ 0x55b787639980] ALSA buffer xrun. [mpeg @ 0x55b787656ec0] VBV buffer size not set, using default size of 230KB If you want the mpeg file to be compliant to some specification Like DVD, VCD or others, make sure you set the correct buffer size Output #0, mpeg, to 'out.mpg': Metadata: encoder : Lavf58.20.100 Stream #0:0: Video: mpeg1video, yuv420p(progressive), 640x480, q=2-31, 200 kb/s, 30 fps, 90k tbn, 30 tbc Metadata: encoder : Lavc58.35.100 mpeg1video Side data: cpb: bitrate max/min/avg: 0/0/20 buffer size: 0 vbv_delay: -1 Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s Metadata: encoder : Lavc58.35.100 mp2 [video4linux2,v4l2 @ 0x55b787653d00] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) [alsa @ 0x55b787639980] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8) frame= 991 fps= 32 q=7.5 size=2382kB time=00:00:32.96 bitrate= 592.0kbits/s dup=200 drop=0 speed=1.07x thank you.., rodolfo ___ 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] Webcam capture
On 7/22/2020 6:22 AM, Rodolfo Medina wrote: Same problem also with simply: $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 out.mpg , and audio completely out of sync... And complete command output is still missing (it's always helpful) Since this works-- mencoder tv:// -tv driver=v4l2:width=640:height=480 [...] The computer you're using may not have enough resources to process those large frames. If the native resolution of the devices is 3200x2400, that's 23MB/frame, and encoding often needs to keep a few in memory at once. As you tried in mencover, dial down the capture size in ffmpeg and see if that work. z! ___ 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] How i can add to my stream browser source (chat, donation alerts, follow alerts etc, like in obs) and create delayed stream (like in obs) with complex filter ?
Please don't top-post on this list stream browser source (chat, donation alerts, follow alerts etc, like in What does that mean? Is that a single graphic overlay or something else? create delayed stream (like in obs) with complex filter? I think you'll find that in the list archive. On 7/22/2020 6:35 AM, KoreanFanOfficial wrote: I cant use obs-studio and other forks, cuz obs have bug with mouse speed (mouse speed up x4 and its unplayable, but settings [xorg, DE, etc] for mouse even didnt change), this happens on linux and on windows. So no reason to use obs and other forks until they fix this issue. How does mouse-speed affect the streaming? I can say that when I use OBS on windows, the mouse isn't an issue. Are you sure it's an OBS problem and not some other interaction on your systems? (If it was OBS, I'd expect there to be a bug filed on that already and a fix in progress. Did you check on the OBS forums?) Depending on how complex the problem really is, and you really need to explain it more thoroughly, doing that with ffmpeg might require you to read a lot of the documentation and do a lot of experimenting. Or, you could figure out the mouse problem instead and use OBS. z! ___ 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] How i can add to my stream browser source (chat, donation alerts, follow alerts etc, like in obs) and create delayed stream (like in obs) with complex filter ?
I cant use obs-studio and other forks, cuz obs have bug with mouse speed (mouse speed up x4 and its unplayable, but settings [xorg, DE, etc] for mouse even didnt change), this happens on linux and on windows. So no reason to use obs and other forks until they fix this issue. ср, 22 июл. 2020 г. в 13:49, : > > I think that www.obs.live can do this with a better user-experience. > -- > Enviado do aplicativo myMail para Android quarta-feira, 22 julho 2020, > 05:37AM -03:00 de KoreanFanOfficial koreanfanoffic...@gmail.com : > > >How i can add to my stream browser source (chat, donation alerts, follow > >alerts etc, like in obs) and create delayed stream (like in obs) with > >complex filter? > >___ > >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 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 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] Webcam capture
Paul B Mahol writes: > On 7/20/20, Rodolfo Medina wrote: >> Hi all. >> >> When capturing video from webcam, with: >> >> $ ffmpeg -f video4linux2 -s 3200x2400 -i /dev/video0 -vb 20M out.mpg > > 3200x2400 is very big resolution Same problem also with simply: $ ffmpeg -f alsa -i hw:1,0 -f video4linux2 -i /dev/video0 out.mpg , and audio completely out of sync... Thanks, Rodolfo ___ 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] How i can add to my stream browser source (chat, donation alerts, follow alerts etc, like in obs) and create delayed stream (like in obs) with complex filter ?
I think that www.obs.live can do this with a better user-experience. -- Enviado do aplicativo myMail para Android quarta-feira, 22 julho 2020, 05:37AM -03:00 de KoreanFanOfficial koreanfanoffic...@gmail.com : >How i can add to my stream browser source (chat, donation alerts, follow >alerts etc, like in obs) and create delayed stream (like in obs) with >complex filter? >___ >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 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] How i can add to my stream browser source (chat, donation alerts, follow alerts etc, like in obs) and create delayed stream (like in obs) with complex filter ?
How i can add to my stream browser source (chat, donation alerts, follow alerts etc, like in obs) and create delayed stream (like in obs) with complex filter? ___ 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] ERROR: libass not found using pkg-config
Ok..now its workingThank you very much Mr Harald. Sent from Yahoo Mail for iPhone On Monday, July 20, 2020, 12:02 AM, Reindl Harald wrote: Am 19.07.20 um 17:59 schrieb shahrin zen via ffmpeg-user: > Hi, I am having error during compiling ffmpeg. > > ERROR: libass not found using pkg-config install the devel-package or don't use --enable-libass doesn't sound that logical? ___ 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 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".