[FFmpeg-user] transcode for making a DVD?

. peace at AleksandrSolzhenitsyn.net
Thu Dec 27 14:33:28 CET 2012


Sorry for the messed up code folks.  This is a pain. I can't get the
email to take the code I pasted into it and make it look nice.

Too many hassles for this to continue.

I quit.



On 12/27/2012 08:29 AM, . wrote:
>
> On 12/27/2012 07:18 AM, Rodney Baker wrote:
>> On Thu, 27 Dec 2012 08:57:33 . wrote:
>>> What code should I use, generally, for making a DVD compatible file?
>>>
>>> Here's what I would like to do;
>>>
>>> 1- Take an mp4 file and convert so that it can be burned to a DVD. (I'm
>>> in the US so I think the US uses either PAL or NTSC or whatever it's
>>> called).
>> ffmpeg -i <input_file> -target ntsc-dvd <output_filename>.VOB
> The resulting audio is just buzzing.  Here's the output;
>
>> $ ffmpeg -i ts.mp4 -target ntsc-dvd TS.VOB
>> ffmpeg version git-2012-06-29-c103dc0 Copyright (c) 2000-2012 the
>> FFmpeg developers
>>   built on Jun 28 2012 21:43:37 with gcc 4.6.3
>>   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
>> --enable-libopencore-amrnb --enable-libopencore-amrwb
>> --enable-libtheora --enable-libvorbis --enable-libvpx
>> --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
>>   libavutil      51. 63.100 / 51. 63.100
>>   libavcodec     54. 29.101 / 54. 29.101
>>   libavformat    54. 11.100 / 54. 11.100
>>   libavdevice    54.  0.100 / 54.  0.100
>>   libavfilter     3.  0.100 /  3.  0.100
>>   libswscale      2.  1.100 /  2.  1.100
>>   libswresample   0. 15.100 /  0. 15.100
>>   libpostproc    52.  0.100 / 52.  0.100
>> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ts.mp4':
>>   Metadata:
>>     major_brand     : mp42
>>     minor_version   : 0
>>     compatible_brands: isomavc1mp42
>>     creation_time   : 2010-02-20 21:17:02
>>   Duration: 00:02:22.07, start: 0.000000, bitrate: 562 kb/s
>>     Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono,
>> s16, 72 kb/s
>>     Metadata:
>>       creation_time   : 2010-02-20 21:17:02
>>       handler_name    : (C) 2007 Google Inc. v08.13.2007.
>>     Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 /
>> 0x31637661), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 486 kb/s, 29.97
>> fps, 29.97 tbr, 30k tbn, 59.94 tbc
>>     Metadata:
>>       creation_time   : 2010-02-20 21:17:02
>>       handler_name    : (C) 2007 Google Inc. v08.13.2007.
>> [graph 0 input from stream 0:1 @ 0xa321fe0] w:480 h:270
>> pixfmt:yuv420p tb:1/30000 fr:30000/1001 sar:1/1 sws_param:flags=2
>> [output stream 0:0 @ 0xa2e0ec0] No opaque field provided
>> [scaler for output stream 0:0 @ 0xa2e1040] w:480 h:270 fmt:yuv420p
>> sar:1/1 -> w:720 h:480 fmt:yuv420p sar:32/27 flags:0x4
>> [graph 1 input from stream 0:0 @ 0xa2e09c0] tb:1/44100 samplefmt:s16
>> samplerate:44100 chlayout:0x4
>> [auto-inserted resampler 0 @ 0xa371fa0] chl:mono fmt:s16 r:44100Hz ->
>> chl:mono fmt:flt r:48000Hz
>> Output #0, dvd, to 'TS.VOB':
>>   Metadata:
>>     major_brand     : mp42
>>     minor_version   : 0
>>     compatible_brands: isomavc1mp42
>>     encoder         : Lavf54.11.100
>>     Stream #0:0(und): Video: mpeg2video, yuv420p, 720x480 [SAR 32:27
>> DAR 16:9], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc
>>     Metadata:
>>       creation_time   : 2010-02-20 21:17:02
>>       handler_name    : NOTHING
>>     Stream #0:1(und): Audio: ac3, 48000 Hz, mono, flt, 448 kb/s
>>     Metadata:
>>       creation_time   : 2010-02-20 21:17:02
>>       handler_name    : (C) 2007 Google Inc. v08.13.2007.
>> Stream mapping:
>>   Stream #0:1 -> #0:0 (h264 -> mpeg2video)
>>   Stream #0:0 -> #0:1 (aac -> ac3)
>> Press [q] to stop, [?] for help
>> frame=   43 fps=0.0 q=2.0 size=     298kB time=00:00:01.36
>> bitrate=1784.5kbits/sframe=   82 fps= 82 q=2.0 size=     648kB
>> time=00:00:02.66 bitrate=1988.7kbits/sframe=  120 fps= 80 q=2.0
>> size=    1016kB time=00:00:03.93 bitrate=2113.9kbits/sframe=  157
>> fps= 78 q=2.0 size=    1444kB time=00:00:05.17
>> bitrate=2287.2kbits/sframe=  197 fps= 79 q=2.0 size=    1810kB
>> time=00:00:06.50 bitrate=2278.9kbits/sframe=  236 fps= 78 q=1.6
>> size=    2296kB time=00:00:07.80 bitrate=2409.0kbits/sframe=  276
>> fps= 78 q=2.0 size=    2770kB time=00:00:09.14
>> bitrate=2482.0kbits/sframe=  314 fps= 78 q=2.0 size=    3368kB
>> time=00:00:10.41 bitrate=2650.3kbits/sframe=  354 fps= 78 q=2.0
>> size=    3786kB time=00:00:11.74 bitrate=2640.7kbits/sframe=  392
>> fps= 78 q=2.0 size=    4358kB time=00:00:13.01
>> bitrate=2743.5kbits/sframe=  431 fps= 78 q=2.0 size=    4876kB
>> time=00:00:14.31 bitrate=2790.5kbits/sframe=  471 fps= 78 q=2.0
>> size=    5410kB time=00:00:15.64 bitrate=2832.1kbits/sframe=  503
>> fps=0.0 q=2.0 size=    6228kB time=00:00:16.71
>> bitrate=3052.0kbits/sframe=  539 fps= 76 q=2.0 size=    7058kB
>> time=00:00:17.91 bitrate=3226.9kbits/sframe=  576 fps= 76 q=1.6
>> size=    7860kB time=00:00:19.15 bitrate=3361.9kbits/sframe=  610
>> fps=0.0 q=2.0 size=    8508kB time=00:00:20.28
>> bitrate=3435.6kbits/sframe=  648 fps= 76 q=1.6 size=    9312kB
>> time=00:00:21.55 bitrate=3539.1kbits/sframe=  684 fps= 75 q=1.6
>> size=   10106kB time=00:00:22.75 bitrate=3638.1kbits/sframe=  718
>> fps= 75 q=2.0 size=   10820kB time=00:00:23.89
>> bitrate=3710.1kbits/sframe=  755 fps= 75 q=2.0 size=   11682kB
>> time=00:00:25.12 bitrate=3808.9kbits/sframe=  790 fps= 75 q=2.0
>> size=   12528kB time=00:00:26.29 bitrate=3903.3kbits/sframe=  825
>> fps= 74 q=2.0 size=   13272kB time=00:00:27.46
>> bitrate=3959.3kbits/sframe=  857 fps= 74 q=2.0 size=   13862kB
>> time=00:00:28.52 bitrate=3980.5kbits/sframe=  891 fps= 73 q=2.0
>> size=   14522kB time=00:00:29.66 bitrate=4010.5kbits/sframe=  925
>> fps= 73 q=2.0 size=   15276kB time=00:00:30.79
>> bitrate=4063.4kbits/sframe=  957 fps= 73 q=1.6 size=   16232kB
>> time=00:00:31.86 bitrate=4173.0kbits/sframe=  991 fps= 73 q=2.0
>> size=   17026kB time=00:00:32.99 bitrate=4226.6kbits/sframe= 1024
>> fps= 72 q=2.0 size=   17774kB time=00:00:34.10
>> bitrate=4269.8kbits/sframe= 1054 fps= 72 q=2.0 size=   18808kB
>> time=00:00:35.10 bitrate=4389.4kbits/sframe= 1085 fps= 72 q=2.0
>> size=   19828kB time=00:00:36.13 bitrate=4495.0kbits/sframe= 1115
>> fps= 71 q=2.0 size=   20826kB time=00:00:37.13
>> bitrate=4594.0kbits/sframe= 1146 fps= 71 q=2.0 size=   21484kB
>> time=00:00:38.17 bitrate=4610.7kbits/sframe= 1183 fps= 71 q=2.0
>> size=   21946kB time=00:00:39.40 bitrate=4562.3kbits/sframe= 1222
>> fps= 71 q=2.0 size=   22356kB time=00:00:40.70
>> bitrate=4499.0kbits/sframe= 1259 fps= 71 q=2.0 size=   22884kB
>> time=00:00:41.94 bitrate=4469.7kbits/sframe= 1293 fps= 71 q=2.0
>> size=   23654kB time=00:00:43.07 bitrate=4498.4kbits/sframe= 1327
>> fps= 71 q=2.0 size=   24376kB time=00:00:44.21
>> bitrate=4516.7kbits/sframe= 1360 fps= 71 q=2.0 size=   25094kB
>> time=00:00:45.31 bitrate=4536.8kbits/sframe= 1391 fps= 71 q=2.0
>> size=   25752kB time=00:00:46.34 bitrate=4551.8kbits/sframe= 1424
>> fps= 70 q=2.0 size=   26406kB time=00:00:47.44
>> bitrate=4559.1kbits/sframe= 1454 fps= 70 q=2.0 size=   27046kB
>> time=00:00:48.44 bitrate=4573.1kbits/sframe= 1488 fps= 70 q=2.0
>> size=   27802kB time=00:00:49.58 bitrate=4593.4kbits/sframe= 1523
>> fps= 70 q=2.0 size=   28516kB time=00:00:50.75
>> bitrate=4603.0kbits/sframe= 1559 fps= 70 q=2.0 size=   29242kB
>> time=00:00:51.95 bitrate=4611.0kbits/sframe= 1594 fps= 70 q=2.0
>> size=   29970kB time=00:00:53.11 bitrate=4621.9kbits/sframe= 1630
>> fps= 70 q=2.0 size=   30662kB time=00:00:54.32
>> bitrate=4624.1kbits/sframe= 1666 fps= 70 q=2.0 size=   31504kB
>> time=00:00:55.52 bitrate=4648.3kbits/sframe= 1705 fps= 70 q=2.0
>> size=   32024kB time=00:00:56.82 bitrate=4616.8kbits/sframe= 1743
>> fps= 70 q=2.0 size=   32564kB time=00:00:58.09
>> bitrate=4592.2kbits/sframe= 1780 fps= 70 q=2.0 size=   33236kB
>> time=00:00:59.32 bitrate=4589.4kbits/sframe= 1817 fps= 70 q=2.0
>> size=   34016kB time=00:01:00.56 bitrate=4601.3kbits/sframe= 1850
>> fps=0.0 q=2.0 size=   34688kB time=00:01:01.66
>> bitrate=4608.4kbits/sframe= 1886 fps= 70 q=2.0 size=   35348kB
>> time=00:01:02.86 bitrate=4606.4kbits/sframe= 1925 fps= 71 q=2.0
>> size=   36058kB time=00:01:04.16 bitrate=4603.6kbits/sframe= 1962
>> fps= 71 q=2.0 size=   36712kB time=00:01:05.39
>> bitrate=4598.6kbits/sframe= 1998 fps= 71 q=2.0 size=   37346kB
>> time=00:01:06.59 bitrate=4593.7kbits/sframe= 2036 fps= 71 q=2.0
>> size=   37936kB time=00:01:07.86 bitrate=4579.1kbits/sframe= 2072
>> fps= 71 q=2.0 size=   38454kB time=00:01:09.06
>> bitrate=4560.9kbits/sframe= 2110 fps= 71 q=2.0 size=   39154kB
>> time=00:01:10.33 bitrate=4560.2kbits/sframe= 2145 fps= 71 q=1.6
>> size=   39792kB time=00:01:11.50 bitrate=4558.8kbits/sframe= 2183
>> fps= 71 q=2.0 size=   40398kB time=00:01:12.77
>> bitrate=4547.6kbits/sframe= 2213 fps= 71 q=2.0 size=   40996kB
>> time=00:01:13.77 bitrate=4552.3kbits/sframe= 2233 fps= 70 q=2.0
>> size=   41282kB time=00:01:14.44 bitrate=4543.0kbits/sframe= 2264
>> fps= 70 q=2.0 size=   42212kB time=00:01:15.47
>> bitrate=4581.6kbits/sframe= 2300 fps= 70 q=2.0 size=   42982kB
>> time=00:01:16.67 bitrate=4592.1kbits/sframe= 2331 fps= 70 q=2.0
>> size=   43632kB time=00:01:17.71 bitrate=4599.5kbits/sframe= 2366
>> fps= 70 q=2.0 size=   44266kB time=00:01:18.87
>> bitrate=4597.3kbits/sframe= 2396 fps= 70 q=2.0 size=   44730kB
>> time=00:01:19.87 bitrate=4587.2kbits/sframe= 2432 fps= 70 q=2.0
>> size=   45186kB time=00:01:21.08 bitrate=4565.4kbits/sframe= 2475
>> fps= 70 q=2.0 size=   45720kB time=00:01:22.51
>> bitrate=4539.0kbits/sframe= 2514 fps= 70 q=2.0 size=   46198kB
>> time=00:01:23.81 bitrate=4515.2kbits/sframe= 2555 fps= 70 q=2.0
>> size=   46678kB time=00:01:25.18 bitrate=4488.9kbits/sframe= 2585
>> fps=0.0 q=2.0 size=   47378kB time=00:01:26.18
>> bitrate=4503.3kbits/sframe= 2616 fps= 70 q=2.0 size=   48346kB
>> time=00:01:27.22 bitrate=4540.8kbits/sframe= 2644 fps= 70 q=2.0
>> size=   49204kB time=00:01:28.15 bitrate=4572.4kbits/sframe= 2677
>> fps= 70 q=2.0 size=   49906kB time=00:01:29.25
>> bitrate=4580.4kbits/sframe= 2713 fps= 70 q=2.0 size=   50510kB
>> time=00:01:30.45 bitrate=4574.3kbits/sframe= 2753 fps= 70 q=2.0
>> size=   50954kB time=00:01:31.79 bitrate=4547.4kbits/sframe= 2789
>> fps= 70 q=2.0 size=   51328kB time=00:01:32.99
>> bitrate=4521.6kbits/sframe= 2824 fps= 70 q=2.0 size=   51566kB
>> time=00:01:34.16 bitrate=4486.3kbits/sframe= 2869 fps= 70 q=2.0
>> size=   51862kB time=00:01:35.66 bitrate=4441.2kbits/sframe= 2902
>> fps= 70 q=2.0 size=   52086kB time=00:01:36.76
>> bitrate=4409.6kbits/sframe= 2941 fps= 70 q=2.0 size=   52338kB
>> time=00:01:38.06 bitrate=4372.1kbits/sframe= 2986 fps= 70 q=2.0
>> size=   52658kB time=00:01:39.56 bitrate=4332.5kbits/sframe= 3033
>> fps= 71 q=2.0 size=   52992kB time=00:01:41.13
>> bitrate=4292.4kbits/sframe= 3077 fps= 71 q=2.0 size=   53312kB
>> time=00:01:42.60 bitrate=4256.5kbits/sframe= 3118 fps= 71 q=2.0
>> size=   53624kB time=00:01:43.97 bitrate=4225.1kbits/sframe= 3160
>> fps= 71 q=2.0 size=   53928kB time=00:01:45.37
>> bitrate=4192.6kbits/sframe= 3196 fps= 71 q=2.0 size=   54196kB
>> time=00:01:46.57 bitrate=4165.9kbits/sframe= 3239 fps= 71 q=2.0
>> size=   54538kB time=00:01:48.00 bitrate=4136.5kbits/sframe= 3279
>> fps= 71 q=2.0 size=   55002kB time=00:01:49.34
>> bitrate=4120.8kbits/sframe= 3310 fps= 71 q=2.0 size=   55506kB
>> time=00:01:50.37 bitrate=4119.6kbits/sframe= 3338 fps= 71 q=2.0
>> size=   55958kB time=00:01:51.31 bitrate=4118.3kbits/sframe= 3373
>> fps= 71 q=2.0 size=   56618kB time=00:01:52.47
>> bitrate=4123.6kbits/sframe= 3411 fps= 71 q=2.0 size=   57222kB
>> time=00:01:53.74 bitrate=4121.1kbits/sframe= 3446 fps= 71 q=2.0
>> size=   57734kB time=00:01:54.91 bitrate=4115.7kbits/sframe= 3488
>> fps= 71 q=2.0 size=   58202kB time=00:01:56.31
>> bitrate=4099.1kbits/sframe= 3529 fps= 71 q=2.0 size=   58682kB
>> time=00:01:57.68 bitrate=4084.9kbits/sframe= 3571 fps= 71 q=2.0
>> size=   59082kB time=00:01:59.08 bitrate=4064.3kbits/sframe= 3611
>> fps= 71 q=2.0 size=   59414kB time=00:02:00.42
>> bitrate=4041.8kbits/sframe= 3654 fps= 72 q=2.0 size=   59864kB
>> time=00:02:01.85 bitrate=4024.5kbits/sframe= 3689 fps= 72 q=2.0
>> size=   60414kB time=00:02:03.02 bitrate=4022.9kbits/sframe= 3730
>> fps= 72 q=2.0 size=   60948kB time=00:02:04.39
>> bitrate=4013.8kbits/sframe= 3769 fps= 72 q=2.0 size=   61496kB
>> time=00:02:05.69 bitrate=4008.0kbits/sframe= 3810 fps= 72 q=1.6
>> size=   62134kB time=00:02:07.06 bitrate=4006.0kbits/sframe= 3848
>> fps= 72 q=2.0 size=   62644kB time=00:02:08.32
>> bitrate=3999.0kbits/sframe= 3887 fps= 72 q=2.0 size=   63200kB
>> time=00:02:09.62 bitrate=3994.0kbits/sframe= 3926 fps= 72 q=2.0
>> size=   63762kB time=00:02:10.93 bitrate=3989.4kbits/sframe= 3963
>> fps= 72 q=2.0 size=   64274kB time=00:02:12.16
>> bitrate=3983.9kbits/sframe= 3998 fps= 72 q=2.0 size=   64880kB
>> time=00:02:13.33 bitrate=3986.2kbits/sframe= 4038 fps= 72 q=2.0
>> size=   65220kB time=00:02:14.66 bitrate=3967.4kbits/sframe= 4075
>> fps= 72 q=2.0 size=   65574kB time=00:02:15.90
>> bitrate=3952.7kbits/sframe= 4111 fps= 72 q=2.0 size=   65908kB
>> time=00:02:17.10 bitrate=3938.0kbits/sframe= 4152 fps= 72 q=1.6
>> size=   66262kB time=00:02:18.47 bitrate=3920.1kbits/sframe= 4191
>> fps= 72 q=2.0 size=   66632kB time=00:02:19.77
>> bitrate=3905.3kbits/sframe= 4223 fps= 72 q=2.0 size=   66972kB
>> time=00:02:20.84 bitrate=3895.4kbits/sframe= 4258 fps= 72 q=1.6
>> Lsize=   67374kB time=00:02:22.04 bitrate=3885.7kbits/s    
>> video:58045kB audio:7770kB subtitle:0 global headers:0kB muxing
>> overhead 2.369414%
>>
>
>
>
>
>
>> ffmpeg will write VOB files directly without any further steps needed.
>>> 1a- DVD authoring (like DVDStyler) isn't necessary
>>>
>> Then you can simply proceed to step 2.
>>
>>> 2- Burn the resulting file created in step 1 using K3b or something
>>> similar.
>>>
>>> 3- Execute the above with the least amount of hassles.
>>>
>>>
>>> Any ideas?
>>>
>>> Thank you
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121227/01d13216/attachment.asc>


More information about the ffmpeg-user mailing list