Menu

#618 Can't record MPEG1 videos

v2.4.x
closed-fixed
None
Linux
FFMPEG
2016-02-27
2015-03-08
No

I am using VICE 2.4.18, rev 29455M compiled with --enable-static-ffmpeg and --enable-gnomeui. This version of VICE can be used to record a video using the "Save media file…" command of the "Snapshot" menu. However, video recording does not work at all when the video codec is set to MPEG1.

Trying to record an MPEG1 video from an emulated PAL machine results in an error dialog with the text "ffmpegdrv: Cannot open video stream" and the following message printed to the console:

FFMPEG: Driver: avi, ac: 86017, vc: 1

Sound: Closing device pulse' Sound: Opened devicepulse', speed 44100Hz, fragment size 1.5ms, buffer size 100ms
reSID: MOS6581, filter on, sampling rate 44100Hz - fast
Output #0, avi, to '/tmp/foo-mpeg1.avi':
Stream #0:0: Video: mpeg1video, yuv420p, 384x272, q=2-31, 800 kb/s, 50.12 tbn, 50.12 tbc
Stream #0:1: Audio: mp3, 44100 Hz, mono, s32p, 64 kb/s
[mpeg1video @ 0x34b8860] removing common factors from framerate
[mpeg1video @ 0x34b8860] MPEG1/2 does not support 13684/273 fps
ffmpegdrv: could not open video codec
ffmpegdrv: Closed successfully
Sound: Opened recording device device soundmovie' Sound: Closing devicepulse'
Sound: Closing recording device soundmovie' Sound: Opened devicepulse', speed 44100Hz, fragment size 1.5ms, buffer size 100ms
reSID: MOS6581, filter on, sampling rate 44100Hz - fast

Trying to record an MPEG1 video from an emulated NTSC machine results in an error dialog with the text "ffmpegdrv: Cannot open video stream" and the following message printed to the console:

FFMPEG: Driver: avi, ac: 86017, vc: 1

Sound: Closing device pulse' Sound: Opened devicepulse', speed 44100Hz, fragment size 1.5ms, buffer size 100ms
reSID: MOS6581, filter on, sampling rate 44100Hz - fast
Output #0, avi, to '/tmp/foo-mpeg1.avi':
Stream #0:0: Video: mpeg1video, yuv420p, 384x256, q=2-31, 800 kb/s, 59.83 tbn, 59.83 tbc
Stream #0:1: Audio: mp3, 44100 Hz, mono, s32p, 64 kb/s
[mpeg1video @ 0x3e8a180] removing common factors from framerate
[mpeg1video @ 0x3e8a180] MPEG1/2 does not support 204546/3419 fps
ffmpegdrv: could not open video codec
ffmpegdrv: Closed successfully
Sound: Opened recording device device soundmovie' Sound: Closing devicepulse'
Sound: Closing recording device soundmovie' Sound: Opened devicepulse', speed 44100Hz, fragment size 1.5ms, buffer size 100ms
reSID: MOS6581, filter on, sampling rate 44100Hz - fast

So in summary it looks like in both cases the codec doesn't like the video frame rate set by VICE.

Discussion

  • gpz

    gpz - 2015-03-17

    confirmed, same here

     
  • Andreas Matthies

    Fixed in rev #29513.

     
  • Andreas Matthies

    • status: open --> open-fixed
     
  • Querino

    Querino - 2015-03-22

    WindowsPort:

    working now fine, thanks a lot.

     
  • gpz

    gpz - 2015-06-16
    • status: open-fixed --> pending-fixed
     
  • Marco van den Heuvel

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.