[prev in list] [next in list] [prev in thread] [next in thread]
List: mjpeg-users
Subject: Re: [Mjpeg-users] mplex "file mov03d.m2v unrecogniseable!"
From: Mark Heath <mjpeg0 () silicontrip ! org>
Date: 2008-10-18 2:29:55
Message-ID: E776298A-70BC-479D-A5C3-10CDF43668F1 () silicontrip ! org
[Download RAW message or body]
On 18/10/2008, at 1:31 AM, Curt Howland wrote:
>> Are you able to make the file available?
>
> http://pages.suddenlink.net/curthowland/mov018.m2v
> http://pages.suddenlink.net/curthowland/mov018.mpg
>
> This is the original right off the camera, and the file created with
> mplayer -dumpfile "mov018.m2v" -dumpvideo "mov018.mpg"
>
> It's only 6M rather than 20M with the clip mentioned earlier, but
> they're all showing exactly the same behavior.
Yeah, don't use mplayer's -dumpvideo to demux.
bbdmux is a very good demuxer. I recommend it for anyone who is doing
this. I've had it demux files where other demuxers have spat it.
However ffmpeg works just as well (and I don't have bbdmux installed
on this machine)
These are the commands I used to get it to work: (carriage returns
have been added for clarity, and ~/Movies% is my prompt)
~/Movies% ffmpeg -i mov018.mpg -vcodec copy mov018.m2v
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
configuration: --enable-memalign-hack --enable-mp3lame --enable-
gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --
enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-
amr_wb --enable-pthreads --enable-x264
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc.
build 5250)
Input #0, mpeg, from 'mov018.mpg':
Duration: 00:00:02.2, start: 0.190889, bitrate: 10956 kb/s
Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p,
720x480, 8900 kb/s
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Output #0, mpeg2video, to 'mov018.m2v':
Stream #0.0, 29.97 fps(c): Video: mpeg2video, yuv420p, 720x480,
q=2-31, 8900 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 75 q=0.0 Lsize= 2702kB time=2.5 bitrate=8964.0kbits/s
video:2702kB audio:0kB global headers:0kB muxing overhead 0.000000%
~/Movies% file mov018.m2v
mov018.m2v: MPEG sequence, v2, MP@ML interlaced Y'CbCr 4:2:0 video,
CCIR/ITU NTSC 525, 4:3, 29.97 fps
~/Movies% ffmpeg -i mov018.mpg -acodec copy mov018.ac3
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mac OSX universal build for ffmpegX
configuration: --enable-memalign-hack --enable-mp3lame --enable-
gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --
enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-
amr_wb --enable-pthreads --enable-x264
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc.
build 5250)
Input #0, mpeg, from 'mov018.mpg':
Duration: 00:00:02.2, start: 0.190889, bitrate: 10956 kb/s
Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p,
720x480, 8900 kb/s
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Output #0, ac3, to 'mov018.ac3':
Stream #0.0: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 118kB time=2.5 bitrate= 384.0kbits/s
video:0kB audio:118kB global headers:0kB muxing overhead 0.000000%
~/Movies% file mov018.ac3
mov018.ac3: ATSC A/52 aka AC-3 aka Dolby Digital stream, 48 kHz,,
complete main (CM) 2 front/0 rear, LFE on,, 384 kbit/s reserved Dolby
Surround mode
~/Movies% mplex -f 8 -o mov.mpg mov018.m2v mov018.ac3
INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01
22:23:01 $)
INFO: [mplex] File mov018.m2v looks like an MPEG Video stream.
INFO: [mplex] File mov018.ac3 looks like an AC3 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 (mov018.m2v)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 720
INFO: [mplex] Frame height : 480
INFO: [mplex] Aspect ratio : 4:3 display
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : 8900000 bits/sec
INFO: [mplex] Vbv buffer size : 229376 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: AC3 Audio stream 00
(mov018.ac3)
INFO: [mplex] AC3 frame size = 1536
INFO: [mplex] AC3 AUDIO STREAM:
INFO: [mplex] Bit rate : 49152 bytes/sec (384 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 9484944
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in delay = 9009 Video delay = 9009 Audio delay =
18018
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 0 frame=000000 sector=00000000
INFO: [mplex] Audio bd: buf= 0 frame=000000 sector=00000000
INFO: [mplex] STREAM e0 completed
INFO: [mplex] STREAM bd completed
INFO: [mplex] Multiplex completion at SCR=216941.
INFO: [mplex] Video e0: completed
INFO: [mplex] Audio bd: completed
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 2766672 bytes
INFO: [mplex] Sequence headers: 5
INFO: [mplex] Sequence ends : 0
INFO: [mplex] No. Pictures : 74
INFO: [mplex] No. Groups : 5
INFO: [mplex] No. I Frames : 5 avg. size100409 bytes
INFO: [mplex] No. P Frames : 20 avg. size 50200 bytes
INFO: [mplex] No. B Frames : 50 avg. size 24680 bytes
INFO: [mplex] Average bit-rate : 8844400 bits/sec
INFO: [mplex] Peak bit-rate : 9291600 bits/sec
INFO: [mplex] BUFFERING min 653 Buf max 232544
INFO: [mplex] AUDIO_STATISTICS: bd
INFO: [mplex] Audio stream length 121344 bytes.
INFO: [mplex] Frames : 79
INFO: [mplex] BUFFERING min 163 Buf max 6403
INFO: [mplex] MUX STATUS: no under-runs detected.
~/Movies% dvdauthor -t -o TEST mov.mpg
DVDAuthor::dvdauthor, version 0.6.11.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing mov.mpg...
INFO: Video pts = 0.133 .. 2.602
INFO: Audio[0] pts = 0.200 .. 2.728
STAT: VOBU 5 at 2MB, 1 PGCS
WARN: GOP is not closed on cell 1 of source mov.mpg of pgc 1
INFO: Generating VTS with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x480
INFO: Audio ch 0 format: ac3/6ch, 48khz drc
STAT: fixed 5 VOBUS
~/Movies% dvdauthor -T -o TEST
DVDAuthor::dvdauthor, version 0.6.11.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: dvdauthor creating table of contents
INFO: Scanning TEST/VIDEO_TS/VTS_01_0.IFO
I then loaded DVD Player and pointed at the resulting VIDEO_TS
directory and it played fine.
I'm not sure if the remainder of the file causes issues with mpex or
dvdauthor, but the segment you made available works perfectly.
This way should be quicker and *cleaner* than re-encoding the video.
(personally I don't like re-encoding and try to avoid it)
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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