Transcode not working

dan_99

Joined: 2010-03-10
Posts: 13
Posted: Sat, 2010-03-13 05:13

The transcode plugin isn't working for me. I downloaded and am using the latest updates from supersidr's site. The weird thing is that I uploaded via web browser a couple of small WMV clips and it did work, converted to FLV and play fine in the Flash player. Then I tried importing a bunch of larger WMV files from local server and then transcoded them manually using 'Edit Movie' ----> Transcode - i get the progress bar and then it just redirects to a complete blank white page. If i set it to 'transcode' upon request, the Flash player loads with the thumbnail of the video but I click play and nothing happens.

Weird how it did work on small WMV clips i uploaded via my browser off my hard drive and now that doesn't even work when I try to repeat the same thing.

thanks for any advice

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2010-03-13 12:59

Did you install the accompanying ffmeg module from mysite as well?
When you say larger, how large?

Any clues in your server's error logs?

wmv like Microsoft's other proprietary products simply doesn't play well with others (IE anyone?)

You can create an account on mysite and try transcoding one of your wmv's there in your user album.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Sun, 2010-03-14 05:05

hi, yes i downloaded the ffmpeg module and transcode module from your site and replaced the old ffmpeg folder with yours.

i've managed to get it to transcode FLV's with small WMV files, small as in about 1 MB, 4MB WMV's no luck - and the WMV's i wanted to import into Gallery2 are much larger, 50MB and some larger. I am using the upload using local server and selecting to transcode later, which I do, it's doing something, it produces the Flash player with the thumbnail in the Flash player but the FLV doesn't play, I click the Play button, the screen goes white and rapidly the blue progress bar goes across the player . No matter how long I wait. Where in Gallery2's directory do transcoded FLV's get stored?

looking in the source of the HTML page of the transcoded FLV

<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://www.mysite.com/modules/flashvideo/lib/G2flv.swf", "IFid2", "100%", "100%", "9.0.28.0", "ffffff");
so.addParam("flashVars","flvUrl=http%3A%2F%2Fwww.mysite.com%2Fd%2F92806-1%2F5_chunk_1.flv%3Fg2_GALLERYSID%3Dda60c6a6f55df8292038981d9964d913&Width=0&Height=0&title=5_chunk_1&thumbUrl=http%3A%2F%2Fwww.mysite.com%2Fd%2F92804-2%2F5_chunk_1.jpg%3Fg2_GALLERYSID%3Dda60c6a6f55df8292038981d9964d913&langDownload=Download&langFullscreen=Fullscreen&langNormal=Normal&langPlay=Play&langPause=Pause&langForward=Forward&langRewind=Rewind&langMute=Mute&langUnmute=Unmute&langShare=Share");
so.useExpressInstall("http://www.mysite.com/modules/flashvideo/lib/expressinstall.swf");
so.addParam("allowScriptAccess","always");
so.addParam("allowFullScreen","true");
so.write("soContent");
// ]]>
</script>

thanks

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Sun, 2010-03-14 05:49

uploaded and transcoded a 65MB WMV file on your site and it worked fine - now to figure out what's wrong with my Gallery2 or my server. i'm not much of a techie so i'm not going to be able to do much troubleshooting on my own. Where should I look for any information that might lead me in the right direction?

one difference on yours is that when I am on the Transcode screen it tells me audio might be missing but on the small files i did successfully transcode to FLV's sound was fine.

thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-03-14 06:20

Are you on a shared host?
Can you transcode from commandline?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Sun, 2010-03-14 07:04

no i'm on a dedicated server - i don't know how to use commandline :(

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-03-14 17:53

if you have shell access to your server try executing:
ffmpeg -y -i full_path_to_input.wmv -r 23.98 -ab 96k -ar 44100 -b 1200k full_path_to_output.flv

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Mon, 2010-03-15 04:08

ok thanks i'll try that

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Mon, 2010-03-15 05:28

i tried that and it works fine from shell

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-03-15 11:50

And the resulting video is playable?
and this test was one of the large videos that was failing before?
was there any output from ffmpeg?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Mon, 2010-03-15 12:13

yes the resulting video is playable and it's one of the large videos that fails when I try to transcode from within Gallery2.

output from ffmpeg? where would I see that?

i have my web host increase the upload size and time limits on the advice of a friend - didn't help. i still can't upload a WMV video from my hard drive or my web server to Gallery2 and then use Transcode to get an FLV version.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-03-15 13:42

Do other filetypes transcode properly?

you'll have to check error-logs both for the server and the site, and enable debug in G2 http://codex.gallery2.org/Gallery2:FAQ#How_to_set.2Fuse_Gallery_in_debug_mode.3F

without any feedback I'm out of guesses.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Sat, 2010-03-20 22:41

hi, i had a programmer try to troubleshoot the problem with Transcode today, he gave it a good shot but he couldn't figure out the problem. He also installed Gallery2 on his own server, downloaded your files off Flashyourweb and had the same problems I'm having on my server.

he left me two debug files http://www.bratcash.com/debug2.html and http://www.bratcash.com/debug3.html

my server is running php4 but he checked out the documentation here and didn't think that was the problem.

thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2010-03-20 22:56
 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Sun, 2010-03-21 16:24
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2010-03-21 18:37

the error output:

Quote:
[wmv3 @ 0x806c810]Extra data: 8 bits left, value: 0
Seems stream 1 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 29.97 (30000/1001)
Input #0, asf, from
'/usr/www/virtual/johnpink/drive2/content.bratcash.com/g2data/albums/10_002.wmv':
Duration: 00:09:16.89, start: 5.000000, bitrate: 1668 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, stereo, s16, 64 kb/s
Stream #0.1: Video: wmv3, yuv420p, 320x240, 1581 kb/s, 29.97 tbr, 1k
tbn, 1k tbc
At least one output file must be specified
Status: 1 (expected 0)

Quote:
FFmpeg version 0.5

Something must have changed from 0.4x to 0.5x, seems there was a message left in my comments on mysite about this.
But I could not find any documentation on the new command format.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Mon, 2010-03-22 23:18

any suggestions on what I should do? should I get my hosting company to roll back to ffmpeg 0.4? if so, is there anything I need to do myself with Gallery2?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2010-03-22 23:52

Actually I was remembering you saying it worked fine on smaller files.
Do you get the same error output I quoted above for the small successful files you transcode?

the ffmpeg module is expecting no feedback at all.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-03-23 00:35

With the right access to your server and G2 I'm sure I could get this working.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
dan_99

Joined: 2010-03-10
Posts: 13
Posted: Tue, 2010-03-23 17:48

do you have an email address i can contact you at? thanks.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-03-23 20:41