Re: combining a still with an audio file

"arthurpeabody" <[email protected]>
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
Thanks, Ms English!

>  seconds=443; for x in `seq $seconds`; do cat Sunset.jpg; done | mencoder
>  -o out.avi -fps 1 -ovc lavc -demuxer lavf -lavfdopts format=mjpeg
>  -audiofile Mirage.mp3 -oac copy -

The file produced has the audio but a blank screen (I used the correct files for input).  Does anything in the output point to the problem?  The still is much larger than my screen, but I tried with a scaled-down version also.

MEncoder 20180720-8.1.1 (C) 2000-2018 MPlayer Team
192 audio & 400 video codecs
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
libavformat version 57.83.100 (external)
Forced lavf raw MJPEG video demuxer
libavformat file format detected.
[lavf] stream 0: video (mjpeg), -vid 0
VIDEO:  [MJPG]  2860x4947  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Forced lavf raw MJPEG video demuxer
Audio only file format detected.
[V] filefmt:65536  fourcc:0x47504A4D  size:2860x4947  fps:25.000  ftime:=0.0400
Input fps will be interpreted as 1.000 instead.
libavcodec version 57.107.100 (external)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG)
==========================================================================
audiocodec: framecopy (format=55 chans=1 rate=22050 bits=16 B/s=4000 sample-0)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x7f68a23c4120]bicubic scaler, from yuv444p to yuv420p using MMXEXT
videocodec: libavcodec (2860x4948 fourcc=34504d46 [FMP4])
Movie-Aspect is undefined - no prescaling applied.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos:   1.0s      1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]

Skipping frame!
Pos:   1.0s      2f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.100 [0:31]

Flushing video frames.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream: 4853.352 kbit/s  (606669 B/s)  size: 606669 bytes  1.000 secs  2 frames

Audio stream:   32.000 kbit/s  (3999 B/s)  size: 99892 bytes  24.973 secs
_______________________________________________
MPlayer-users mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.