getting blured video.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

getting blured video.

AMIT KUMAR
Hi,

I have webm and wav file when i mix up together using command line i am
getting blurred video not seems clear can any one help me to get mp4 video
without any hazy effect or blurred effect.

Command line :

1). "-i 588041.webm -i 588041.wav  -filter_complex
[0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -vf
scale=1280:720  588041.mp4"                    //This one i implementing

2).  "-i 588041.webm -i 588041.wav  -filter_complex
[0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -r 24 -crf 8
588041.mp4".

whereas, i am trying -crf value from 0 to 23.

i am sharing both file webm and wav  and using this command mp4 created
file also sharing with you.

Please give me any solution.

https://drive.google.com/drive/folders/1froLdaAGLaHPvkZQDSIvaGWY_HKvMYEN?usp=sharing
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

Carl Zwanzig
On 2/19/2019 11:31 PM, AMIT KUMAR wrote:
> Please give me any solution.

As with before, please give us the _complete_ command lines and the
_complete_ output (in email).

(How does the output look if you use a silent sound generator, or when just
processing the video through without audio?)

later,

z!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

AMIT KUMAR
Hi,
These two command line i am implementing.

Command line :

1). "-i 588041.webm -i 588041.wav  -filter_complex
[0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -vf
scale=1280:720  588041.mp4"                    //This one i implementing

2).  "-i 588041.webm -i 588041.wav  -filter_complex
[0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -r 24 -crf 8
588041.mp4".

whereas, i am trying -crf value from 0 to 23.

As per output i shared the file with you from google drive link, gain i am
sharing the link:

https://drive.google.com/drive/folders/1froLdaAGLaHPvkZQDSIvaGWY_
HKvMYEN?usp=sharing


***********************************************************
How does the output look if you use a silent sound generator, or when just
processing the video through without audio?

--------------->>>>> Actually at the time of creation video that have an
already audio , and for that video i have an extra audio file so we merge
the extra audio file with video without echo produce.


On Wed, Feb 20, 2019 at 1:08 PM Carl Zwanzig <[hidden email]> wrote:

> On 2/19/2019 11:31 PM, AMIT KUMAR wrote:
> > Please give me any solution.
>
> As with before, please give us the _complete_ command lines and the
> _complete_ output (in email).
>
> (How does the output look if you use a silent sound generator, or when
> just
> processing the video through without audio?)
>
> later,
>
> z!
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

Moritz Barsnick
On Wed, Feb 20, 2019 at 13:18:57 +0530, AMIT KUMAR wrote:

> Hi,
> These two command line i am implementing.
>
> Command line :
>
> 1). "-i 588041.webm -i 588041.wav  -filter_complex
> [0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -vf
> scale=1280:720  588041.mp4"                    //This one i implementing
>
> 2).  "-i 588041.webm -i 588041.wav  -filter_complex
> [0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -r 24 -crf 8
> 588041.mp4".

You didn't understand correctly, Carl asked for the complete console
output (a copy/paste of the text) from running the commands.

> How does the output look if you use a silent sound generator, or when just
> processing the video through without audio?
>
> --------------->>>>> Actually at the time of creation video that have an
> already audio , and for that video i have an extra audio file so we merge
> the extra audio file with video without echo produce.

Again, you misunderstood the request. The question was: What happens if
you omit muxing the WAV, in other words just recode the video. Does is
also look blurry?

I tried your conversion - to me, it does not look blurry at all, but
very close to the original. (My ffmpeg encodes with libx264, perhaps
yours does something different.)

Please note that the original's resolution is 320x240, it won't look
like HD if you scale it up to 1280x720.

Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

AMIT KUMAR
You didn't understand correctly, Carl asked for the complete console
output (a copy/paste of the text) from running the commands.
------------>>> Sorry, i don't have access in my office to use the CMD  so,
that's why i cant send you the console output.I am using through c#
application.

 Does is also look blurry?  ----> Yes.But i need the clear visualization
Mp4.when video creates user mobile have no any EIS features so i think by
ffmpeg can we use EIS features to stop seems hazy or blur effect.

original's resolution is 320x240, it won't look like HD if you scale it up
to 1280x720.   -->> Yes the original file is 320x240, whereas i think if i
scale it into HD then video seems clear so that's why i m using 1280x720.


On Wed, Feb 20, 2019 at 2:30 PM Moritz Barsnick <[hidden email]> wrote:

> On Wed, Feb 20, 2019 at 13:18:57 +0530, AMIT KUMAR wrote:
> > Hi,
> > These two command line i am implementing.
> >
> > Command line :
> >
> > 1). "-i 588041.webm -i 588041.wav  -filter_complex
> > [0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -vf
> > scale=1280:720  588041.mp4"                    //This one i implementing
> >
> > 2).  "-i 588041.webm -i 588041.wav  -filter_complex
> > [0:a][1:a]amix=inputs=2:duration=longest  -preset ultrafast -r 24 -crf 8
> > 588041.mp4".
>
> You didn't understand correctly, Carl asked for the complete console
> output (a copy/paste of the text) from running the commands.
>
> > How does the output look if you use a silent sound generator, or when
> just
> > processing the video through without audio?
> >
> > --------------->>>>> Actually at the time of creation video that have an
> > already audio , and for that video i have an extra audio file so we merge
> > the extra audio file with video without echo produce.
>
> Again, you misunderstood the request. The question was: What happens if
> you omit muxing the WAV, in other words just recode the video. Does is
> also look blurry?
>
> I tried your conversion - to me, it does not look blurry at all, but
> very close to the original. (My ffmpeg encodes with libx264, perhaps
> yours does something different.)
>
> Please note that the original's resolution is 320x240, it won't look
> like HD if you scale it up to 1280x720.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

