Post by VÃctor PaesaHi,
Post by Dennis MeuwissenPost by VÃctor PaesaPost by Dennis MeuwissenBecause it's part of an automated process that can handle more than one
audio stream, hence the -map parameters (together with -newaudio when
more than one audio stream is muxed). In the case of muxing any dvd
-target is indeed equal to -f dvd, but I used -target for consistency's
sake.
Please avoid top-posting, it makes hard to follow your case history.
ffmpeg -i "0.0.m2v" -i "0.0.ac3" -target ntsc-dvd \
-vcodec copy -acodec copy "title0.vob" -map 0:0 -map 1:0
Reordering the options makes no difference unfortunately.
ffmpeg -i "3gp.3gp" -target ntsc-dvd -ab 64k -ac 1 -acodec ac3 -vn "0.0.ac3"
ffmpeg -i "3gp.3gp" -target ntsc-dvd \
-minrate 3000000 -maxrate 3000000 -b 3000000 -me log \
-sc_threshold -3500 -bf 2 -dc 9 -aspect 4:3 -s 720x480 -an "0.0.m2v"
And could you please post ffmpeg's output messages
(in the 3 command lines)?
Again, no difference in output.
Audio:
C:\Documents and Settings\Dennis\Bureaublad\dvdflick\ffmpeg.exe -i
"c:\documents and settings\dennis\bureaublad\dvdflick\samples\3gp.3gp"
-target ntsc-dvd -ab 64k -ac 1 -acodec ac3 -vn "e:\woodvd\0.0.0.ac3"
FFmpeg version SVN-r8047, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-liba52 --enable-avisynth --enable-libdts
--enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame
--enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis
--enable-x264 --enable-xvid --enable-amr_nb --enable-amr_wb --cpu=i686
--enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.3.0
libavcodec version: 51.34.0
libavformat version: 51.10.0
built on Feb 21 2007 23:20:24, gcc: 4.3.0 20070126 (experimental)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\documents and
settings\dennis\bureaublad\dvdflick\samples\3gp.3gp':
Duration: 00:00:38.2, start: 0.000000, bitrate: 89 kb/s
Stream #0.0(jpn): Video: h263, yuv420p, 176x144, 29.97 fps(r)
Stream #0.1(jpn): Audio: amr_nb, 8000 Hz, mono
Output #0, dvd, to 'e:\woodvd\0.0.0.ac3':
Stream #0.0: Audio: ac3, 48000 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 88kB time=11.0 bitrate= 65.7kbits/s
size= 176kB time=22.0 bitrate= 65.6kbits/s
size= 270kB time=34.0 bitrate= 65.1kbits/s
size= 306kB time=38.2 bitrate= 65.7kbits/s
video:0kB audio:298kB global headers:0kB muxing overhead 2.598491%
Video:
C:\Documents and Settings\Dennis\Bureaublad\dvdflick\ffmpeg.exe -i
"c:\documents and settings\dennis\bureaublad\dvdflick\samples\3gp.3gp"
-target ntsc-dvd -minrate 3000000 -maxrate 3000000 -b 3000000 -me log
-sc_threshold -3500 -bf 2 -dc 9 -aspect 4:3 -s 720x480 -an
"e:\woodvd\0.0.m2v"
FFmpeg version SVN-r8047, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-liba52 --enable-avisynth --enable-libdts
--enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame
--enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis
--enable-x264 --enable-xvid --enable-amr_nb --enable-amr_wb --cpu=i686
--enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.3.0
libavcodec version: 51.34.0
libavformat version: 51.10.0
built on Feb 21 2007 23:20:24, gcc: 4.3.0 20070126 (experimental)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\documents and
settings\dennis\bureaublad\dvdflick\samples\3gp.3gp':
Duration: 00:00:38.2, start: 0.000000, bitrate: 89 kb/s
Stream #0.0(jpn): Video: h263, yuv420p, 176x144, 29.97 fps(r)
Stream #0.1(jpn): Audio: amr_nb, 8000 Hz, mono
Output #0, dvd, to 'e:\woodvd\0.0.m2v':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 3000 kb/s,
29.97 fps(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 16 q=2.0 size= 214kB time=0.4 bitrate=4041.5kbits/s
frame= 38 q=4.4 size= 470kB time=1.2 bitrate=3296.9kbits/s
<..snip..>
frame= 1127 q=2.5 size= 14104kB time=37.5 bitrate=3080.7kbits/s
frame= 1137 q=2.5 Lsize= 14262kB time=37.9 bitrate=3082.3kbits/s
video:6114kB audio:0kB global headers:0kB muxing overhead 133.280914%
Muxing:
C:\Documents and Settings\Dennis\Bureaublad\dvdflick\ffmpeg.exe -i
"e:\woodvd\0.0.m2v" -i "e:\woodvd\0.0.ac3" -target ntsc-dvd -vcodec copy
-acodec copy "e:\woodvd\title0.vob" -map 0:0 -map 1:0
FFmpeg version SVN-r8047, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-liba52 --enable-avisynth --enable-libdts
--enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame
--enable-libnut --enable-libogg --enable-libtheora --enable-libvorbis
--enable-x264 --enable-xvid --enable-amr_nb --enable-amr_wb --cpu=i686
--enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.3.0
libavcodec version: 51.34.0
libavformat version: 51.10.0
built on Feb 21 2007 23:20:24, gcc: 4.3.0 20070126 (experimental)
Input #0, mpeg, from 'e:\woodvd\0.0.m2v':
Duration: 00:00:37.2, start: 0.500000, bitrate: 3140 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 3000 kb/s,
29.97 fps(r)
Input #1, mpeg, from 'e:\woodvd\0.0.ac3':
Duration: 00:00:07.5, start: 0.500000, bitrate: 330 kb/s
Stream #1.0[0x80]: Audio: ac3, 48000 Hz, mono, 64 kb/s
Output #0, dvd, to 'e:\woodvd\title0.vob':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 3000 kb/s,
29.97 fps(c)
Stream #0.1: Audio: ac3, 48000 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
frame= 900 q=0.0 size= 11312kB time=30.0 bitrate=3089.3kbits/s
frame= 1137 q=159952.3 Lsize= 14318kB time=37.9 bitrate=3094.4kbits/s
video:13842kB audio:298kB global headers:0kB muxing overhead 1.258463%
Post by VÃctor PaesaPost by Dennis MeuwissenPost by VÃctor PaesaPost by Dennis MeuwissenPost by herve.floresPost by Dennis Meuwissenhttp://members.home.nl/meuwissenth/3gp.3gp that was converted to
audio plus video using
ffmpeg -i "3gp.3gp" -ab 64 -ac 1 -acodec ac3 -target ntsc-dvd -vn "0.0.ac3"
ffmpeg -i "3gp.3gp" -minrate 3000000 -maxrate 3000000 -b 3000000 -me
log -sc_threshold -3500 -bf 2 -dc 9 -aspect 4:3 -s 720x480 -target
ntsc-dvd -an "0.0.m2v"
http://members.home.nl/meuwissenth/0.0.ac3
http://members.home.nl/meuwissenth/0.0.m2v
I do them separately because they're part of an automated process
that might also concatenate two or more converted video files.
They were muxed together using
ffmpeg -vcodec copy -acodec copy -i "0.0.m2v" -i "0.0.ac3" -target
ntsc-dvd "title0.vob" -map 0:0 -map 1:0
you encode elementary streams, then you mux them (with a lot of
"complicated" parameters: map, target)
why did you only mux them like this?
ffmpeg -vcodec copy -acodec copy -i "0.0.m2v" -i "0.0.ac3" -f dvd
"title0.vob"
PS: works great with dvdauthor (and the framerate or size is include
in the m2v, no problem)
Regards,
V?ctor
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at mplayerhq.hu
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user