Comments (7)
Hi Subtixx, does the new wrapper fixes this issue ?
from videostation-ffmpeg-patcher.
You wont believe but actually, YES it did :). dvvideo now works! Thank you very very much
from videostation-ffmpeg-patcher.
ffmpeg does handle interlaced video but I think VideoStation doesn't.
It's something I can probably look into if I have time, after all bugs are fixed. But if VideoStation doesn't support it natively (I mean without using the wrapper), it would be like adding a new feature to VideoStation and it's not really what the wrapper is meant to be.
I'd like to keep it simple and only have it acting like a pass-through to the SynoCommunity's ffmpeg, which is compiled with everything needed to encode/decode audio codecs that are supported, but have been explicitly denied by Synology.
Adding this kind of features to VideoStation is not an easy task, the ffmpeg args are statically generated by a function in libsynovte.so
and directly passed to the wrapper. I could catch some of these args or completely re-generate args by probing the video file but it requires a lot of time to spend on testing and debugging.
from videostation-ffmpeg-patcher.
Hm... interesting, could you provide me the following logs please:
ffmpeg-FFMxxxx.stderr
(containing chunks transcoding operations)
- Run the movie (let it play in background) and connect through SSH
- switch to root user
sudo -i
- When you run
ls -al /tmp | grep ffmpeg
you should see another file that looks likeffmpeg-FFMxxxx.stderr
- Type
tail -100 ffmpeg-FFMxxxx.stderr
(replacing the filename by the correct one) - Copy paste those lines in a new gist
- Type
head -300 ffmpeg-FFMxxxx.stderr
(replacing the filename by the correct one) - Copy paste those lines in another new gist
- Copy paste all the gists links in a new comment :)
from videostation-ffmpeg-patcher.
It wasn't possible for me to do tail-100 nor head -300 because the file is gone in 1-2 seconds. BUT I managed to grab it one time using WinSCP by reloading really fast.
https://gist.github.com/Subtixx/2fdae61bab6c66721b34a517a80356dd
EDIT:
Can confirm, files in /tmp/VideoStation/XXXX/*.ts only contain sound.
No idea if helpful (video_metadata from the tmp folder):
{"bitrate":29946453,"container_type":"avi","device":"","duration":31,"filesize":"117240364","hls_header":true,"path":"/volume1/Videos/1999/Europa Park/Europa Park'19990724 17.16.14.avi","profile_key":"mpegts_hd720_x264_vb4500_mp3_ab128","profile_value":"-threads 0 -vcodec libx264 -vsync 2 -preset superfast -vprofile baseline -level 30 -s hd720 -vb 4500k -acodec libmp3lame -ab 128k -ac 2 -f ssegment","start_time":0,"track_info":{"audio":[{"bitrate":1024000,"channel":2,"channel_layout":"2 channels","codec":"pcm_s16le","codec_raw":"pcm_s16le","frequency":32000,"id":"1","is_default":false,"language":"","profile":"","sample_rate":32000,"streamid":1,"track":"1"}],"subtitle":[],"video":[{"bitrate":28836829,"codec":"dvvideo","codec_raw":"dvvideo","codec_tag":"dvsd","display_x":768,"display_y":576,"framerate":25,"framerate_den":1,"framerate_num":25,"id":"0","language":"","level":0,"pix_fmt":"yuv420p","profile":"","resolutionx":720,"resolutiony":576,"rotate":0,"sample_aspect_ratio_den":15,"sample_aspect_ratio_num":16,"track":"0"}]},"use_pre_analysis":true}
EDIT2:
Converting it manually with the community ffmpeg to mp4 / h264 gives me a picture.
from videostation-ffmpeg-patcher.
Really interesting, thanks for the investigations, I suppose it is related to the video codec, ffmpeg gives a warning about it:
[swscaler @ 0x8fcb20] deprecated pixel format used, make sure you did set range correctly
The wrapper may handle it badly. As I'm currently re-writing the wrapper in #33, if for now, you're okay with manually converting this video codec, I'll come back to you once it is merged so we can try again and see if it's fixed or not.
from videostation-ffmpeg-patcher.
Ok thanks, would be great. A pain to have two copies of each video but oh well.
Also I noticed VideoStation / ffmpeg cannot handle interlaced video. Is that something you could look into aswell?
from videostation-ffmpeg-patcher.
Related Issues (20)
- [BUG] cant install v2.5 HOT 4
- [BUG] offline trancoding fail After 2.5 HOT 6
- [BUG] can't update with 2.6 from 2.0 HOT 11
- [BUG] HEVC+AAC_LC and H264+EAC3 videos don't play after patching HOT 17
- Can't create any thumbnail of new video. HOT 3
- Unsupported format HOT 2
- Successfully patched. But DTS videos not playing through Video Center in browser. HOT 10
- [QA] Download motd.txt error HOT 5
- [BUG] failure writing output to destination HOT 3
- [QA] Error on patching ffmpeg HOT 5
- [QA] DS Video and ffmpeg HOT 2
- [BUG] No sound on at least two movies HOT 16
- [QA] Restore AAC Support for Audio Station HOT 2
- [QA] Could the process of installing/uninstalling this patcher break Synology Application Service? HOT 3
- [BUG] Specific video will not play HOT 5
- wrong aspect ratio in dsvideo HOT 5
- I still can't play dts when I use 920 + update6 42962.video station version is 3.0.7-2512 .I've already tried ffmpeg4 5 6.Play or spin in circles
- [XPenology] Enable iGPU / Hardware transcoding HOT 4
- [BUG] Restarting VideoStation during indexing can break VideoStation's movie database
- [QA] DS923+ and Transcoding Videos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videostation-ffmpeg-patcher.