[FFmpeg-user] Guide to denoise VHS videos

Rohit Prajapati rp835483 at gmail.com
Mon Apr 12 09:59:06 EEST 2021


I need help with some issues in the FFmpeg command.


*show error in android *



2021-04-09 11:25:01.052 31074-31074/com.daasuu.gpuvideoandroid
E/fsfdsfdfgfdffcszxczxczx: false: ffmpeg version n3.0.1 Copyright (c)
2000-2016 the FFmpeg developers
      built with gcc 4.8 (GCC)
      configuration: --target-os=linux
--cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-
--arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect
--sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot
--enable-pic --enable-libx264 --enable-libass --enable-libfreetype
--enable-libfribidi --enable-libmp3lame --enable-fontconfig
--enable-pthreads --disable-debug --disable-ffserver --enable-version3
--enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl
--enable-yasm --disable-doc --disable-shared --enable-static
--pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config
--prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a
--extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow
-fstack-protector-all'
--extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib
-Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm'
--extra-cxxflags=
      libavutil      55. 17.103 / 55. 17.103
      libavcodec     57. 24.102 / 57. 24.102
      libavformat    57. 25.100 / 57. 25.100
      libavdevice    57.  0.101 / 57.  0.101
      libavfilter     6. 31.100 /  6. 31.100
      libswscale      4.  0.100 /  4.  0.100
      libswresample   2.  0.101 /  2.  0.101
      libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/storage/emulated/0/Moj-Media/video/ff_blur_708_24c108d0_1616594325217_watermarked.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf58.45.100
      Duration: 00:00:13.23, start: 0.023220, bitrate: 1098 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
480x852, 990 kb/s, 30 fps, 30 tbr, 1000k tbn, 60 tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 128 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from
'/storage/emulated/999/WhatsApp/Media/WhatsApp
Video/VID-20210317-WA0013.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf55.48.100
      Duration: 00:00:29.20, start: 0.000000, bitrate: 1986 kb/s
        Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661),
yuv420p(tv, smpte170m/bt470bg/smpte170m), 862x1080, 1848 kb/s, 30 fps, 30
tbr, 15360 tbn, 30720 tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 131 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
    Filter pad has a unconnected output


*  FFmpeg command is*

String cmd21[]={"-y","-i" ,inputFile1, "-i",
        inputFile2, "-filter_complex",
        "[0:v]scale=720:576:force_original_aspect_ratio=decrease,setsar=1,pad=720:576:(ow-iw)/2:(oh-ih)/2[0v];
" +

"[1:v]scale=720:576:force_original_aspect_ratio=decrease,setsar=1,pad=720:576:(ow-iw)/2:(oh-ih)/2[1
v];" +
                "[0v][0:a][1v][1:a]concat=n=2:v=1:a=1[outv][outa]"
,"-map" ,"[outv]" ,"-map"
,"[outa]","-c:v","libx264","-crf","23","/storage/emulated/0/Movies/VideoSplit/rohit_record.mp4"};



please help me we are merging multiple videos in a single video .

On Mon, Apr 12, 2021 at 12:24 PM Michael Koch <astroelectronic at t-online.de>
wrote:

> Am 12.04.2021 um 00:39 schrieb Ulf Zibis:
> >
> > My question is not about head-switching effects, it mainly is about
> > temporal noise. E.G., there is the hqdn3d filter, which can do both,
> > spacial and temporal denoise. But I'm missing some guidance about
> > using the parameters and in comparision to other denoise filters.
>
> See here:
> http://ffmpeg.org/pipermail/ffmpeg-user/2019-October/045838.html
>
> Michael
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list