[FFmpeg-user] How to extract 1 frame as JPEG per minute
Ulf Zibis
Ulf.Zibis at gmx.de
Fri Jan 4 18:43:48 EET 2019
... and when I just play the video, I get:
$ mplayer dvd:////dev/sr1
MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
Playing dvd:////dev/sr1.
*** Zero check failed in src/ifo_read.c:564
for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
There are 1 titles on this DVD.
There are 1 angles in this DVD title.
*** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1230 ***
*** for n % 4 == 0 ***
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000290
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000b00
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
number of audio channels on disk: 1.
number of subtitles on disk: 0
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
MPEG-PS file format detected.
VIDEO: MPEG2 704x576 (aspect 2) 25.000 fps 9578.8 kbps (1197.3 kbyte/s)
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object
file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.107.100 (external)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]incomplete frame
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 704x576 => 768x576 Planar YV12
[mpeg2video @ 0x7f79d5ab2920]ac-tex damaged at 6 11
[mpeg2video @ 0x7f79d5ab2920]Warning MVs not available
[mpeg2video @ 0x7f79d5ab2920]concealing 1100 DC, 1100 AC, 1100 MV errors
in I frame
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 704x576 => 768x576 Planar YV12
A: 0.2 V: 0.6 A-V: -0.320 ct: -0.032 11/ 11 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]frame sync error
A: 0.2 V: 0.6 A-V: -0.360 ct: -0.032 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.4 V: 0.6 A-V: -0.203 ct: -0.032 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.4 V: 0.6 A-V: -0.194 ct: -0.032 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.5 V: 0.6 A-V: -0.084 ct: -0.032 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.5 V: 0.6 A-V: -0.079 ct: -0.032 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.8 V: 0.6 A-V: 0.236 ct: -0.032 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.8 V: 0.6 A-V: 0.250 ct: -0.028 12/ 12 ??% ??% ??,?% 0 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 0.8 V: 0.8 A-V: 0.090 ct: -0.012 16/ 16 34% 23% 5.0% 1 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 1.0 V: 0.9 A-V: 0.139 ct: -0.002 19/ 19 30% 19% 4.3% 1 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 1.2 V: 1.2 A-V: 0.079 ct: 0.026 26/ 26 25% 14% 3.4% 1 0
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
A: 1.6 V: 1.6 A-V: 0.033 ct: 0.065 37/ 37 20% 10% 2.8% 1 0
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
[ac3 @ 0x7f79d5ab2920]Got unexpected packet after EOF
*** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
*** for dsi->dsi_gi.zero1 == 0 ***
{.....}
-Ulf
Am 03.01.19 um 01:20 schrieb Ulf Zibis:
> Hi,
>
> Am 26.12.18 um 12:46 schrieb Carl Eugen Hoyos:
>> $ mplayer -dumpstream dvd://
>> or
>> $ mplayer -dumpstream dvdnav://
> I had to use:
>
> $ mplayer -dumpstream -dumpfile CYD_dump.vob dvd:////dev/sr1
>
> I got a file of 4.214.351.872 Bytes and following messages:
>
> MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
> do_connect: could not connect to socket
> connect: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing dvd:////dev/sr1.
> *** Zero check failed in src/ifo_read.c:564
> for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
> There are 1 titles on this DVD.
> There are 1 angles in this DVD title.
>
> *** libdvdread: CHECK_VALUE failed in src/ifo_read.c:1230 ***
> *** for n % 4 == 0 ***
>
>
> libdvdread: Attempting to retrieve all CSS keys
> libdvdread: This can take a _long_ time, please be patient
>
> libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000290
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000b00
> libdvdread: Elapsed time 0
> libdvdread: Found 1 VTS's
> libdvdread: Elapsed time 0
> audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
> number of audio channels on disk: 1.
> number of subtitles on disk: 0
>
> *** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
> *** for dsi->dsi_gi.zero1 == 0 ***
>
>
> *** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
> *** for dsi->dsi_gi.zero1 == 0 ***
>
>
> *** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
> *** for dsi->dsi_gi.zero1 == 0 ***
>
>
> *** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
> *** for dsi->dsi_gi.zero1 == 0 ***
>
>
> *** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
> *** for dsi->dsi_gi.zero1 == 0 ***
>
>
> *** libdvdread: CHECK_VALUE failed in src/nav_read.c:264 ***
> *** for dsi->dsi_gi.zero1 == 0 ***
>
> {.....}
>
>
> With dvd::rip and subsequent cat I also got a vob file with
> 4.214.351.872 Bytes.
>
> I do not see any difference or advantage with mplayer -dumpstream. They
> are both a kind of corrupted, With VLC they stutter sometimes and the
> time index is totally wrong, e.g. the length of the video is displayed
> with 1:03 min instead 80:00 min.
>
> After remuxing the file with:
> ffmpeg -i in.vob -c copy out.vob
> the file has 4.186.640.384 Bytes and then time index is correct and the
> stuttering is gone.
>
> But I still see the mentioned error messages when filtering and
> transcoding the result to mp4.
>
> -Ulf
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list