[FFmpeg-user] rtmpe support with ffmpeg's built-in rtmp
Hello ffmpeg experts, I found that ffmpeg's built-in rtmp does not supports rtmpe protocol. I executed the following command: $ ffmpeg -protocols ffmpeg version N-86942-geabeb9093a Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 8.1.0 (clang-802.0.42) configuration: --prefix=/Volumes/ffmpeg_compile --pkg-config-flags=--static --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree --enable-libmp3lame --enable-libfdk-aac --enable-libvo-amrwbenc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --enable-libspeex --enable-libopus --enable-libgsm --enable-libtwolame --enable-libsoxr --enable-libwavpack --enable-libmodplug --enable-libopenjpeg --enable-libwebp --enable-libtheora --enable-libx264 --enable-libopenh264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libxavs --enable-libfreetype --enable-fontconfig --enable-libfribidi --enable-libass --enable-libbluray --enable-libvidstab --enable-libsnappy --enable-libzmq --enable-libzvbi libavutil 55. 69.101 / 55. 69.101 libavcodec 57.102.100 / 57.102.100 libavformat57. 76.100 / 57. 76.100 libavdevice57. 7.100 / 57. 7.100 libavfilter 6. 98.100 / 6. 98.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc54. 6.100 / 54. 6.100 Supported file protocols: [snip] rtmp rtmps rtmpt rtmpts rtp srtp [snip] Is there any way to support rtmpe protocol with ffmpeg's built-in rtmp? Oh I'm on macOS. So my ffmpeg uses Secure Transport for macOS... Best Regards, // Miya aka. TougenRoushi smime.p7s Description: S/MIME cryptographic signature ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Speeding up a script.
Hi there, Paul. How would I be able to check which filter uses the most processing power? I am encoding in hardware with my video card, so it's only the decoding and filters that are eating up CPU. What I am seeing is that only one CPU shows any load. I have a suspicion that it is the remap filter that eats the most CPU, but I am running two remaps in parrallel, so I would expect to see at least two CPU showing load. Kind regards, -Evert Vorster- On 6 August 2017 at 21:28, Paul B Maholwrote: > On 8/6/17, Evert Vorster wrote: > > Hi there. > > I am using a quite convoluted filter in ffmpeg. > > - > > #!/bin/bash > > #This will split, defish, blend and re-assemble Samsung Gear 360 video > > map_dir="/data/Projects/RemapFilter" > > ffmpeg -y -i "$1" \ > > -i $map_dir/lx.pgm -i $map_dir/ly.pgm -loop 1 \ > > -i $map_dir/Alpha-Map.png \ > > -i $map_dir/rx.pgm -i $map_dir/ry.pgm \ > > -c:v hevc_nvenc -rc constqp -qp 26 -cq 26 \ > > -filter_complex \ > > "[0:v]eq=contrast=0.8:brightness=-0.01:gamma=0.7:saturation=0.8[bright]; > \ > > [bright]split=2[in1][in2]; \ > > [in1]crop=in_w/2:in_h:0:in_h[l_crop];\ > > [in2]crop=in_w/2:in_h:in_w/2:in_h[r_crop]; \ > > [3]alphaextract[alf]; \ > > [l_crop]vignette=angle=PI/4.6:mode=backward[l_vignette]; \ > > [l_vignette][1][2]remap[l_remap]; \ > > [r_crop]vignette=angle=PI/4.8:mode=backward[r_vignette]; \ > > [r_vignette][4][5]remap[r_remap]; \ > > [l_remap]crop=in_w:1920:0:(in_h-1920)/2[l_rm_crop]; \ > > [r_remap]crop=in_w:1920:0:(in_h-1920)/2[r_rm_crop]; \ > > [l_rm_crop][alf]alphamerge[l_rm_crop_a]; \ > > [l_rm_crop_a]split=2[l_rm_crop1][l_rm_crop2]; \ > > [l_rm_crop1]crop=in_w/2:in_h:0:0[l_rm_crop_l]; \ > > [l_rm_crop2]crop=in_w/2:in_h:in_w/2:0[l_rm_crop_r]; \ > > [0:v][r_rm_crop]overlay=(1920-(2028/2)):0[ov1]; \ > > [ov1][l_rm_crop_l]overlay=((1920+2028/2)-(2028-1920)):0[ov2]; \ > > [ov2][l_rm_crop_r]overlay=0:0[out]" \ > > -map [out] -map 0:a "$1_Remapped.mp4" > > - > > > > When this runs, only one of my CPU is showing any activity. > > Is there a way of telling ffmpeg to process these steps in the filter in > > parallel? > > Have you checked which filter takes most of processing times? > > > > > Kind regards, > > Evert Vorster > > > > Isometrix Acquistion Superchief > > ___ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > http://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 > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". -- Evert Vorster Isometrix Acquistion Superchief ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] Documentation for Ffmpeg remap filter
Thanks, Paul. I'll give it a test. On 6 August 2017 at 21:26, Paul B Maholwrote: > On 8/6/17, Evert Vorster wrote: > > Hi there. > > > > I have been able to use ffmpeg to convert dual fisheye samsung gear 360 > > footage to equirectangular footage with ffmpeg. > > > > The example program given in the manual does an OK job of what the remap > > filter is capable of, however to really get the best from it the .pgm > maps > > needs to be created with something that takes lens chataristics into > > account. > > > > Passing the -c parameter to Panotool's nona generates the required > > translation maps in .tif format, and then it's a doddle to convert to > .pgm > > with ImageMagick. > > FFmpeg can read tif format just fine last time I checked. > > > > > Is there a way to update the manual a little for other people who wants > to > > folow in my footsteps? > > > > For the curious, here is the contents of the script that I use. > > > -- > > #!/bin/bash > > #This will split, defish, blend and re-assemble Samsung Gear 360 video > > map_dir="/data/Projects/RemapFilter" > > ffmpeg -y -i "$1" \ > > -i $map_dir/lx.pgm -i $map_dir/ly.pgm -loop 1 \ > > -i $map_dir/Alpha-Map.png \ > > -i $map_dir/rx.pgm -i $map_dir/ry.pgm \ > > -c:v hevc_nvenc -rc constqp -qp 26 -cq 26 \ > > -filter_complex \ > > "[0:v]eq=contrast=0.8:brightness=-0.01:gamma=0.7:saturation=0.8[bright]; > \ > > [bright]split=2[in1][in2]; \ > > [in1]crop=in_w/2:in_h:0:in_h[l_crop];\ > > [in2]crop=in_w/2:in_h:in_w/2:in_h[r_crop]; \ > > [3]alphaextract[alf]; \ > > [l_crop]vignette=angle=PI/4.6:mode=backward[l_vignette]; \ > > [l_vignette][1][2]remap[l_remap]; \ > > [r_crop]vignette=angle=PI/4.8:mode=backward[r_vignette]; \ > > [r_vignette][4][5]remap[r_remap]; \ > > [l_remap]crop=in_w:1920:0:(in_h-1920)/2[l_rm_crop]; \ > > [r_remap]crop=in_w:1920:0:(in_h-1920)/2[r_rm_crop]; \ > > [l_rm_crop][alf]alphamerge[l_rm_crop_a]; \ > > [l_rm_crop_a]split=2[l_rm_crop1][l_rm_crop2]; \ > > [l_rm_crop1]crop=in_w/2:in_h:0:0[l_rm_crop_l]; \ > > [l_rm_crop2]crop=in_w/2:in_h:in_w/2:0[l_rm_crop_r]; \ > > [0:v][r_rm_crop]overlay=(1920-(2028/2)):0[ov1]; \ > > [ov1][l_rm_crop_l]overlay=((1920+2028/2)-(2028-1920)):0[ov2]; \ > > [ov2][l_rm_crop_r]overlay=0:0[out]" \ > > -map [out] -map 0:a "$1_Remapped.mp4" > > > > > I hope this helps somebody. > > > > Kind regards > > -- > > Evert Vorster > > Isometrix Acquistion Superchief > > ___ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > http://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 > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". -- Evert Vorster Isometrix Acquistion Superchief ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".