nschlia / ffmpegfs

FUSE-based transcoding filesystem with video support from many formats to FLAC, MP4, TS, WebM, OGG, MP3, HLS, and others.
https://nschlia.github.io/ffmpegfs/
GNU General Public License v3.0
196 stars 14 forks source link

Reading of some Bluray/DVD chapters fails #131

Closed nschlia closed 2 years ago

nschlia commented 2 years ago

Some Bluray or DVD chapters cannot be read, see log:

INFO   : [/mnt/sdf1/mp3base1/BD/Spielfilme/05. Chapter 001 [29-38.359].webm] Transcoding to webm.
WARNING: [mpegts @ 0x7effc3b64d60] start time for stream 0 is not set in estimate_timings_from_pts
WARNING: [mpegts @ 0x7effc3b64d60] PES packet size mismatch
WARNING: [mpegts @ 0x7effc3b64d60] Could not find codec parameters for stream 0 (Video: mpeg2video (HDMV / 0x564D4448), none(tv)): unspecified size
                                              Consider increasing the value for the 'analyzeduration' and 'probesize' options
INFO   : [/mnt/sdf1/mp3base1/BD/Spielfilme/05. Chapter 001 [29-38.359].webm] Video in: mpeg2video@45.11 Mbps [29:38.359]
INFO   : [/mnt/sdf1/mp3base1/BD/Spielfilme/05. Chapter 001 [29-38.359].webm] Audio in: ac3@192.0 kbps 2 Channels 48.000 kHz [29:38.359]
INFO   : [/mnt/ffmpegfs/webm/1M/NONE/mp3base1/05. Chapter 001 [29-38.359].webm] Opening output file.
WARNING: No information about the input framerate is available. Falling back to a default value of 25fps for output stream.
ERROR  : [libvpx-vp9 @ 0x7effc3fc8de0] dimensions not set
ERROR  : [/mnt/ffmpegfs/webm/1M/NONE/mp3base1/05. Chapter 001 [29-38.359].webm] Could not open video output codec vp9 (error 'Invalid argument').
ERROR  : [/mnt/ffmpegfs/webm/1M/NONE/mp3base1/05. Chapter 001 [29-38.359].webm] Transcoding exited with error.
ERROR  : [/mnt/ffmpegfs/webm/1M/NONE/mp3base1/05. Chapter 001 [29-38.359].webm] System error: (5) Input/output error
ERROR  : [/mnt/ffmpegfs/webm/1M/NONE/mp3base1/05. Chapter 001 [29-38.359].webm] FFMpeg error: (-22) Invalid argument

The problem seems to be that the FFmpeg API cannot determine the input file*s video size, this causes the encoder to fail: ERROR : [libvpx-vp9 @ 0x7effc3fc8de0] dimensions not set

nschlia commented 2 years ago

Fixed with 06cdf2b19e127fcd44f6fdf216eb4a28474a0d4f