Hi Adam,
Thank you so very much! You were right the space was causing the issue. I
corrected it and it worked smoothly ever after! Thanks a lot!

Best,
Mohit


On Thu, Jan 31, 2013 at 3:44 PM, mohit shah <mohit0...@gmail.com> wrote:

> Thanks Adam! I will try this and see. Again, thank you for going over it.
>
>
> On Thu, Jan 31, 2013 at 2:16 PM, McKenzie, Adam <adam.mcken...@usask.ca>wrote:
>
>>  Hi Mohit,
>>
>> Taking a second look at your log I noticed this line:
>> 2013-01-31 08:23:05  INFO (AbstractCmdlineEncoderEngine:233) - Executing
>> encoding command: ffmpeg -i /opt/matterhorn/content
>> /workspace/mediapackage/660/track-3/audio_out.mp3 -i
>> /opt/matterhorn/content /workspace/mediapackage/660/track-2/camera_out.mpg
>> -sameq -shortest -strict unofficial /opt/matterhorn/content
>> /workspace/mediapackage/660/track-2/camera_out_48efa712-d7cb-436b-9aa0-381217d347d2-work.mpg
>>
>>
>> It looks like there is a space after your storage directory location. In
>> your /opt/matterhorn/felix/conf/config.properties file can you find the
>> line with:
>> org.opencastproject.storage.dir=/opt/matterhorn/content
>>
>> I am guessing that there is a space after the word content that is then
>> being used to make the paths for ffmpeg that is causing your grief since it
>> is not being removed properly.
>>
>> Thanks,
>>
>> Adam
>>
>>    Adam McKenzie**
>> *    Programmer Analyst
>> *
>>     Applications, Information and Communications Technology
>>      Ph: (306) 966-8241
>>
>>     [image: Description: Description: Description: Description:
>> cid:image002.png@01CCD52C.EA7400D0] <http://www.usask.ca/>
>>    ------------------------------
>> *From:* matterhorn-users-boun...@opencastproject.org [
>> matterhorn-users-boun...@opencastproject.org] on behalf of mohit shah [
>> mohit0...@gmail.com]
>> *Sent:* Thursday, January 31, 2013 1:02 PM
>> *To:* Matterhorn Users
>> *Subject:* Re: [Matterhorn-users] Problem with Post Processing on Core
>> running on Ubuntu 10.04.4 LTS - HELP!
>>
>>   Hi Adam,
>>
>>  By running the command you gave me, I do not get any findings of the
>> word 'inofficial'. I got two findings for 'unofficial' though. Please can
>> you tell me what could be the issue? Thanks for your help.
>>
>>
>> On Thu, Jan 31, 2013 at 1:57 PM, McKenzie, Adam 
>> <adam.mcken...@usask.ca>wrote:
>>
>>>  Hi Mohit,
>>>
>>> Looking at the logs my guess is that 10.04 is running an old version of
>>> ffmpeg before they corrected their spelling from "inofficial" to
>>> "unofficial". To check this on your system could you run:
>>>
>>> ffmpeg -h | grep inofficial
>>> and
>>> ffmpeg -h | grep unofficial
>>>
>>> If the inoffcial line is found in the ffmpeg help you can fix the
>>> problem by running the following bash script in the encoding configuration
>>> files directory in /opt/matterhorn/felix/conf/encoding/:
>>>
>>> #!/bin/bash
>>>  for file <http://www.php.net/file> in $(find . -type f -name
>>> '*\.properties')
>>> do
>>> cat $file |sed "s/unofficial/inofficial/g" > $file.new
>>> mv $file.new $file
>>> done
>>>
>>> Cheers,
>>> Adam
>>>
>>>    Adam McKenzie**
>>> *    Programmer Analyst
>>> *
>>>     Applications, Information and Communications Technology
>>>      Ph: (306) 966-8241
>>>
>>>     [image: Description: Description: Description: Description:
>>> cid:image002.png@01CCD52C.EA7400D0] <http://www.usask.ca/>
>>>    ------------------------------
>>> *From:* matterhorn-users-boun...@opencastproject.org [
>>> matterhorn-users-boun...@opencastproject.org] on behalf of mohit shah [
>>> mohit0...@gmail.com]
>>> *Sent:* Thursday, January 31, 2013 10:32 AM
>>> *To:* Opencast Matterhorn; Matterhorn-users@opencastproject.org
>>> *Subject:* [Matterhorn-users] Problem with Post Processing on Core
>>> running on Ubuntu 10.04.4 LTS - HELP!
>>>
>>>    Hi,
>>>
>>>  I have the following settings for my Matterhorn system 1.3.1 :
>>>
>>>  *Core: Setup on Ubuntu 10.04.4 LTS (works ok)*
>>> *Capture Agent Setup on: Ubuntu 11.10 (works ok)*
>>>
>>>  However, when I am capturing a video (.mpg) using my capture agent, it
>>> does the capture properly there is no problem at all. However, while
>>> transcoding the video after the caputre, there is something going wrong on
>>> the core due to which my transcoding steps fail. I have provided a link to
>>> my "opencast.log" file on the core and it looks like there is an issue with
>>> the encoder while it is trying to post-process the ingested capture.
>>>
>>>  Link to opencast log file: https://gist.github.com/4684123
>>>
>>>  Please help me with what can be done since I am working on this issue
>>> since few days now and have not been able to figure out what the real issue
>>> is.
>>>
>>>  I have used the exact "same" configuration for MOCK_SCREEN,
>>> MOCK_MICROPHONE and MOCK_CAMERA capture devices and using the same input
>>> source files as your samples namely "camera-1.0.mpg" and so on.
>>>
>>> _______________________________________________
>>> Matterhorn-users mailing list
>>> Matterhorn-users@opencastproject.org
>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>>
>>>
>>
>>
>>  --
>> Best Regards,
>> Mohit Shah
>> Graduate Research Assistant
>> Dept. of Electrical & Computer Engineering
>> North Carolina State University
>> Profile*: 
>> **https://sites.google.com/site/mohitshah0316/*<https://sites.google.com/site/mohitshah0316/>
>>
>> _______________________________________________
>> Matterhorn-users mailing list
>> Matterhorn-users@opencastproject.org
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>>
>>
>
>
> --
> Best Regards,
> Mohit Shah
> Graduate Research Assistant
> Dept. of Electrical & Computer Engineering
> North Carolina State University
> Profile*: 
> **https://sites.google.com/site/mohitshah0316/*<https://sites.google.com/site/mohitshah0316/>
>



-- 
Best Regards,
Mohit Shah
Graduate Research Assistant
Dept. of Electrical & Computer Engineering
North Carolina State University
Profile*: 
**https://sites.google.com/site/mohitshah0316/*<https://sites.google.com/site/mohitshah0316/>
_______________________________________________
Matterhorn-users mailing list
Matterhorn-users@opencastproject.org
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to