For few days I'd been playing around with media_mover.module. Managed to get files converted as what I'd configured. I have a 2 problems tho.

1) how can I get my converted files (.flv for my case) saved in the folder that I'd configured in my content-type settings? by current default, it is saved in 'sites/default/files/media_mover/ffmpeg/converted/1'. what I wanted and already configured is to have it in 'sites/videos/1'.

2) everytime when I create a video node, after uploading, instead of redirecting to my node page, I'll be shown with this on my browser screen. no image, no template, no other things.. just these text:

stdClass Object ( [nid] => 61 [type] => video [language] => [uid] => 1 [status] => 1 [created] => 1256282005 [changed] => 1256282005 [comment] => 2 [promote] => 1 [moderate] => 0 [sticky] => 0 [tnid] => 0 [translate] => 0 [vid] => 61 [revision_uid] => 1 [title] => Dance Video [body] => [teaser] => [log] => [revision_timestamp] => 1256282005 [format] => 0 [name] => drupaladmin [picture] => [data] => a:0:{} [field_video] => Array ( [0] => Array ( [fid] => 80 [list] => 1 [data] => Array ( [duration] => 33.111 [height] => 240 [width] => 320 [audio_bitrate_mode] => cbr [audio_channel_mode] => stereo [audio_format] => wma [audio_bitrate] => 65649 [audio_sample_rate] => 44100 [process] => 1 ) [filename] => DanceVideo.wmv [filepath] => sites/default/files/DanceVideo.wmv [filemime] => video/x-ms-wmv [source] => field_video_0 [destination] => sites/default/files/DanceVideo.wmv [filesize] => 1222278 [field] => Array ( [field_name] => field_video [type_name] => video [display_settings] => Array ( [weight] => -4 [parent] => [label] => Array ( [format] => hidden ) [teaser] => Array ( [format] => default [exclude] => 0 ) [full] => Array ( [format] => swftools_no_file [exclude] => 0 ) [4] => Array ( [format] => default [exclude] => 0 ) [token] => Array ( [format] => default [exclude] => 0 ) ) [widget_active] => 1 [type] => filefield [required] => 1 [multiple] => 0 [db_storage] => 1 [module] => filefield [active] => 1 [locked] => 0 [columns] => Array ( [fid] => Array ( [type] => int [not null] => [views] => 1 ) [list] => Array ( [type] => int [size] => tiny [not null] => [views] => 1 ) [data] => Array ( [type] => text [serialize] => 1 [views] => 1 ) ) [list_field] => 0 [list_default] => 1 [description_field] => 0 [widget] => Array ( [file_extensions] => mp4 mov avi flv wmv [file_path] => [progress_indicator] => bar [max_filesize_per_file] => [max_filesize_per_node] => [label] => Video [weight] => -4 [description] => [type] => filefield_widget [module] => filefield ) ) [uid] => 1 [status] => 1 [timestamp] => 1256282003 [origname] => [filefield_upload] => Upload [filefield_remove] => Remove [upload] => ) ) [og_groups_both] => Array ( ) [og_groups] => Array ( ) [user_relationship_node_access] => [last_comment_timestamp] => 1256282005 [last_comment_name] => [comment_count] => 0 [taxonomy] => Array ( ) ) Array ( [field_name] => field_video [type_name] => video [display_settings] => Array ( [weight] => -4 [parent] => [label] => Array ( [format] => hidden ) [teaser] => Array ( [format] => default [exclude] => 0 ) [full] => Array ( [format] => swftools_no_file [exclude] => 0 ) [4] => Array ( [format] => default [exclude] => 0 ) [token] => Array ( [format] => default [exclude] => 0 ) ) [widget_active] => 1 [type] => filefield [required] => 1 [multiple] => 0 [db_storage] => 1 [module] => filefield [active] => 1 [locked] => 0 [columns] => Array ( [fid] => Array ( [type] => int [not null] => [views] => 1 ) [list] => Array ( [type] => int [size] => tiny [not null] => [views] => 1 ) [data] => Array ( [type] => text [serialize] => 1 [views] => 1 ) ) [list_field] => 0 [list_default] => 1 [description_field] => 0 [widget] => Array ( [file_extensions] => mp4 mov avi flv wmv [file_path] => [progress_indicator] => bar [max_filesize_per_file] => [max_filesize_per_node] => [label] => Video [weight] => -4 [description] => [type] => filefield_widget [module] => filefield ) )

