[FFmpeg-user] Screen capture without sound

G A glen_alexndr at hotmail.com
Sat Mar 5 19:01:01 CET 2016


use the log level to see if anything is bombing

-loglevel warnings

use stats to watch it encode

-stats

check your raw source, x265 only handles "yuv420p" | "yuv422p" | "yuv444p”  if your video is "yuvj420p" | "yuvj422p" | "yuvj444p" | "nv12" | "nv16" | “nv2 you need to use x264

you have two operations in one filter, i usually break these apart instead of using pipe as the threading is seems asynchronous


> -video:f scale=1280:800 -video:f crop=1280:720:0:40

just try a simple conversion, see what’s broken

ffmpeg -i test.avi -c:v libx265 -c:a faac test.mp4


Sent from somewhere in … The Twilight Zone

> On Mar 4, 2016, at 23:04, 桃源老師 <xanadu6291 at dream.jp> wrote:
> 
> 
>> 2016/03/05 3:12 A.M. Thilo Borgmann <thilo.borgmann at mail.de> wrote:
>> 
>> Am 04.03.16 um 17:51 schrieb 桃源老師:
>>> I'd like to confirm my git operation is correct or not.  Here's console log.  Would you please check them?
>> 
>> If you see the same history on the web as in your local repo clone,
>> everything should be fine.
> 
> I have confirmed SHA of https://github.com/thiloborgmann/FFmpeg/commits/avf2
> 
> Then I build ffmpeg normally and tested.  Unfortunately the result video's screen resolution is strange and the video's audio is just a noise...  :-(
> I don't know what is wrong...
> 
> The command I run is as follows:
> $ ffmpeg -f avfoundation -i "1:0" -vf "scale=1280:800,crop=1280:720:0:40" -c:v libx265 -preset ultrafast -x265-params crf=25 -c:a libfdk_aac -b:a 160k test.mkv
> 
> The result video is uploaded to:
> https://mega.nz/#!ulsn1CqT!G5aNwppPCtq0qjlByZ5VvpYMiQhn4_BTd4KQmnh7tYo
> 
>>> OK.  Then should I capture raw video and raw audio?
>>> What container should be used?
>> 
>> Either use rawvideo if the resolution is not too high or use a very fast
>> and "simple" video encoder - like mpeg2, maybe mpeg4. Audio can be kept
>> in raw format for the time being.
> 
> Thank you for teach me.
> 
>> I use almost the same hardware btw and it is possible to get "good"
>> recordings out of it. They will even be better after reconstruction is
>> finished.
> 
> My MacBook Pro is Retina Display model.  Is it related with the strange screen resolution of result video?
> 
> 
> Best Regards, 
> 
> 
> // Miya aka. TougenRoushi
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list