Hello,

I recently tried muxing m1v and mp2 video and audio files, respectively
into VCD-compatible format with mplex, using the following command:

mplex -f 1 -o talkie.mpg video.m1v audio.mp2

It apparently did not complain about the video file, but did complain
about the audio.mp2:

   INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $)
   INFO: [mplex] File video.m1v looks like an MPEG Video stream.
**ERROR: [mplex] File audio.mp2 unrecogniseable!
**ERROR: [mplex] Unrecogniseable file(s)... exiting.

Furthermore, the audio.mp2 and video.m1v files were created using ffmpeg
and mplayer:

ffmpeg -i movie.avi -vn -ab 224k -ar 44100 -ac 2 -acodec mp2 -y audio.mp2

and

mplayer -noconsolecontrols -benchmark -nosound -noframedrop -noautosub
-vo yuv4mpeg:file=video.yuv -vf scale=352:192,expand=352:240 movie.avi

cat video.yuv | yuvfps -r 30000:1001 -v 0 | mpeg2enc --sequence-length
700 --nonvideo-bitrate 237 --aspect 2 -f 1 -K hi-res --frame-rate 4 -v 0
--video-norm n --reduction-4x4 2 --reduction-2x2 1 -o video.m1v

I suppose the latter paste is irrelevant, but you can clearly see in the
former that ffmpeg encoded the audio as mp2, which is not being
recognized by mplex. Is there a misconfiguration in mjpegtools on my
part? Or could something else be wrong?

I am using mjpegtools on Gentoo Linux with the following libs supported:

3dnow X gtk mmx png quicktime sse yv12

and without

-dga -dv -sdl -v4l

But, I don't see how any of the last four could affect recognizing mp2.

Thanks,

Sujeet Akula
Firmware Engineer
IPB, Architecture & Software
Rockwell Automation

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to