voc / voctopublish

This repository contains a glue script that reads information from the C3TT and talks to voctoweb, youtube and twitter.
https://c3voc.de
GNU General Public License v3.0
8 stars 12 forks source link

Some thumbnails could not be regenerated during #10 #15

Open dedeibel opened 7 years ago

dedeibel commented 7 years ago

Not all thumbnails could be regenerated during #10 - it is a minor problem, since the old images were not deleted.

It should be investigated and fixed what the problem was.

In one case it is clear, the api has no correct poster image set, so the check-script could not find it.

In another case, there is no video file and therefore no thumbnail can be generated.

2016/12/21 16:17:34 image 'https://static.media.ccc.de/media/_new/conferences/froscon/2011/hs1_2_-_2011-08-20_12:45_-_software_freedom_means_business_value_-_simon_phipps_-_830.jpg' not found for 'Software Freedom Means Business Value' (https://api.media.ccc.de/public/events/323)
2016/12/21 16:17:34 image 'https://static.media.ccc.de/media/_new/conferences/froscon/2011/hs1_2_-_2011-08-20_12:45_-_software_freedom_means_business_value_-_simon_phipps_-_830_preview.jpg' not found for 'Software Freedom Means Business Value' (https://api.media.ccc.de/public/events/323)
2016/12/21 16:24:40 image 'https://static.media.ccc.de/media/_new/congress/2004/173 Closing Event.jpg' not found for 'Closing Event' (https://api.media.ccc.de/public/events/874)
2016/12/21 16:24:40 image 'https://static.media.ccc.de/media/_new/congress/2004/173 Closing Event_preview.jpg' not found for 'Closing Event' (https://api.media.ccc.de/public/events/874)
2016/12/21 16:29:13 image 'https://static.media.ccc.de/media/_new/conferences/mrmcd/mrmcd15/7080-sd.jpg' not found for 'RFC Reading' (https://api.media.ccc.de/public/events/2652)
2016/12/21 16:29:13 image 'https://static.media.ccc.de/media/_new/conferences/mrmcd/mrmcd15/7080-sd_preview.jpg' not found for 'RFC Reading' (https://api.media.ccc.de/public/events/2652)
derpeter commented 7 years ago

I'm not sure how this is related to this repo

dedeibel commented 7 years ago

I has to do with the data in media.ccc.de and creating the images, somewhere in between. In my opinion it would belong to a virtual "data consistency" project.

Could also be in voctoweb, sure.

derpeter commented 7 years ago

where is the realted code at the moment or where do you want it be in the future ?

derpeter commented 6 years ago

@dedeibel can you point me to the code which failed to generate the thumbs? Could this be related to #39 ?

dedeibel commented 6 years ago

The 20 second problem is not the problem in those cases. I looked at them and it seems like various kinds of problems.

Froscon 2011 Software Freedom

2016/12/21 16:17:34 image 'https://static.media.ccc.de/media/_new/conferences/froscon/2011/hs1_2_-_2011-08-20_12:45_-_software_freedom_means_business_value_-_simon_phipps_-_830.jpg' not found for 'Software Freedom Means Business Value' (https://api.media.ccc.de/public/events/323) 2016/12/21 16:17:34 image 'https://static.media.ccc.de/media/_new/conferences/froscon/2011/hs1_2_-_2011-08-20_12:45_-_software_freedom_means_business_value_-_simon_phipps_-_830_preview.jpg' not found for 'Software Freedom Means Business Value' (https://api.media.ccc.de/public/events/323)

→ The recording is 0 byte in this case. As referenced by https://api.media.ccc.de/public/recordings/535

https://cdn.media.ccc.de/events/froscon/2011/mp4/
../
hs1_2_-_2011-08-20_10:00_-_gnome_3_-_ein_blick_..> 26-Oct-2011 09:00           448206686
hs1_2_-_2011-08-20_11:15_-_from_zero_to_opensta..> 26-Oct-2011 09:05           442449688
hs1_2_-_2011-08-20_12:45_-_software_freedom_mea..> 26-Oct-2011 09:08                   0
hs1_2_-_2011-08-20_14:00_-_the_state_of_open_so..> 26-Oct-2011 09:12           448197261

The webm seems fine though. Delete the mp4 entry from media or "reconstruct" it from the webm?

Congress 2004 Closing

2016/12/21 16:24:40 image 'https://static.media.ccc.de/media/_new/congress/2004/173 Closing Event.jpg' not found for 'Closing Event' (https://api.media.ccc.de/public/events/874) 2016/12/21 16:24:40 image 'https://static.media.ccc.de/media/_new/congress/2004/173 Closing Event_preview.jpg' not found for 'Closing Event' (https://api.media.ccc.de/public/events/874)

→ The file can't be processed by the thumbnail script, but it is about 30 minutes long. Log: https://p.rrbone.net/paste/7C+8C6wc#egF+kx2jR4htHs-lsVzQVIB4rhVXI4WmgrdlfnvFMg3

MRMCD 2015 RFC Reading

2016/12/21 16:29:13 image 'https://static.media.ccc.de/media/_new/conferences/mrmcd/mrmcd15/7080-sd.jpg' not found for 'RFC Reading' (https://api.media.ccc.de/public/events/2652) 2016/12/21 16:29:13 image 'https://static.media.ccc.de/media/_new/conferences/mrmcd/mrmcd15/7080-sd_preview.jpg' not found for 'RFC Reading' (https://api.media.ccc.de/public/events/2652)

→ These are audio files only, there is no video file the preview could be rendered from. It is rare but no error as I know now.

Comment

As they are not directly related to the publishing script I can see why this issue might be closed. But any ideas on where to note these problems in our finished videos could be gathered would be nice. Maybe someone has the time and knowledge to fix them.

derpeter commented 6 years ago

for the publishing i ported the thumbnail code into the pubishing script. I would like to move the helper script to a different repository

Also i agree that we should have a place to keep track of open problems and would suggest to use the wiki for that

derpeter commented 6 years ago

@dedeibel can we close this or are you working on it?