fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#ffprobe

0 posts0 participants0 posts today

J'ai cassé mon instance #mastodon à cause d'une maj #debian et ce n'est pas la première fois. Une maj=un prog qui ne démarre plus. On va faire comme avec les médicaments, si #mastodon ne supporte pas son nouveau traitement #ruby donnez lui un générique. J'ai eu la même avec #PeerTube qui n'a pas aimé le #ffmpeg et #ffprobe remplacés par la maj #debian mais là c'était fourbe parce que je ne savais pas que mon instance refusait les uploads de vidéos jusqu'à que je teste et personne ne dit rien !🤬

Replied in thread

@sundogplanets

For completeness:

To find out the dimensions of a video, use #ffprobe, part of the #ffmpeg suite:

$ ffprobe -v error -show_entries stream=width,height -of default=noprint_wrappers=1 source-video.mp4

To extract images from a movie, at 10 frames per second:

$ ffmpeg -i source-video.mp4 -vf fps=10 slice-%d.png

To cut a video from time 5 seconds to time 12 minutes and 20 seconds (12*60+20=740, minus 5 gives 735; -ss is the start, and -t the duration from that point onwards):

$ ffmpeg -ss 5 -t 735 -i source-video.mp4 -vcodec libx265 -strict -2 lecture- cropped.mp4

To scale a video down to half the area (50% of width and height), add this image filter to the arguments, where "iw" is the input video width, and "ih" the input video height:

-vf "scale=iw/2:ih/2"

To concatenate videos, create a text file with the file path to each of the videos, name it "cuts.txt", and then:

$ ffmpeg -f concat -i cuts.txt -c copy video-edited.mp4

Rather than do a quick patch/fix, for the 0 sample content file issue in did a complete correction, along with small refactor to make logic easier to follow, and code easier to read. Now -Z analyze mode collects and shows all 0 size errors, along with < minimum value, and -Xq exits with error for both and options.

Also added size print for < 1 KiB, for B, that wasn't supported so showed 0 if < 1 KiB, now shows B, a 0 sample is 86 B, for example due to metadata.

FFmpeg stands for " Fast Forward MPEG."

MPEG stands for "Motion Picture Experts Group."

FFmpeg is designed for processing video and audio files on the command line. It is widely used for transcoding, basic editing like trimming and concatenation, video scaling and video post-production effects and standards compliance (SMPTE, ITU).

Included with FFmpeg is also FFplay and FFprobe.

FFplay is a simple media player.

FFprobe is a tool to display media information.

Continued thread

My reason for asking is if I use

-map 0:0 -map 0:x

to encode an mpg file from a DVD rip,
the resulting file is in English, otherwise I get Spanish.

The 'x' is derived from the #ffprobe command, and the line that has 0x80 is the one I use.