[vlc] ffmpeg, possible to re-mux transport-stream into program stream?

Ken ken.mplayer at onnet.cc
Tue Oct 24 18:16:40 CEST 2006


Hi,

I'm trying to re-mux a sony camcorder generated TS (a VBR TS) 
(containing AVC-AC3) into a program stream, but get:

ffmpeg -y -i 20061022152647.m2ts -acodec copy -vcodec copy -f dvd -sameq
-genpts out.mpg
FFmpeg version SVN-r6129, Copyright (c) 2000-2004 Fabrice Bellard
    configuration:  --enable-mp3lame --enable-libogg --enable-vorbis
--enable-faad --enable-faac --enable-xvid --enable-x264 --enable-mingw32
--enable-a52 --enable-dts --en
able-pp --enable-gpl --enable-memalign-hack --enable-amr_nb
--enable-amr_wb --enable-pthreads --enable-avisynth
    libavutil version: 49.0.0
    libavcodec version: 51.11.0
    libavformat version: 50.5.0
    built on Aug 31 2006 02:27:35, gcc: 4.0.3
[h264 @ 0083EE60]PAFF interlacing is not implemented
[h264 @ 0083EE60]concealing 3060 DC, 3060 AC, 3060 MV errors
Input #0, mpegts, from '20061022152647.m2ts':
    Duration: 00:00:24.9, start: 1.100100, bitrate: 16280 kb/s
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1440x1080, 29.97 fps(r)
    Stream #0.1[0x1100]: Audio: ac3
Output #0, dvd, to 'out.mpg':
    Stream #0.0: Video: h264, yuv420p, 1440x1080, q=2-31, 29.97 fps(c)
    Stream #0.1: Audio: ac3
Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
[dvd @ 009ECEA4]sample rate not set
Could not write header for output file #0 (incorrect codec parameters ?)

Am I mis-using something, or is this becasue one or more of the source
streams cannot be understood?

Thanks,
Ken

(PS example file at http://oonet.cc/20061022153649.m2ts)



-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list