[FFmpeg-user] down sampling

Moritz Barsnick barsnick at gmx.net
Sat Dec 29 21:04:44 EET 2018


On Sat, Dec 29, 2018 at 19:45:29 +0100, Michael Koch wrote:
> (see below), and those didn't work. Seems to be either impossible or 
> quite complicated.

"Didn't work" is not a concise error description.

> https://ffmpeg.zeranoe.com/forum/viewtopic.php?t=1414
> 
> |ffmpeg -i abc.avi -f rawvideo - | ffplay -f rawvideo -s 624x352 -pix_fmt yuv420p -|

This is wrong in many ways. It only works if you know your resolution
and format (because rawvideo doesn't carry any meta-information).

I would use the practical nut container, and do:

$ ffmpeg -i input -f nut - | ffplay -

> |ffmpeg -ss 00:34:24.85 -t 10 -i path||/to/file||.mp4 -f mp3 pipe:play | 
> ffplay -i pipe:play -autoexit|

IMO, this shouldn't be piped with '|', but executed as two separate
shell commands.

Please try the former. And post the actually used command and the
complete, uncut console output.

(Sorry, if I had my Windows machine ready, I would just simply try.)

Moritz


More information about the ffmpeg-user mailing list