kumowoon1025
In reply to this post by AMIT KUMAR
I just noticed why you didn’t see any improvement when you say you tried crf 0, you are not working with the original anymore, the video in the webm got transcoded at some point to constrained baseline h264. Transcode from the original.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

AMIT KUMAR
Hi Ted,

Sorry for the inconvenience caused to you.But what we do have any
suggestion, i think if we use ESI controllable command in that command line
then it will become some good.
*Note- when i used -crf from 0 to 23 only seems file size differ.

On Wed, Feb 20, 2019 at 3:05 PM Ted Park <[hidden email]> wrote:

> I just noticed why you didn’t see any improvement when you say you tried
> crf 0, you are not working with the original anymore, the video in the webm
> got transcoded at some point to constrained baseline h264. Transcode from
> the original.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

kumowoon1025
> Sorry for the inconvenience caused to you.But what we do have any
> suggestion, i think if we use ESI controllable command in that command line
> then it will become some good.
Not at all, nobody’s forced to be here… But I think we are not understanding each other very well. I don’t know what "ESI controllable" means.

> *Note- when i used -crf from 0 to 23 only seems file size differ.
Yes, exactly. It is because the input webm file is not the original. It’s a low quality version than the one you were working with before. You need to input non-blurry video if you want to get a non-blurry output.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

AMIT KUMAR
Hi,
Thanks for help Ted.I am searching what to do.

Thanks & Regards
Amit Kumar

On Wed, Feb 20, 2019 at 3:44 PM Ted Park <[hidden email]> wrote:

> > Sorry for the inconvenience caused to you.But what we do have any
> > suggestion, i think if we use ESI controllable command in that command
> line
> > then it will become some good.
> Not at all, nobody’s forced to be here… But I think we are not
> understanding each other very well. I don’t know what "ESI controllable"
> means.
>
> > *Note- when i used -crf from 0 to 23 only seems file size differ.
> Yes, exactly. It is because the input webm file is not the original. It’s
> a low quality version than the one you were working with before. You need
> to input non-blurry video if you want to get a non-blurry output.
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: getting blured video.

Carl Zwanzig
In reply to this post by AMIT KUMAR
On 2/20/2019 1:19 AM, AMIT KUMAR wrote:
> Sorry, i don't have access in my office to use the CMD  so,
> that's why i cant send you the console output.I am using through c#
> application.

(you might have told us this earlier)
I don't use c#, but in most languages you can easily capture stdout/stderr
from a subprocess (see
https://stackoverflow.com/questions/186822/capturing-console-output-from-a-net-application-c).


>   Does is also look blurry?  ----> Yes.But i need the clear visualization
> Mp4.when video creates user mobile have no any EIS features so i think by
> ffmpeg can we use EIS features to stop seems hazy or blur effect.

EIS?

> original's resolution is 320x240, it won't look like HD if you scale it up
> to 1280x720.   -->> Yes the original file is 320x240, whereas i think if i
> scale it into HD then video seems clear so that's why i m using 1280x720.

What does "seems clear" mean? Even when the frame is scaled up 8x, it still
has the same amount of information as the original -unless- you use
sharpening/de-blurring filters. (also note that going from one lossy codec
to another can't add any new information).

BTW, your email client has a very weird method of quoting.

z!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".