Dear, I am using your ffmpeg2theora for converting VOB files to ogv. At converting VTS_01_2.VOB (second file from DVD) theora can not find video stream, only audio stream. Can you help me? Thanks Martin Koryt?r
On Nov 16, 2009, at 11:05 PM, Martin Koryt?r wrote:> I am using your ffmpeg2theora for converting VOB files to ogv. At > converting VTS_01_2.VOB (second file from DVD) theora can not find > video > stream, only audio stream.I use .vob files with ffmpeg2theora all the time and it works fine. So: Some questions: 1. You say it's the second file from the DVD. Are you trying to do the encode directly from the DVD? Most DVDs are copy protected, so an attempt such as that would not work. 2. Assuming that you've found a way to rip the DVD to your computer first, are you sure that the file in question even has video in the first place? 3. If you're sure it does, what happens when you try to play that file with something like VLC (http://videolan.org/vlc) 4. What is the output of ffmpeg2theora --info /path/to/file? 5. What version of ffmpeg2theora are you using? And what operating system?
On Nov 16, 2009, at 11:05 PM, Martin Koryt?r wrote:>/ I am using your ffmpeg2theora for converting VOB files to ogv. At/>/ converting VTS_01_2.VOB (second file from DVD) theora can not find />/ video />/ stream, only audio stream. / I use .vob files with ffmpeg2theora all the time and it works fine. So: Some questions: 1. You say it's the second file from the DVD. Are you trying to do the encode directly from the DVD? Most DVDs are copy protected, so an attempt such as that would not work. 2. Assuming that you've found a way to rip the DVD to your computer first, are you sure that the file in question even has video in the first place? 3. If you're sure it does, what happens when you try to play that file with something like VLC (http://videolan.org/vlc) 4. What is the output of ffmpeg2theora --info /path/to/file? 5. What version of ffmpeg2theora are you using? And what operating system? add 1. Thats are Home created DVDs on my DVD Recorder. add 2. I am sure. add 3. I am using Kaffeine, first ogv created from first vob on HDD is OK. At playing the second ogv file is played only sound. add 4. I not use info file, but by processing this is showed massage: Stream #0.0[0x1e0]; Video; 0x0000, 90k tbr, 90k tbn. add 5. I am using version 0.25 and my OS is openSUSE 11.0 Martin Koryt?r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20091117/c90eb57e/attachment.htm
>/ add 3. I am using Kaffeine, first ogv created from first vob on HDD is OK./>/ At playing the second ogv file is played only sound. / Sorry: My question was more: What happens when you play VTS_01_2.VOB (not the encoded copy?)>/ add 4. I not use info file/ Actually, the --info switch is not a file; it simply makes ffmpeg2theora print out information about the file in question. Can you please post the output of --info as requested? The syntax is ffmpeg2theora --info /path/to/file. FFmpeg has supported MPEG-2 decoding for ages (which I assume is what's in use in the .vob file.) Since you say another .vob file does work, it might be interesting to compare the output of the two and see what differences exist. Also, a small sample of the original .vob might be helpful. add 3. I have purchased Fluendo codec complete bundle, the video is OK, but audio is not working because Fluendo codecs haven't included Dolby codec. add 4. The info file: { "duration": 1367.936035, "bitrate": 6279.293945, "video": [{ "codec": "mu-law", "framerate": "90000:1", "id": 0 }], "audio": [{ "codec": "ac3", "samplerate": 48000, "channels": 6, "bitrate": 448.000000, "id": 1 }, { "codec": "ac3", "samplerate": 48000, "channels": 6, "bitrate": 448.000000, "id": 2 }], "oshash": "a4be0a5d6f5db6ed", "path": "VTS_01_2.VOB", "size": 1073709056 } Thanks for help. Martin Koryt?r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20091117/38b44a66/attachment.htm
>/ Surely that's because it's an audio format?/ That was my first reaction to seeing mu-law listed, and made me wonder why is ffmpeg2theora reporting it as being the video? Could it be at the source file contains 3 audio tracks (2 AC3, 1 mu-law, and that ffmpeg2theora isn't picking up on the video portion for some reason? Seems wierd. A small sample of the file might be interesting... How can I create the small sample of file VOB? Martin Koryt?r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20091117/9d231fd1/attachment.htm
> How can I create the small sample of file VOB?Something like this would create a 10MB file: dd if=/path/to/vob of=/this/is/my/small_vob bs=1024 count=10000
This command should get ffmpeg to tell you what you think it is: ffmpeg -i VTSwhatever-filename-it-was If this is correct, the bug is likely in ffmpeg2theora. If it lists mu-law aw video, the bug is likely in ffmpeg.
>/ How can I create the small sample of file VOB?/ Something like this would create a 10MB file: dd if=/path/to/vob of=/this/is/my/small_vob bs=1024 count=10000 Right, can I send you this file? Where? Martin Koryt?r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20091117/41646458/attachment.htm
The previous matter was in case commercial VOB files on bought DVD. But by home created DVD from DVD recorder appears by convert from VTS_01_2.VOB to ogv file following massage: Missing picture start code. Martin Koryt?r
Martin Koryt?r napsal(a):> Hi, > > I was send you the requested file. > > Martin Koryt?r >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Koryt?r escribi?: Hi:> I am using your ffmpeg2theora for converting VOB files to ogv. At > converting VTS_01_2.VOB (second file from DVD) theora can not find video > stream, only audio stream. Can you help me?You shouldn't use the VOBs directly. Is better to "play de DVD". You can use MENCODER to repack the DVD video and audio without recompressing it (and, of course, without quality loss). The trick is to use the "copy" codec: mencoder -oac copy -aid 1 -ovc copy -of mpeg -mpegopts format=dvd:tsaf - -o OUTPUT_FILE.MPG dvd://DVD_TRACK replacing OUTPUT_FILE.MPG with the file name you want as output, and DVD_TRACK with a number, to specify the track to repack (remember that menus are tracks too). When you have it repacked, use FFMPEG2THEORA to convert it. - -- Nos leemos RASTER (Linux user #228804) raster at rastersoft.com http://www.rastersoft.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksDEVUACgkQXEZvyfy1ha96/ACfWYqPIVEYej0moIVqzlBbYcA5 MnwAoNmUtOprowv5Lya1WwsZKNTpNpu6 =wjkI -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 rastersoft escribi?: Hi again:> mencoder -oac copy -aid 1 -ovc copy -of mpeg -mpegopts format=dvd:tsaf > -o OUTPUT_FILE.MPG dvd://DVD_TRACKSorry, this is the correct line: mencoder -oac copy -ovc copy -of mpeg -mpegopts format=dvd:tsaf - -o OUTPUT_FILE.MPG dvd://DVD_TRACK The -aid X parameter allows to choose the audio track desired. To list them, just do mencoder --identify dvd://DVD_TRACK |grep ID which should show all the info about the file (video and audio ids and more). - -- Nos leemos RASTER (Linux user #228804) raster at rastersoft.com http://www.rastersoft.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksDEwMACgkQXEZvyfy1ha/aRgCgydhzddiRaOFRLw8PwnMcgKzW kPMAoMQDFzXPC50+wY99ZqmiFHJaEjy+ =PC8m -----END PGP SIGNATURE-----
On Nov 17, 2009, at 12:18 PM, Martin Koryt?r wrote:> Hi, > > I send you the requested file. > > Martin Koryt?r > <small_vob>Thank you -- ffmpeg proper can't decode the video either, so neither will ffmpeg2theora. (Interestingly, though, both HandBrake and VLC are able to decode it, and they make use of libavcodec and libavformat from the FFmpeg project.) Anyway, I think it belongs on ffmpeg mailing lists instead. :)