Opened 3 weeks ago

#2348 new defect

-vo png does not create any output

Reported by: drhex Owned by: beastd
Priority: normal Component: undetermined
Version: 1.3 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% mplayer -quiet -nolirc -nojoystick -nosound -vo png:z=0:outdir=/tmp/dump -frames 4 -zoom -xy 256 /path/to/my/videofile.mp4

I'm trying (on ubuntu 18.04) to extract a few frames from a videofile into png files in directory /tmp/dump.
This worked fine in mplayer 1.2.1 but not in 1.3
Starting simply "mplayer /path/to/my/videofile.mp4" plays it fine, so it is the png part that causes the problem (the same problem regardless of which video file I try to play)
The output directory /tmp/dump is created by mplayer (but remains empty).
Mplayer also creates a folder called '(null)' in the current directory (this folder also remains empty)
Running mplayer via strace reveals that it successfully find and opens "/usr/lib/x86_64-linux-gnu/libpng16.so.16"
The error messages I get on the console are:
png: output directory: (null)
[png @ 0x7fe63e248920]The encoder timebase is not set.
FATAL: Cannot initialize video driver.

I also get these warnings despite having specified compression level 0 explicitly:
[VO_PNG] Warning: compression level set to 0, compression disabled!
[VO_PNG] Info: Use -vo png:z=<n> to set compression level from 0 to 9.
[VO_PNG] Info: (0 = no compression, 1 = fastest, lowest - 9 best, slowest compression)

Mplayer outputs
png: output directory: /tmp/dump
once, but then keeps saying
png: output directory: (null)

Change History (0)

Note: See TracTickets for help on using tickets.