[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-users
Subject:    Re: [Mjpeg-users] mplex fail......
From:       tusek <tusek () interia ! pl>
Date:       2009-05-27 20:37:31
Message-ID: 23750346.post () talk ! nabble ! com
[Download RAW message or body]


Hello!

Bernhard Praschinger wrote:
> 
> Hallo
> 
>> I recorded mpeg material from DVB-S card and I created video and audio
>> with
>> avidemux (version 2.4.4) from this material (avidemux with GUI).
> Ok so you didn't create the streams with the mjpegtools.
> Have you tried to multiplex a stream that has worked before the update 
> of Unbuntu ?
> 
> Is is possible for you to post a short sample somewhere ?
> 
Yes, before ubuntu update I tried this command many times and I burned many
films in this way

Bernhard Praschinger wrote:
> 
>> The first line from mplex command without any parameters returns
>> 	mjpegtools mplex-2 version 1.9.0 (2.2.7)
>> 
>> My command to try multiplexing 2 audio and 1 video is:
>> 	mplex -v 2 -f 8 -S 0 -M -o test.mpeg2 test.m2v test_PL.m2a test_EN.m2a
> 
> Just to make soure, try once to multiplex it only with one audio.
> 
With one audio it looks the same:
mplex -r 1300000 -f 8 -S 0 -M -o test.mpeg2 test.m2v test_EN.m2a 
   INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
   INFO: [mplex] File test.m2v looks like an MPEG Video stream.
   INFO: [mplex] File test_EN.m2a looks like an MPEG Audio stream.
   INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard
options!
   INFO: [mplex] Found 1 audio streams and 1 video streams
   INFO: [mplex] Selecting dvdauthor DVD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: Video stream e0 (test.m2v) 
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width     : 544
   INFO: [mplex] Frame height    : 576
   INFO: [mplex] Aspect ratio    : 4:3 display
   INFO: [mplex] Picture rate    : 25.000 frames/sec
   INFO: [mplex] Bit rate        : 10000000 bits/sec
   INFO: [mplex] Vbv buffer size : 176128 bytes
   INFO: [mplex] CSPF            : 0
   INFO: [mplex] Scanning for header info: Audio stream c0 (test_EN.m2a)
Illegal instruction

Bernhard Praschinger wrote:
> 
> 
> What I don't like it the bitrate of the video with 10Mega Bits.
> Or change the bitrate to more than 10000000, add the guessed bitrate of 
> the audio streams with the -r option. "-r 1300000" for example.
> 
>> and result is:
>>    INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
>>    INFO: [mplex] File test.m2v looks like an MPEG Video stream.
>>    INFO: [mplex] File test_PL.m2a looks like an MPEG Audio stream.
>>    INFO: [mplex] File test_EN.m2a looks like an MPEG Audio stream.
>>    INFO: [mplex] Video stream 0: profile 8 selected - ignoring
>> non-standard
>> options!
>>    INFO: [mplex] Found 2 audio streams and 1 video streams
>>    INFO: [mplex] Selecting dvdauthor DVD output profile
>>    INFO: [mplex] Multiplexing video program stream!
>> --DEBUG: [mplex] SETTING video buffer to 232
>>    INFO: [mplex] Scanning for header info: Video stream e0 (test.m2v) 
>>    INFO: [mplex] VIDEO STREAM: e0
>>    INFO: [mplex] Frame width     : 544
>>    INFO: [mplex] Frame height    : 576
>>    INFO: [mplex] Aspect ratio    : 4:3 display
>>    INFO: [mplex] Picture rate    : 25.000 frames/sec
>>    INFO: [mplex] Bit rate        : 10000000 bits/sec
>>    INFO: [mplex] Vbv buffer size : 176128 bytes
>>    INFO: [mplex] CSPF            : 0
>>    INFO: [mplex] Scanning for header info: Audio stream c0 (test_PL.m2a)
>> Illegal instruction
>> 
>> Before upgrade my ubuntu from 8.10 to 9.04 it was working without any
>> warnings and errors
> Which version of the mjpegtools was included with unbunto 8.10?
> A quick search didn't provide any useful information.
> 
> It is possible for you to install the mjpegtools version that was 
> included in Unbuntu 8.10 ? To make sure that the mjpegtools cause the 
> problem.
> 
> 
I tried with following scenario:
-I installed ubuntu 8.10 on VBox 
-I copied video material created in ubuntu 9.10 by avidemux into machine
with ubuntu 8.10
-I run command mplex -v 2 -f 8 -S 0 -M -o test.mpeg2 test.m2v test_PL.m2a
test_EN.m2a successfully :
   INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $)
   INFO: [mplex] File test.m2v looks like an MPEG Video stream.
   INFO: [mplex] File test_PL.m2a looks like an MPEG Audio stream.
   INFO: [mplex] File test_EN.m2a looks like an MPEG Audio stream.
   INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard
options!
   INFO: [mplex] Found 2 audio streams and 1 video streams
   INFO: [mplex] Selecting dvdauthor DVD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: Video stream e0 (test.m2v) 
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width     : 544
   INFO: [mplex] Frame height    : 576
   INFO: [mplex] Aspect ratio    : 4:3 display
   INFO: [mplex] Picture rate    : 25.000 frames/sec
   INFO: [mplex] Bit rate        : 10000000 bits/sec
   INFO: [mplex] Vbv buffer size : 176128 bytes
   INFO: [mplex] CSPF            : 0
   INFO: [mplex] Scanning for header info: Audio stream c0 (test_PL.m2a)
   INFO: [mplex] MPEG AUDIO STREAM: c0
   INFO: [mplex] Audio version  : 1.0
   INFO: [mplex] Layer          :        2
   INFO: [mplex] CRC checksums  :      yes
   INFO: [mplex] Bit rate       :    24576 bytes/sec (192 kbit/sec)
   INFO: [mplex] Frequency      :     48000 Hz
   INFO: [mplex] Mode           :        0 stereo
   INFO: [mplex] Mode extension :        0
   INFO: [mplex] Copyright bit  :        0 no copyright
   INFO: [mplex] Original/Copy  :        0 copy
   INFO: [mplex] Emphasis       :        0 none
   INFO: [mplex] Scanning for header info: Audio stream c1 (test_EN.m2a)
   INFO: [mplex] MPEG AUDIO STREAM: c1
   INFO: [mplex] Audio version  : 1.0
   INFO: [mplex] Layer          :        2
   INFO: [mplex] CRC checksums  :      yes
   INFO: [mplex] Bit rate       :    24576 bytes/sec (192 kbit/sec)
   INFO: [mplex] Frequency      :     48000 Hz
   INFO: [mplex] Mode           :        0 stereo
   INFO: [mplex] Mode extension :        0
   INFO: [mplex] Copyright bit  :        0 no copyright
   INFO: [mplex] Original/Copy  :        0 copy
   INFO: [mplex] Emphasis       :        0 none
   INFO: [mplex] SYSTEMS/PROGRAM stream:
   INFO: [mplex] rough-guess multiplexed stream data rate    : 10607496
   INFO: [mplex] target data-rate specified               : 10080000