CommentFileSizeAuthor
#7 1.gif6.95 KBsadist
#7 2.gif14.39 KBsadist
#2 screen10.jpg661.49 KBleenyx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sadist’s picture

Is it only me having this problem? I'd tried with almost all known web browsers. IE6/7, Firefox, Chrome, Safari and Opera. And server I'm using is VPS, Cpanel on Apache.

leenyx’s picture

FileSize
661.49 KB

I've got the same issue but I don't have a solution.

Anyone's work out a solution for this yet?

I am using flvmediaplayer, xspf_playlists and Media_mover to collect files from the attach_file form and display as videos in the node.

Am I doing something wrong with the set up?

I have two configs, one collects the video, converts to flv and attach the video it back to the node. The second config is for thumbnails, it actually creates too many thumbnails instead of just one.

leenyx’s picture

Title: I got config infos right after hitting 'Save' button instead of redirecting to Node page » I have isolated the problem here to the use of the thumbnails extension/module

When I disable the thumbnail configuration everything gets back to normal. Has anyone tested a configuration with thumbnails?

arthurf’s picture

Let's start with #2:

2) everytime when I create a video node, after uploading, instead of redirecting to my node page, I'll be shown with this on my browser screen. no image, no template, no other things.. just these text:

If you're using mm_cck, it looks like I left some debugging code in. I've removed this. Can you give the dev version a try?

sadist’s picture

i'd tested the dev version. though there're still some errors, but i don't see the debugging code anymore. here are some details that i did.

i setup a configurations, to make sure that file is being harvested from CCK > convert it to flv > bypass storage > upon completion, replace original file and delete source material.

1) there're no thumbnails created at all.
2) i don't see FFMPEG THUMBNAIL CREATION settings anymore at configurations (only when first time ADD CONFIG, but not when editing)
3) i have no problem with custom command. but when i insert the flvtool2, it encodes.
a: node are still playing the source file which is not deleted.
b: when i checked the folder 'sites/default/files/media_mover/ffmpeg/converted/[ConfigID]', the encoded flv file is there.
c: checked 'admin/build/media_mover/config/[ConfigID]/files', status of that file is Error.
d: try playing that file. there's controlbar but some metadata infos are not injected. e.g. i can't play it in fullscreen. so i guess, it just did it halfway.

btw: i repeated all process few times.

arthurf’s picture

Ok- I'm not quite sure I understand what's happening for you, but let me walk through your comment. Sorry if some of this is not helpful- I'm not sure if I understand the issue you're having completely.

i setup a configurations, to make sure that file is being harvested from CCK > convert it to flv > bypass storage > upon completion, replace original file and delete source material.

1) there're no thumbnails created at all.

According to your description, I'm not sure that you should be expecting a thumbnail at all- you would need to set up an additional configuration.

2) i don't see FFMPEG THUMBNAIL CREATION settings anymore at configurations (only when first time ADD CONFIG, but not when editing)

This should only appear if you create a configuration with the "create thumbnail from video" as your process option.

3) i have no problem with custom command. but when i insert the flvtool2, it encodes.
a: node are still playing the source file which is not deleted.

Sounds like this an issue with xspf with why the file is not being played. If the file is not status "complete" xspf will not provide this file.

So we have to figure out why the file is not being finished correctly. I'm wondering if you're still having issues with the flvtool2 module. Are there are any errors in your logs? Have you considered using the mm_flvtool2 module to do the injection?

sadist’s picture

FileSize
14.39 KB
6.95 KB

ok for the thumbnails, i have to add another configuration specially for creating thumbnail? i did that and it's creating 3 duplicate jpg files. 2 files in 'sites/default/files' directory and 1 more in the thumbnails config folder. i can't have the 'Delete source material' option on or else it the next configuration won't be able to do the conversion.

i'm still having problem with my flvtool2 but can't install install the mm_flvtool2.module. it requires Flvtool2_api which i can't find it anywhere. and i think there's problem with mm_flvtool2.inc at CVS?

> Sounds like this an issue with xspf with why the file is not being played. If the file is not status "complete" xspf will not provide this file.

i'm not sure what does that means but the i'm sure the file is not being converted completely, tho it does provide controlbar and i can play the video till end. the source file is not being deleted (which it's supposed to) and the node is playing the source file instead of the converted one.

but i can confirm that the file is status Error.