I'm surprised. I've been able, with Tovid, to convert flv files (or avi, or whatever), to mpg, and then create DVDs. Another possibly better program is cinelerra
. Install this program, and then install its documentation, and it will tell you how to render a video file (like flv) to mpeg2, which can then be used to create a dvd with dvdstyler. The link I provided gives some repositories where cinelerra is available, but it may also be available simply in the multimedia section of your distribution.
Anyway, here, below, is what they say for converting video files (like flv) into dvd burnable files (mpeg2, or, more simply --> mpg), using cinelerra. Note, I've tried this, and it works well. Once I get the mpg files, I use dvdstyler. You can also use cinelerra to join several smaller videos together.
188.8.131.52 yuv4mpeg pipe through ffmpeg
1. Select File->Render...
or press <SHIFT-R>. The render dialogue pops up.
2. In the render dialogue, you have the choice to render (a) the entire project, or (b) the highlighted selection, or (c) from In-point "[" to Out-point "]".
3. Make sure the Insertion strategy
is "Create new resources only".
4. Select the AC3 audio output file format.
5. Specify the audio output file name and path (example: your-movie.ac3).
6. Select Render audio tracks
and deselect Render video tracks.
7. Click on the wrench next to "Audio:". A new dialogue "Cinelerra: Audio Compression" pops up.
8. Set the bitrate to 128 kbps
(or leave it there).
9. Click OK, the compression dialogue disappears.
10. In the render dialogue, click OK, the dialogue disappears. Audio is rendered. Rendering audio is much faster than rendering video but might still take some seconds. Watch the progress bar in the main window's lower right corner.
11. Again, press <SHIFT-R>. The render dialogue pops up again.
12. Select the YUV4MPEG Stream
13. Specify the video output file name and path (example: your-movie.m2v).
14. Deselect Render audio tracks
and select Render video tracks
15. Click on the wrench next to "Video:". A new dialogue window "Cinelerra: YUV4MPEG stream" pops up. The first textbox should already contain the output filename and path you had specified in the render dialogue.
16. Select "Use Pipe:".
17. Fill the following command line into the second textbox:
ffmpeg -f yuv4mpegpipe -i - -y -target dvd -flags +ilme+ildct %
18. Click OK in the yuv4mpeg dialogue and in the render dialogue to render video output.
19. The resulting .m2v can be further processed together with the .ac3 audio with the following shell command, producing a dvd-compatible mpeg stream:
ffmpeg -i your-movie.ac3 -i your-movie.m2v -target dvd -flags +ilme+ildct your-movie.mpg
(Yes, the stream is sent through ffmpeg a second time.)
Note on ffmpeg command line options:
-i tells ffmpeg to read from standard input (in our pipe, this means from Cinelerra's render stream).
The -y option allows to overwrite existing target files (of course, it is safer to omit this, but then you must make sure to rename or delete previous results each time you want to render a new version).
The +ilme+ildct flags are for proper interlacing, bottom fields first, tested with PAL footage. Some Cinelerra versions suggest a similar command line in the ffmpeg pipe presets for DVD, however with erroneous syntax of the interlacing flags or without the flags.
Before proceeding to put your rendered mpeg2 data on DVD, you might want to watch and check your-movie.mpg in mplayer or xine/kaffeine.