++ WARN: [mplex] Target data rate lower than computed requirement!
++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate
++ WARN: [mplex] streams is common and harmless provided no time-outs will
occur
   INFO: [mplex] Run-in Sectors = 90 Video delay = 13165 Audio delay = 20365
   INFO: [mplex] New sequence commences...
   INFO: [mplex] Video e0: buf=      0 frame=000000 sector=00000000
   INFO: [mplex] Audio c0: buf=      0 frame=000000 sector=00000000
   INFO: [mplex] Audio c1: buf=      0 frame=000000 sector=00000000
   INFO: [mplex] STREAM e0 completed @ frame 7233.
   INFO: [mplex] STREAM c0 completed @ frame 12059.
   INFO: [mplex] STREAM c1 completed @ frame 12059.
   INFO: [mplex] Multiplex completion at SCR=26055241.
   INFO: [mplex] Video e0: buf=      0 frame=007233 sector=00062913
   INFO: [mplex] Audio c0: buf=   3456 frame=012059 sector=00003439
   INFO: [mplex] Audio c1: buf=   3456 frame=012059 sector=00003439
   INFO: [mplex] VIDEO_STATISTICS: e0
   INFO: [mplex] Video Stream length:   126803023 bytes
   INFO: [mplex] Sequence headers:      603
   INFO: [mplex] Sequence ends   :        0
   INFO: [mplex] No. Pictures    :     7234
   INFO: [mplex] No. Groups      :      603
   INFO: [mplex] No. I Frames    :      603 avg. size 48397 bytes
   INFO: [mplex] No. P Frames    :     3015 avg. size 22315 bytes
   INFO: [mplex] No. B Frames    :     3617 avg. size  8384 bytes
   INFO: [mplex] Average bit-rate :  3505200 bits/sec
   INFO: [mplex] Peak bit-rate    :  4710000  bits/sec
   INFO: [mplex] BUFFERING min 15 Buf max 134306
   INFO: [mplex] AUDIO_STATISTICS: c0
   INFO: [mplex] Audio stream length 6946560 bytes.
   INFO: [mplex] Syncwords      :    12060
   INFO: [mplex] Frames         :    12060 padded
   INFO: [mplex] Frames         :        0 unpadded
   INFO: [mplex] BUFFERING min 15 Buf max 587
   INFO: [mplex] AUDIO_STATISTICS: c1
   INFO: [mplex] Audio stream length 6946560 bytes.
   INFO: [mplex] Syncwords      :    12060
   INFO: [mplex] Frames         :    12060 padded
   INFO: [mplex] Frames         :        0 unpadded
   INFO: [mplex] BUFFERING min 15 Buf max 587
   INFO: [mplex] MUX STATUS: no under-runs detected.

Bernhard Praschinger wrote:
> 
> Or run mplex in gdb and do a backtrace of the crash.
> 
I tried to run mplex in gdb mode and do backtrace, but this was my first
time using 'gdb' - Is this enough?

gdb --args mplex -f 8 -S 0 -M -o test.mpeg2 test.m2v test_EN.m2a 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/mplex -f 8 -S 0 -M -o test.mpeg2 test.m2v
test_EN.m2a
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
   INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
   INFO: [mplex] File test.m2v looks like an MPEG Video stream.
   INFO: [mplex] File test_EN.m2a looks like an MPEG Audio stream.
   INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard
options!
   INFO: [mplex] Found 1 audio streams and 1 video streams
   INFO: [mplex] Selecting dvdauthor DVD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: Video stream e0 (test.m2v) 
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width     : 544
   INFO: [mplex] Frame height    : 576
   INFO: [mplex] Aspect ratio    : 4:3 display
   INFO: [mplex] Picture rate    : 25.000 frames/sec
   INFO: [mplex] Bit rate        : 10000000 bits/sec
   INFO: [mplex] Vbv buffer size : 176128 bytes
   INFO: [mplex] CSPF            : 0
   INFO: [mplex] Scanning for header info: Audio stream c0 (test_EN.m2a)
[New Thread 0xb7d746d0 (LWP 18438)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7d746d0 (LWP 18438)]
0xb8030efa in MPAStream::Init () from /usr/lib/libmplex2-1.9.so.0
(gdb) backtrace
#0  0xb8030efa in MPAStream::Init () from /usr/lib/libmplex2-1.9.so.0
#1  0xb8034965 in Multiplexor::InitInputStreamsForVideo () from
/usr/lib/libmplex2-1.9.so.0
#2  0xb80350e1 in Multiplexor::InitInputStreams () from
/usr/lib/libmplex2-1.9.so.0
#3  0xb80352b0 in Multiplexor::Multiplexor () from
/usr/lib/libmplex2-1.9.so.0
#4  0x0804a52c in ?? ()
#5  0xb7d8b775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#6  0x08049451 in ?? ()
(gdb)

br & thanks for any tips
-- 
View this message in context: http://www.nabble.com/mplex-fail......-tp23570219p23750346.html
Sent from the mjpeg-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic