nstanger / process_podcast

Python script for processing and assembling a podcast from various input sources
0 stars 0 forks source link

[CLOSED] process_podcast: mixed video and frame inputs fail #23

Closed nstanger closed 8 years ago

nstanger commented 8 years ago

Issue by nstanger Friday Sep 16, 2016 at 04:41 GMT Originally opened as https://github.com/Otago-InfoSci-Database/Tools/issues/23


Suppose you want to add extra notes by annotating the original PDF slides then inserting the modified frames at the appropriate locations in the video stream. The frame input JPEGs will need to be scaled to the same dimensions as the video input, otherwise you get a resolution mismatch error.

If it’s nothing but frame inputs, then no problem.

nstanger commented 8 years ago

Comment by nstanger Monday Sep 19, 2016 at 11:08 GMT


This will get the video stream dimensions:

% ffprobe -loglevel error -select_streams v -show_entries stream=width,height -print_format default=noprint_wrappers=1 INFO321_2016-09-16.mov
width=1024
height=768

See also http://stackoverflow.com/a/29585066