LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Playing a video.avi XVID & MP3 encoded usb flash drive from Panasonic TV dvd-player (https://www.linuxquestions.org/questions/linux-general-1/playing-a-video-avi-xvid-and-mp3-encoded-usb-flash-drive-from-panasonic-tv-dvd-player-4175631671/)

ssenuta 06-10-2018 09:43 PM

Playing a video.avi XVID & MP3 encoded usb flash drive from Panasonic TV dvd-player
 
My video.avi files will play from the player's dvd-drive but not the vfat formated usb-stick drive. The player just displays "DATA USB" but not the actual video.avi files on the TV so I can select one for TV playback.

Here is how I encoded the video dvd to a video.avi file:

tccat -i /dev/sr0 -T 1,2-5,1 | ffmpeg -i - -c:v mpeg4 -c:a libmp3lame -vtag xvid -f avi -q:v 2 -q:a 5 SixDays.avi

tccat -i /dev/sr0 -T 1,2-5,1 | ffmpeg -i - -c:v mpeg4 -c:a libmp3lame -vtag DIVX -f avi -framerate 24000/1001 -q:v 2 -q:a 5 SixDays.avi

tccat -i /dev/sr0 -T 1,3-3,1 | ffmpeg -i - -y -map 0:0 -map 0:2 -c:v libxvid -vtag xvid -f avi -b:v 800k -aspect 4:3 -g 250 -c:a libmp3lame -ac 2 -ar 48000 -b:a 128k SixDays.avi

My dvd-player is a Pioneer Model DV-310-k purchased in YR2008 & it used to play video.avi files from a usb-stick before.

Thank You for reading this post --Stan

ondoho 06-10-2018 11:37 PM

do those videos work on the computer?
if it used to work before, what changed?

ssenuta 06-11-2018 07:13 AM

Video.avi on usb-stick TV playback
 
1 Attachment(s)
Yes, the video.avi files work on computer. The only thing I changed was the encoder. I now use ffmpeg instead of mencoder. However, when I copy an old video.avi created with mencoder to the usb-stick & try to play it on TV, it doesn't play either & I get the exactly same "DATA USB" message on the dvd-player & a empty TV display.

I have attached a screenshot of SixDays.avi being played on my computer in xine & the xine stream information.

Also, here is the info displayed when I execute ffmpeg -i SixDays3.avi in a console:

Input #0, avi, from 'SixDays3.avi':
Metadata:
encoder : Lavf57.71.100
Duration: 00:13:40.35, start: 0.000000, bitrate: 782 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (xvid / 0x64697678), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 640 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s
Attachment 27863At least one output file must be specified

ondoho 06-11-2018 11:41 PM

Quote:

Originally Posted by ssenuta (Post 5866162)
The only thing I changed was the encoder. I now use ffmpeg instead of mencoder. However, when I copy an old video.avi created with mencoder to the usb-stick & try to play it on TV, it doesn't play either & I get the exactly same "DATA USB" message on the dvd-player & a empty TV display.

that's weird.
something must be different now.
maybe you formatted the usb in a different way?
can you try with a different usb stick?

maybe the dvd player adds or looks for some hidden files? have you checked that?

in any case, also show us the old mencoder command.

ssenuta 06-12-2018 09:01 AM

Pioneer video player usb TV playback SOLVED
 
My Pioneer dvdplayer will not work with new uefi disklabel type "gpt" partitions.
It expects the old disklabel "dos" (type b W95 FAT32 partition formated with the FAT32 filesystem.

Here is how I created the old disklabel "dos" (TYPE b W95 FAT32 partition
fdisk /dev/sdc
o ..create a new empty dos partition
n ..make a new partition
p ..create a Primary partition
enter ..accept default (P1) primary partition
enter ..accept default (2048) first sector
enter ..accept default (entire disk) last sector
n ..no signiture removal
t ..change disk ID type
b ..create disk ID type W95 FAT32
W ..write the /dev/sdc usb partition

Here is the how fdisk partitioned my usb stick:
fdisk -l
Disk /dev/sdc: 1.9 GiB, 2003828736 bytes, 3913728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x15f298b2

Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 3913727 3911680 1.9G b W95 FAT32

Here is how I formated the usb-stick with a FAT32 filesystem:
mkfs.fat -v -F32 /dev/sdc1

My Pioneer dvdplayer now plays usb-stick video.avi files with ffmpeg -vtag: xvid DVIX DX50.

Thank you all for reading my post & your suggestions.
You were right as something did change. I started using the new UEFI boot process & GPT type partitions a few years ago & haven't played with video encoding for ages. I guess that "DATA USB" displayed by the dvdplayer was a hint.

Thanks again ..Stan

ondoho 06-12-2018 01:05 PM

good.
please mark your thread SOLVED.


All times are GMT -5. The time now is 02:38 AM.