Solved [Solved] ffmpeg, dvdauthor, webm

Hi!

Last time I have a problem with converting webm to mpg. When I play dvd converted file on DVD Player on TV it doesn't play smooth. I have ffmpeg version 2.1.1 but on previous version I didn't have problems.
My system is FreeBSD 10.0-RELEASE (amd64), ffmpeg versions:
Code:
ffmpeg -version
ffmpeg version 2.1.1
built on Mar 14 2014 06:32:04 with FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
configuration: --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-libass --enable-libcdio --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-iconv --enable-libmp3lame --disable-libbluray --enable-libv4l2 --enable-libmodplug --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --disable-libpulse --disable-indev=pulse --disable-outdev=pulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-nonfree --enable-version3
libavutil      52. 48.101 / 52. 48.101
libavcodec     55. 39.101 / 55. 39.101
libavformat    55. 19.104 / 55. 19.104
libavdevice    55.  5.100 / 55.  5.100
libavfilter     3. 90.100 /  3. 90.100
libavresample   1.  1.  0 /  1.  1.  0
libswscale      2.  5.101 /  2.  5.101
libswresample   0. 17.104 /  0. 17.104
libpostproc    52.  3.100 / 52.  3.100
What am I doing?
Code:
ffmpeg -i xy.webm -aspect 16:9 -target ntsc-dvd dvd.mpg 
dvdauthor -o dvd/ -t dvd.mpg
dvdauthor -o dvd/ -T
growisofs -Z /dev/cd0 -dvd-video dvd/

Everything looks okay but than as I wrote before, doesnt't play smooth, cut sound, stopped for a second...

Thanks in advance,

Fernandel
 
Re: ffmpeg, dvdauthor, webm

More info:

Code:
ffmpeg -i xy.webm -aspect 16:9 -target ntsc-dvd dvd.mpg
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 14 2014 06:32:04 with FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
  configuration: --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-libass --enable-libcdio --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-ffserver --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-iconv --enable-libmp3lame --disable-libbluray --enable-libv4l2 --enable-libmodplug --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --disable-libpulse --disable-indev=pulse --disable-outdev=pulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-nonfree --enable-version3
  libavutil      52. 48.101 / 52. 48.101
  libavcodec     55. 39.101 / 55. 39.101
  libavformat    55. 19.104 / 55. 19.104
  libavdevice    55.  5.100 / 55.  5.100
  libavfilter     3. 90.100 /  3. 90.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'jd.webm':
  Duration: 01:28:43.57, start: 0.000000, bitrate: 408 kb/s
    Stream #0:0: Video: vp8, yuv420p, 576x320, SAR 1:1 DAR 9:5, 1k fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
Output #0, dvd, to 'dvd.mpg':
  Metadata:
    encoder         : Lavf55.19.104
    Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, stereo, fltp, 448 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 -> mpeg2video)
  Stream #0:1 -> #0:1 (vorbis -> ac3)
Press [q] to stop, [?] for help
frame=159547 fps=577 q=2.0 Lsize= 1391468kB time=01:28:43.57 bitrate=2141.2kbits/s dup=26458 drop=0    
video:1055105kB audio:291134kB subtitle:0 global headers:0kB muxing overhead 3.359724%

and now dvdauthor:

Code:
dvdauthor -o dvd/ dvd.mpg
DVDAuthor::dvdauthor, version 0.7.1.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users@lists.sourceforge.net>

INFO: default video format is NTSC
ERR:  Must first specify -t, -m, or -x.
ajtim@lumiwa:~% dvdauthor -o dvd/ -t dvd.mpg
DVDAuthor::dvdauthor, version 0.7.1.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users@lists.sourceforge.net>

INFO: default video format is NTSC
INFO: dvdauthor creating VTS
STAT: Picking VTS 01

