View allAll Photos Tagged Libreoffice
I tried to make this so it would loop seamlessly -- both the video and the soundtrack. Flickr's player doesn't let you turn on looping, so it's a bit of a pointless quest, but I was interested in seeing how close I could get.
The soundtrack* was (or should have been) relatively straightforward -- I found an audio track designed for seamless looping.
The video was obviously not going to be perfect, but I wanted to get as close as I could. Is there an established technique for this? I couldn't find one, so I wrote some shell scripts to break out all the video frames to separate files and run Imagemagick's compare operation to compute the Structural Similarity Index (SSIM) on pairs of images to find the best place to start and stop for (almost-)seamless looping. To do this for every start/stop pair requires an unwieldy N-factorial number of compares, where N is the number of frames; I wrote the scripts to take a starting frame range, a duration range, and a sample stride (spacing) to only check a subset of image pairs (e.g., only 1 out of every 10 frames). Output is a CSV file of scores that can be quickly visualized in a spreadsheet (I use LibreOffice Calc) with color-coding to find where matching is better or worse. With that info I visually inspected start/stop frames in the neighborhood to find the (subjectively) best pair and used ffmpeg to extract that clip and set it's frame-rate to give me a total duration that's an integer multiple of the soundtrack length.
The result isn't perfect. The video is obviously not going to match perfectly, though it's similar enough. But for some reason I don't understand, when I play it in a looping-capable player (e.g., VLC) there's a hiccup in both the video and audio at the loop-back point when it jumps from the end back to the start of the video. Shrug... I'll keep trying.
*Soundtrack is Summer Love Loop from MuzaProduction. This work is licensed under the Creative Commons Noncommercial 4.0 License.
2022-07-29_142346
Del jueves 24 al sábado 26 de abril, en el Edificio de Informática y Matemáticas (Campus de Tafira), tendrá lugar las II Jornadas Cracking the Coding Interview, organizadas por la Escuela de Ingeniería Informática de la Universidad de Las Palmas de Gran Canaria (ULPGC) y que pretenden preparar a los alumnos de Informática de los últimos cursos para que afronten con éxito una entrevista de trabajo, a través de charlas formativas y una simulación real con profesionales de empresas colaboradoras.
Más información: goo.gl/223BkK
Del jueves 24 al sábado 26 de abril, en el Edificio de Informática y Matemáticas (Campus de Tafira), tendrá lugar las II Jornadas Cracking the Coding Interview, organizadas por la Escuela de Ingeniería Informática de la Universidad de Las Palmas de Gran Canaria (ULPGC) y que pretenden preparar a los alumnos de Informática de los últimos cursos para que afronten con éxito una entrevista de trabajo, a través de charlas formativas y una simulación real con profesionales de empresas colaboradoras.
Más información: goo.gl/223BkK
LinuxTag 2011 – Opening Press Conference
Thomas Krumbein, Project LibreOffice, Chairman of the Board “Freies Office Deutschland e.V.” and Co-Founder “The Document Foundation”
Del jueves 24 al sábado 26 de abril, en el Edificio de Informática y Matemáticas (Campus de Tafira), tendrá lugar las II Jornadas Cracking the Coding Interview, organizadas por la Escuela de Ingeniería Informática de la Universidad de Las Palmas de Gran Canaria (ULPGC) y que pretenden preparar a los alumnos de Informática de los últimos cursos para que afronten con éxito una entrevista de trabajo, a través de charlas formativas y una simulación real con profesionales de empresas colaboradoras.
Más información: goo.gl/223BkK