As some background, I have compiled ffmpeg2dirac 0.1.0 a couple of
different ways: First by using the included get_ffmpeg_svn.sh to get
the recommended version of ffmpeg, and also obtaining FFmpeg 0.5
"half-way to world domination A.K.A. the belligerent blue bike shed"
and using that. I had the same experience in both cases: When using
VLC 0.9.9a, test1.ogv has working audio, but garbled video while
test2.ogv has garbled audio and no video. In comparison, when I run
these .mpg files through ffmpeg2theora they are fine (so ffmpeg is
definitely capable of decoding these) but I am not sure what
ffmpeg2dirac is doing differently.

I assume it's a problem with ffmpeg2dirac, and not VLC 0.9.9a because:
1. Gnome's Totem Movie Player 2.24.3 gives me the same issues.
2. VLC able to play this test video without issue:
http://diracvideo.org/download/test-streams/ogg/sage-640x360.ogg

Input and output files are available here (the "_theora" files are the
ones produced by ffmpeg2theora.)
http://aws.bluehome.net/test1.mpg [2.0 MB]
http://aws.bluehome.net/test1.ogv [683 KB]
http://aws.bluehome.net/test1_theora.ogv [582 KB]

http://aws.bluehome.net/test2.mpg [11.8 MB]
http://aws.bluehome.net/test2.ogv [5.3MB]
http://aws.bluehome.net/test2_theora.ogv [7.0 MB]

The commands I ran and output shown:

ja...@pc:~$ ffmpeg2dirac test1.mpg;ffmpeg2dirac test2.mpg
Input #0, mpeg, from 'test1.mpg':
  Duration: 00:00:05.98, start: 0.322944, bitrate: 2863 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 528x480 [PAR 40:33
DAR 4:3], 8200 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
  Pixel Aspect Ratio: 1.21/1   Frame Aspect Ratio: 1.33/1
  Resize: 528x480
Using Dirac encoder for video
      0:00:06.01 audio: 68kbps video: 879kbps, time elapsed: 00:00:25
Input #0, mpeg, from 'test2.mpg':
  Duration: N/A, start: 0.112000, bitrate: N/A
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1
DAR 16:9], 38810 kb/s, 59.92 tbr, 90k tbn, 119.88 tbc
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
  Pixel Aspect Ratio: 1.00/1   Frame Aspect Ratio: 1.78/1
  Resize: 1280x720
Using Dirac encoder for video
      0:00:07.04 audio: 92kbps video: 6390kbps, time elapsed: 00:03:24


ja...@pc:~$ ffmpeg2theora -o test1_theora.ogv test1.mpg;ffmpeg2theora
-o test2_theora.ogv test2.mpg
Input #0, mpeg, from 'test1.mpg':
  Duration: 00:00:05.98, start: 0.322944, bitrate: 2863 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 528x480 [PAR 40:33
DAR 4:3], 8200 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
  Pixel Aspect Ratio: 1.21/1   Frame Aspect Ratio: 1.33/1
  Resize: 528x480
      0:00:06.01 audio: 72kbps video: 726kbps, time elapsed: 00:00:03
Input #0, mpeg, from 'test2.mpg':
  Duration: N/A, start: 0.112000, bitrate: N/A
    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1280x720 [PAR 1:1
DAR 16:9], 38810 kb/s, 59.92 tbr, 90k tbn, 119.88 tbc
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
  Pixel Aspect Ratio: 1.00/1   Frame Aspect Ratio: nan/1
  Resize: 1280x720
      0:00:07.04 audio: 294kbps video: 8249kbps, time elapsed: 00:00:30

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Schrodinger-devel mailing list
Schrodinger-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to