STAT: Processing dvd.mpg...
WARN: Audio pts for channel 0 moves backwards by 225; please remultiplex input.
WARN: Previous sector: 0.531 - 0.595
WARN: Current sector: 0.592 - 0.624
WARN: Audio pts for channel 0 moves backwards by 32; please remultiplex input.
WARN: Previous sector: 0.656 - 0.688
WARN: Current sector: 0.688 - 0.720
WARN: Audio pts for channel 0 moves backwards by 11; please remultiplex input.
WARN: Previous sector: 0.784 - 0.816
WARN: Current sector: 0.816 - 0.880
STAT: VOBU 8816 at 1358MB, 1 PGCs
INFO: Video pts = 0.533 .. 5324.084
INFO: Audio[0] pts = 0.531 .. 5324.112
STAT: VOBU 8817 at 1358MB, 1 PGCs
CHAPTERS: VTS[1/1] 0.000
INFO: Generating VTS with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 16:9
INFO: Resolution: 720x480
INFO: Audio ch 0 format: ac3/2ch,  48khz drc

STAT: fixed 8817 VOBUs

Thank you.
 
Re: ffmpeg, dvdauthor, webm

Does the mpg file play smoothly, before being converted to an ISO?

I've always taken the lazy way, and used tovid. Actually, I've always done it on Linux, so not sure if it would build on FreeBSD--there doesn't seem to be a current port though a very quick google indicates that there used to be one but that was marked for deprecation around November of last year.

At any rate, if the converted file plays smoothly, the problem is somewhere in the making of the DVD. If the mpg file has the same issues, then the problem is in the conversion. While this isn't that much help, at least it can help you narrow down where to look for problems .

For what it's worth, I just made a quick try on building tovid on FreeBSD-10, using the latest version, checked out using svnlite and it built and installed without a problem, after I installed the prerequisites.

http://tovid.wikia.com/wiki/Installing_tovid

I don't know if it would fix your issues, but figure it's worth mentioning. @mods, I didn't use any tags for tovid as it's not a FreeBSD program or port anymore.
 
Re: ffmpeg, dvdauthor, webm

scottro said:
Does the mpg file play smoothly, before being converted to an ISO?

I've always taken the lazy way, and used tovid. Actually, I've always done it on Linux, so not sure if it would build on FreeBSD--there doesn't seem to be a current port though a very quick google indicates that there used to be one but that was marked for deprecation around November of last year.

At any rate, if the converted file plays smoothly, the problem is somewhere in the making of the DVD. If the mpg file has the same issues, then the problem is in the conversion. While this isn't that much help, at least it can help you narrow down where to look for problems .

For what it's worth, I just made a quick try on building tovid on FreeBSD-10, using the latest version, checked out using svnlite and it built and installed without a problem, after I installed the prerequisites.

http://tovid.wikia.com/wiki/Installing_tovid

I don't know if it would fix your issues, but figure it's worth mentioning. @mods, I didn't use any tags for tovid as it's not a FreeBSD program or port anymore.

Yes, mpg play smoothly and I try *.vob too and it plays smoothly too. I didn't have time but I need to play DVD on computer and if is okay than is problem with DVD player?

Thank you.

P.S.
I will try to install tovid but I use linux-cs6-base now.
 
Re: ffmpeg, dvdauthor, webm

Well, all we've established is that it's not the transcoding that is the problem, it is the burning to DVD. As I said, I've always used tovid, but there are other programs to try. (I'm not familiar with them, because these days, I seldom burn to DVD.) I realize this isn't that much help, but at least we've figured out where the problem begins. There is a multimedia/dvdstyler available, although I have no experience of it. The machine that I used to see if tovid was an easy install is also using the CentOS version of Linux base and packages, but I don't think that's relevant. The packages you need to use with tovid are all native packages.
 
Re: ffmpeg, dvdauthor, webm

scottro said:
Well, all we've established is that it's not the transcoding that is the problem, it is the burning to DVD.

I did try burned DVD on laptop and two other computers and it works and I am doing all the time the same... I will try K3b which I have on KDE.
 
Re: ffmpeg, dvdauthor, webm

The problem is solved. I did install mencoder and conversion works without warnings and it plays without problems.
 
Re: SOLVED: ffmpeg, dvdauthor, webm

Thanks for the update. I have found mencoder to sometimes be faster in conversion than ffmpeg.
 
Back
Top